Change the Solaris Zone
1> Rename the zone (not rename the server name)
a> shutdown the zone : # zoneadm -zhalt
b> Change the configuration:
# cd /etc/zones
# mv.xml .xml
# vi.xml
# cd /export/zones
# mv
c> Boot the zone:
# zoneadm -zboot
2> Change the server name: (two ways to do it)
a> during the zone up
b> during the zone down
# cd /export/zones//root
# vi /etc/hosts
# vi /etc/nodename
# vi /etc/hostname.
more info: http://www.softpanorama.org/Solaris/Virtualization/zones.shtml
a> shutdown the zone : # zoneadm -z
b> Change the configuration:
# cd /etc/zones
# mv
# vi
# cd /export/zones
# mv
c> Boot the zone:
# zoneadm -z
2> Change the server name: (two ways to do it)
a> during the zone up
b> during the zone down
# cd /export/zones/
# vi /etc/hosts
# vi /etc/nodename
# vi /etc/hostname.
more info: http://www.softpanorama.org/Solaris/Virtualization/zones.shtml
Comments