Can not use zone in LDoms on T4-1


 
Thread Tools Search this Thread
Operating Systems Solaris Can not use zone in LDoms on T4-1
# 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 3.0.0.1 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.
Code:
# zoneadm -z tzone1 boot 
zone 'tzone1' failed to create vnic for net0: operation failed 
zoneadm: zone 'tzone1': call to zoneadmd failed

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

but that didn't work, it complained:
Code:
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
Code:
primary# zoneadm -z tzone3 install
The following ZFS file system(s) have been created:
    data/zones/tzone3
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:
                  solaris
                      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,
Code:
# 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:

Code:
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
root@ldm1:/tmp#

On the other issue, in the primary ldom
Code:
# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
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
Code:
# pkg search /usr/bin/pkg

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


btw, the exact same search returns the expected
Code:
# pkg search /usr/bin/pkg
INDEX      ACTION VALUE       PACKAGE
path       file   usr/bin/pkg pkg:/package/pkg@0.5.11-0.175.1.0.0.24.0

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

and post the results please?
# 7  
Old 08-02-2013
Code:
# ldm list -o network 
NAME
primary
MAC
    00:10:e0:23:68:4c
VSW
    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
ldm1
MAC
    00:14:4f:fa:a4:c4
NETWORK
    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 or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

3. Solaris

Scripting changes to multiple zone configurations in the same Global Zone

So this is Solaris 11.1. I have a Global zone that has several non-global zones running in it. I want to change the capped-memory.physical resources setting in ALL the zone configs of the running zones. if I were to do this manually here's what I would do: zonecfg -z zone1 select... (2 Replies)
Discussion started by: os2mac
2 Replies

4. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

5. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

6. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

7. Solaris

Not able to ping global zone from local zone

Hi Gurus I am not able to ping the local zone from global zone when i am trying to ping i am getting below ICMP Host Unreachable from gateway zone ( 192.268.35.210) for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210) However i can ping local zone from global please... (12 Replies)
Discussion started by: kumarmani
12 Replies

8. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies

9. Solaris

Bind zone transfer recategorises zone file?

Hi, I have a primary/slave Bind 9 setup running on a Solaris 10 platform. Everything is hunky dorey, except for when I make a zone file change and up the serial the file that is transferred to the slave looses all its comments, and the entries are place in alphabetical order. I administer many... (1 Reply)
Discussion started by: fulhamfcboy
1 Replies
Login or Register to Ask a Question