Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring Zones in solaris 10

Status
Not open for further replies.

RahuldKumar

Technical User
Oct 29, 2008
14
US
I have tried to create a zone for my oracle database group in the following way... but no matter wat the IP dosent get assighed to it and i receive the following errors:

System identification is completed.

rebooting system due to change(s) in /etc/default/init

[NOTICE: Zone rebooting]


SunOS Release 5.10 Version Generic_137138-09 32-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: solzone1
Reading ZFS config: done.

solzone1 console login: Feb 10 19:42:59 solzone1 sendmail[9182]: My unqualified host name (localhost) unknown; sleeping for retry

solzone1 console login: root
Password:
Feb 10 19:43:59 solzone1 sendmail[9182]: unable to qualify my own domain name (localhost) -- using short name
Feb 10 19:44:04 solzone1 login: ROOT LOGIN /dev/console
Feb 10 19:44:06 solzone1 sendmail[10023]: My unqualified host name (localhost) unknown; sleeping for retry
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
Feb 10 19:44:06 solzone1 sendmail[10024]: My unqualified host name (localhost) unknown; sleeping for retry

# ifconfig -a
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000


# Feb 10 19:45:06 solzone1 sendmail[10023]: unable to qualify my own domain name (localhost) -- using short name


I have created this in the following way... plz help me if i have made a mistake somewhere

# zonecfg -z datazone
zonecfg:datazone> set zonepath=/datazone/home/zones/datazone
zonecfg:datazone> set autoboot=true
zonecfg:datazone> add net
zonecfg:datazone:net> set address=192.168.1.130
zonecfg:datazone:net> set physical=e100g0
zonecfg:datazone:net> end
zonecfg:datazone> set pool=datapool
zonecfg:datazone> verify
zonecfg:datazone> commit zonecfg:datazone>
usage:
commit
zonecfg:datazone> commit
zonecfg:datazone> end
The end command only makes sense in the resource scope.
zonecfg:datazone> exit
# zoneadm -z datazone install
Preparing to install zone <datazone>.
Creating list of files to copy from the global zone.
Copying <7499> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1101> packages on the zone.
Initializing package <426> of <1101>: percent complete: 38%
Initialized <1101> packages on zone. C^C^C^C^C^C
Zone <datazone> is initialized.
The file </datazone/home/zones/datazone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
# zoneadm -z datazone boot
# zlogin -C datazone
[Connected to zone 'datazone' console] 16/143


This is wat I have in my Global Zone..

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index

1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.1.120 netmask ffffff00 broadcast 192.168.1.255
ether 0:c:29:c3:ba:b6


I am struggling on this for the last 5 Days... and in vain I thought u gurus can help me out of this.

Thank you in advance
 
I haven't set the physical address incorrectly in the zonecfg.

set physical=e100g0

According to your ifconfig output of the global zone, it should be e1000g0

e1000g0: flags=1000843<UP,BROADCAST, RUNNING,MULTICAS T,IPv4>

cheers,
 
Within your zonecfg syntax: your physical NIC is set to e100g0 it is suppose to be e1000g0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top