[zones-discuss] Simple question... An inherit-pkg-dir resource with the dir '/lib' already

2007-11-30 Thread David Smith
I'm getting an error on trying to create a second zone. -bash-3.00# zonecfg -z test123 -f test123-zone-cmd.txt On line 7 of test123-zone-cmd.txt: An inherit-pkg-dir resource with the dir '/lib' already exists. resource specification incomplete Zone test123 failed to verify test123: Insufficient

Re: [zones-discuss] Simple question... An inherit-pkg-dir resource with the dir '/lib' already

2007-11-30 Thread Jerry Jelinek
David Smith wrote: I'm getting an error on trying to create a second zone. -bash-3.00# zonecfg -z test123 -f test123-zone-cmd.txt On line 7 of test123-zone-cmd.txt: An inherit-pkg-dir resource with the dir '/lib' already exists. resource specification incomplete Zone test123 failed to

Re: [zones-discuss] netmask warning, misconfiguration

2007-11-30 Thread Antonello Cruz
I would definitely run zonecfg -z int-sagent-1-z1 info to check what the zone thinks is the netmask. I suspect if you haven't defined the '/24' it will pick the default for the address class. In this case, '/16' IIRC. Sometimes documentation gets old... Antonello Jordan Brown (Sun) wrote:

Re: [zones-discuss] netmask warning, misconfiguration

2007-11-30 Thread Jordan Brown (Sun)
Antonello Cruz wrote: I would definitely run zonecfg -z int-sagent-1-z1 info to check what the zone thinks is the netmask. Doesn't display a netmask. I suspect if you haven't defined the '/24' it will pick the default for the address class. In this case, '/16' IIRC. Sometimes

Re: [zones-discuss] netmask warning, misconfiguration

2007-11-30 Thread David . Comay
zoneadm: zone 'int-sagent-1-z1': WARNING: bge0:1: no matching subnet found in netmasks(4) for 172.20.46.188; using default of 255.255.0.0. but my /etc/netmasks (on both the global and local zone) looks good: What does the netmasks entry in /etc/nsswitch.conf say? A common issue is that a

Re: [zones-discuss] Can't install zone after 10_recommended

2007-11-30 Thread Mangan
This was the problem. Thanks to Richard Lowe and Enda Oconnor for getting me on the right track and pointing me to the workaround. -Original Message- From: Richard Lowe [EMAIL PROTECTED] Sent: Nov 29, 2007 11:38 AM To: Mangan [EMAIL PROTECTED] Cc: zones-discuss@opensolaris.org Subject:

Re: [zones-discuss] Shared-ip routing and VNI interface

2007-11-30 Thread Mike Gerdts
On Nov 30, 2007 7:37 AM, Paul Van Der Zwan [EMAIL PROTECTED] wrote: Host 1: global zone bge0 192.168.1.1/24 vni0 10.1.1.254/24 zone1 vni1 10.1.1.1/24 zone2 vni2 10.1.1.2/24 zone3 vni3 10.1.1.3/24 When you try this configuration, go into any

Re: [zones-discuss] Shared-ip routing and VNI interface

2007-11-30 Thread sowmini . varadhan
On (11/30/07 08:25), Mike Gerdts wrote: The 10.1.1.100 address must not be reachable. The last time I tried this in Nevada it causes a panic. The last time I tried it on S10 it causes one kernel thread to spin (mpstat will show one CPU at 100% sys). Through bugs.opensolaris.org I opened a

Re: [zones-discuss] netmask warning, misconfiguration

2007-11-30 Thread Antonello Cruz
Jordan, How did you setup the IP address for that zone? Did you use, in zonecfg: zonecfg:int-sagent-1-z1:net set address=172.20.46.188/24 ? Antonello Jordan Brown (Sun) wrote: I get: zoneadm: zone 'int-sagent-1-z1': WARNING: bge0:1: no matching subnet found in netmasks(4) for

Re: [zones-discuss] Simple question... An inherit-pkg-dir resource with the dir '/lib' alre

2007-11-30 Thread David Smith
Thank you to everyone who replied so quickly... Basically the inherit-pkg-dir's are by default. Thanks, David This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] Solaris Containers Replication

2007-11-30 Thread Ihsan Zaghmouth
Hi Paul, 1. Clone them localy 2. Detach the Cloned Zones (zoneadm -z zonename detach) 3. Tar or pax them over starting from the zonepath and remote copy the tarballs or simply export/import SAN DG hosting the zones. 4. Prepare them for attachment, zonecfg -z zonename and at prompt

Re: [zones-discuss] netmask warning, misconfiguration

2007-11-30 Thread Jordan Brown (Sun)
Antonello Cruz wrote: zoneadm: zone 'int-sagent-1-z1': WARNING: bge0:1: no matching subnet found in netmasks(4) for 172.20.46.188; using default of 255.255.0.0. How did you setup the IP address for that zone? Did you use, in zonecfg: zonecfg:int-sagent-1-z1:net set address=172.20.46.188/24

Re: [zones-discuss] Simple question... An inherit-pkg-dir resource with the dir '/lib' already

2007-11-30 Thread Enda O'Connor
David Smith wrote: I'm getting an error on trying to create a second zone. -bash-3.00# zonecfg -z test123 -f test123-zone-cmd.txt On line 7 of test123-zone-cmd.txt: An inherit-pkg-dir resource with the dir '/lib' already exists. resource specification incomplete Zone test123 failed to

Re: [zones-discuss] netmask warning, misconfiguration

2007-11-30 Thread Jordan Brown (Sun)
[EMAIL PROTECTED] wrote: What does the netmasks entry in /etc/nsswitch.conf say? A common issue is that a user changes their local /etc/netmasks file but their the switch says to use something like nis. Bingo! Thanks! (I also tried 172.20.0.0 on the theory that maybe it wanted me to set