A simple way to create a new virtual server on a solaris 10 update4 installation.
zonecfg -z originalZone export -f /tmp/zone.cfg
now edit the zone.cfg to suit your needs and create the zone
zonecfg -z newZone -f /tmp/zone.cfg
now clone the zone and boot it afterwards:
zoneadm -z newZone clone originalZone
zoneadm -z newZone boot
now the zone ( new virtual server ) is ready you have to login into
the console to set the parametrization ( sys-config )
zlogin -C newZone
After this you have a new server available with the software already installed
in the original zone. Took less than half an hour!

No comments:
Post a Comment