In this task you will install two Solaris Containers on Vigor5.
On local cluster storage create a directory for the non-global zones root path.
Vigor5# mkdir /zones |
Create a temporary file for the whole root zone, for example /tmp/whole, and include the following entries.
Vigor5# cat > /tmp/whole <<-EOF create -b set zonepath=/zones/whole EOF |
Create a temporary file for the sparse root zone, for example /tmp/sparse, and include the following entries.
Vigor5# cat > /tmp/sparse <<-EOF create set zonepath=/zones/sparse EOF |
Configure the non-global zones, using the files you created.
Vigor5# zonecfg -z whole -f /tmp/whole Vigor5# zonecfg -z sparse -f /tmp/sparse |
Install the zones.
Open two windows and issue the following command in each window.
Vigor5# zoneadm -z whole install Vigor5# zoneadm -z sparse install |
Boot the zones.
Vigor5# zoneadm -z whole boot Vigor5# zoneadm -z sparse boot |
Log in to the zones and complete the zone system identification.
Vigor5# zlogin -C whole Vigor5# zlogin -C sparse |
Close the terminal windows and disconnect from the zone consoles.
After you have completed the zone system identification, disconnect from the two windows your previously opened.
Vigo5# ~. |
Create local mount points for the HA-ZFS file system with in the zones.
Vigor5# zlogin whole mkdir /local Vigor5# zlogin sparse mkdir /local |