Home Man
Today's Posts

The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Can not use zone in LDoms on T4-1

ldom, solaris, sparc, zone

Login to Reply

Thread Tools Search this Thread
# 1  
Old 07-21-2013
Question Can not use zone in LDoms on T4-1

I have a T4-1 with Solaris 11.1, LDom ver and I'm encountering two problems with zones.

I'd greatly appreciate help on these, especially the first one.

I have created multiple guest LDoms, all Solaris 11.1, and they all work fine.

The first problem is that I can not boot any zone I create in a guest LDom, the zone installs fine but I get error when trying to boot it, complains it can not create vnic. I get the same error when trying to boot a zone in any guest LDom.
# zoneadm -z tzone1 boot 
zone 'tzone1' failed to create vnic for net0: operation failed 
zoneadm: zone 'tzone1': call to zoneadmd failed

I tried
root@ldm1:/root# dladm create-vnic -l net0 vnic1

but that didn't work, it complained:
dladm: vnic creation over net0 failed, operation failed.

The second problem is that when I try to create a zone on the primary LDom of this machine, I get an error when installing the zone
primary# zoneadm -z tzone3 install
The following ZFS file system(s) have been created:
Progress being logged to /var/log/zones/zoneadm.20130722T004401Z.tzone3.install
       Image: Preparing at /data/zones/tzone3/root.
 AI Manifest: /tmp/manifest.xml.RgaW.n
  SC Profile: /usr/share/auto_install/sc_profiles/enable_sci.xml
    Zonename: tzone3
Installation: Starting ...
              Creating IPS image
Startup linked: 1/1 done
              Installing packages from:
                      origin: http pkg.oracle.com solaris release
              Error occurred during execution of 'generated-transfer-7170-1' checkpoint.
              Failed Checkpoints:
              Checkpoint execution error:
                The following pattern(s) did not match any allowable packages.  Try
                using a different matching pattern, or refreshing publisher information:
Installation: Failed.  See install log at /system/volatile/install.7170/install_log
ERROR: auto-install failed.

I get the same error for all zones that I tried to create on the primary LDom.

This is the first time I'm working with a sun4v, I had earlier created zones with Solaris 10 on sun4u without any problem.

I don't plan to use zones on the primary, so that's not a pressing issue, just I'm not sure if the problems are related.

What am I doing wrong?

Thanks for your help.
# 2  
Old 07-22-2013
Quick question...what does your dladm show-phys show? Also did you ipadm ip-create the interface?
# 3  
Old 07-22-2013
in the guest ldom,
# dladm show-phys
LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
net0              Ethernet             up         0      unknown   vnet0

and no, I did not use ipadm to create the interface
# 4  
Old 07-29-2013
dladm create-vnic -l vnet0 vnic0

On the other issue....do a pkg publisher and see if you are connecting to the oracle package manager. Also you can try to ping oracle. If not then create your own pkg publisher. There are steps on how to do this online.
# 5  
Old 08-02-2013
I had tried the create-vnic and it doesn't work:

root@ldm1:/tmp# dladm create-vnic -l vnet0 vnic0
dladm: invalid lower link name 'vnet0'
root@ldm1:/tmp# dladm create-vnic -l net0 vnic0
dladm: vnic creation over net0 failed: operation failed

On the other issue, in the primary ldom
# pkg publisher
solaris                     origin   online F http: // pkg . oracle . com /solaris/release/

I noticed another very interesting situation and suspect it could be related: on the primay ldom, simple package searches like
# pkg search /usr/bin/pkg

returns nothing and exits with code 1; even though I can successfully run
wget pkg.oracle.com

btw, the exact same search returns the expected
# pkg search /usr/bin/pkg
path       file   usr/bin/pkg pkg:/package/pkg@0.5.11-

on a guest ldom
# 6  
Old 08-02-2013
In the Primary LDOM do
ldm list -o network

and post the results please?
# 7  
Old 08-02-2013
# ldm list -o network 
    NAME             MAC               NET-DEV   ID   DEVICE     LINKPROP   DEFAULT-VLAN-ID PVID VID                  MTU   MODE   INTER-VNET-LINK
    primary-vsw0     00:14:4f:f8:f0:aa net0      0    switch@0              1               1                         1500         on
    NAME             SERVICE                     ID   DEVICE     MAC               MODE   PVID VID                  MTU   LINKPROP
    vnet1            primary-vsw0@primary        0    network@0  00:14:4f:fb:76:38        1                         1500

Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone? custos UNIX for Advanced & Expert Users 2 10-06-2014 11:58 AM
Scripting changes to multiple zone configurations in the same Global Zone os2mac Solaris 2 02-12-2014 03:13 PM
showing 2 different time zones in global zone and nonglobal zone ravijanjanam12 Solaris 3 10-28-2012 08:11 PM
Zone failes to boot due to mount issue, dir exists in zone. BG_JrAdmin Solaris 6 12-08-2011 03:27 PM
how to add a default gateway in a zone of different VLAN of global zone vvpotugunta Solaris 2 12-07-2011 06:50 PM
Mounting OpenSolaris Zone FS in Global Zone sophie.cowell Solaris 4 05-09-2011 09:52 AM
Not able to ping global zone from local zone kumarmani Solaris 12 02-09-2009 02:26 AM
Solaris Zone : Non global Zone check failed jegaraman Solaris 7 10-22-2008 03:31 AM
Bind zone transfer recategorises zone file? fulhamfcboy Solaris 1 11-09-2007 12:28 AM

All times are GMT -4. The time now is 01:45 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password