Unix/Linux Go Back    


Solaris 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

Solaris


Tags
ldom, solaris, sparc, zone

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 07-21-2013   -   Original Discussion by ad101
ad101's Unix or Linux Image
ad101 ad101 is offline
Registered User
 
Join Date: Jun 2013
Last Activity: 20 May 2015, 6:29 PM EDT
Posts: 21
Thanks: 8
Thanked 0 Times in 0 Posts
Unix or Linux 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.
Sponsored Links
    #2  
Old Unix and Linux 07-22-2013   -   Original Discussion by ad101
aeroforce's Unix or Linux Image
aeroforce aeroforce is offline
Registered User
 
Join Date: Aug 2006
Last Activity: 5 December 2013, 10:38 AM EST
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Quick question...what does your dladm show-phys show? Also did you ipadm ip-create the interface?
Sponsored Links
    #3  
Old Unix and Linux 07-22-2013   -   Original Discussion by ad101
ad101's Unix or Linux Image
ad101 ad101 is offline
Registered User
 
Join Date: Jun 2013
Last Activity: 20 May 2015, 6:29 PM EDT
Posts: 21
Thanks: 8
Thanked 0 Times in 0 Posts
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 Unix and Linux 07-29-2013   -   Original Discussion by ad101
aeroforce's Unix or Linux Image
aeroforce aeroforce is offline
Registered User
 
Join Date: Aug 2006
Last Activity: 5 December 2013, 10:38 AM EST
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #5  
Old Unix and Linux 08-02-2013   -   Original Discussion by ad101
ad101's Unix or Linux Image
ad101 ad101 is offline
Registered User
 
Join Date: Jun 2013
Last Activity: 20 May 2015, 6:29 PM EDT
Posts: 21
Thanks: 8
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #6  
Old Unix and Linux 08-02-2013   -   Original Discussion by ad101
os2mac's Unix or Linux Image
os2mac os2mac is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 18 January 2018, 2:42 PM EST
Location: Anchorage, AK
Posts: 249
Thanks: 22
Thanked 25 Times in 25 Posts
In the Primary LDOM do

Code:
ldm list -o network

and post the results please?
Sponsored Links
    #7  
Old Unix and Linux 08-02-2013   -   Original Discussion by ad101
ad101's Unix or Linux Image
ad101 ad101 is offline
Registered User
 
Join Date: Jun 2013
Last Activity: 20 May 2015, 6:29 PM EDT
Posts: 21
Thanks: 8
Thanked 0 Times in 0 Posts


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

Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
showing 2 different time zones in global zone and nonglobal zone ravijanjanam12 Solaris 3 10-28-2012 09:11 PM
Zone failes to boot due to mount issue, dir exists in zone. BG_JrAdmin Solaris 6 12-08-2011 04:27 PM
how to add a default gateway in a zone of different VLAN of global zone vvpotugunta Solaris 2 12-07-2011 07:50 PM
Bind zone transfer recategorises zone file? fulhamfcboy Solaris 1 11-09-2007 01:28 AM



All times are GMT -4. The time now is 11:56 AM.