2 Replies Latest reply: Jul 10, 2013 8:38 PM by Jsavit-Oracle RSS

    Q:Creating Solaris 11.1 zone inside Solaris 11.1 LDOM fails

    Andy Tael-Oracle
      Hello,
      I have a server where I've created a LDOM and I'd like to create zones inside that LDOMs and it isn't working at all for me. If I try to create a zone outside of my LDOM it works perfectly fine. What am I missing here?
      Control domain: host-22
      LDOM hostname is host-40.
      Zone name is wls-zone.
      OS: Solaris 11.1
      Server: T5220
      Some information from the SP:
      ============================ FW Version ============================
      Version
      ------------------------------------------------------------
      Sun System Firmware 7.4.4.f 2012/09/07 17:21
      
      ====================== System PROM revisions =======================
      Version
      ------------------------------------------------------------
      OBP 4.33.6.a 2012/03/29 11:22
      I am trying this when I am creating the zone and I get an error message when I am trying to boot the zone, which I don't know the solution or how to debug. AFAIK, in Solaris 11.1, the VNIC should be created automatically when creating the zone (as it does on a bare metal machine without LDOMs)?
      root@host-40:~# zoneadm -z wls-zone boot
      
      zone 'wls-zone': failed to create vnic for net0: operation failed
      zoneadm: zone 'wls-zone': call to zoneadmd failed
      The zone is very simple:
      root@host-40:~# zonecfg -z wls-zone info
      zonename: wls-zone
      zonepath: /rpool/zones/wls-zone
      brand: solaris
      autoboot: true
      bootargs: -m verbose
      file-mac-profile: 
      pool: 
      limitpriv: 
      scheduling-class: 
      ip-type: exclusive
      hostid: 
      fs-allowed: 
      anet:
           linkname: net0
           lower-link: auto
           allowed-address not specified
           configure-allowed-address: true
           defrouter not specified
           allowed-dhcp-cids not specified
           link-protection: mac-nospoof
           mac-address: random
           mac-prefix not specified
           mac-slot not specified
           vlan-id not specified
           priority not specified
           rxrings not specified
           txrings not specified
           mtu not specified
           maxbw not specified
           rxfanout not specified
           vsi-typeid not specified
           vsi-vers not specified
           vsi-mgrid not specified
           etsbw-lcl not specified
           cos not specified
           pkey not specified
           linkmode not specified
      Some more information executed inside the LDOM:
      root@host-40:~# dladm show-phys
      LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
      net0              Ethernet             up         0      unknown   vnet0
      root@host-40:~# dladm show-link
      LINK                CLASS     MTU    STATE    OVER
      net0                phys      1500   up       --
      And even more information from the control domain (host-22):
      root@host-22:~# ldm list-services
      VCC
          NAME             LDOM             PORT-RANGE
          primary-vcc0     primary          5000-5100
      
      VSW
          NAME             LDOM             MAC               NET-DEV   ID   DEVICE     LINKPROP   DEFAULT-VLAN-ID PVID VID                  MTU   MODE   INTER-VNET-LINK
          primary-vsw0     primary          00:14:4f:fb:93:c6 net0      0    switch@0              1               1                         1500         on         
          primary-vsw1     primary          00:14:4f:f8:bb:62 net1      1    switch@1              1               1                         1500         on         
      
      VDS
          NAME             LDOM             VOLUME         OPTIONS          MPGROUP        DEVICE
          primary-vds0     primary          vol1                                           /dev/zvol/dsk/dpool/ldoms/ldmdev/disk_image
                                            vol2                                           /dev/zvol/dsk/dpool/ldoms/ldmprod/disk_image
      root@host-22:~# dladm show-phys
      LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
      net1              Ethernet             up         1000   full      e1000g1
      net2              Ethernet             unknown    0      unknown   e1000g2
      net0              Ethernet             up         1000   full      e1000g0
      net3              Ethernet             unknown    0      unknown   e1000g3
      net4              Ethernet             up         1000   full      vsw0
      net5              Ethernet             up         1000   full      vsw1
      Any ideas what could be wrong?

      Thanks,
      Andy

      Edited by: A Tael on Nov 13, 2012 9:54 PM