In this task you will install two Solaris Containers on node Vigor5.
Create a non-global zone to be used as the HA container.
If a whole root non-global zone is required you must specify create -b.
Vigor5# cat > /tmp/failover <<-EOF create set zonepath=/zones/failover set autoboot=false add inherit-pkg-dir set dir=/opt/SUNWscsmb end EOF |
Configure the non-global HA container, using the file you created.
Vigor5# zonecfg -z failover -f /tmp/failover |
Install the zones.
Vigor5# zoneadm -z failover install |
Boot the zone.
Vigor5# zoneadm -z failover boot |
Log in to the zone and complete the zone system identification.
Open another window and issue the following command.
Vigor5# zlogin -C failover |
Close the terminal window and disconnect from the zone console.
After you have completed the zone system identification, disconnect from the window you previously opened.
Vigo5# ~. |
Create local mount points for the HA-ZFS file system with in the zones.
Vigor5# zlogin failover mkdir /local |
Create the Samba Fault Monitor Userid in the zones.
Vigor5# zlogin failover groupadd -g 1000 samba Vigor5# zlogin failover useradd -u 1000 -g 1000 -s /bin/false homer |
Halt the zone.
Vigor5# zlogin failover halt |