1. Installing and Configuring HA for Samba
A. Deployment Example: Installing Samba packaged with Solaris 10
B. Deployment Example: Installing Samba from http://www.samba.org
C. Deployment Example: Installing Samba in an HA Container
Installing and Configuring Samba in an HA Container
Example: Prepare the Cluster for Samba
Example: Configure Cluster Resources for Samba
Example: Create the Samba smb.conf Configuration File
Example: Enable the Samba Software to Run in the Cluster
In this task you will install two Solaris Containers on node Vigor5.
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
Vigor5# zonecfg -z failover -f /tmp/failover
Vigor5# zoneadm -z failover install
Vigor5# zoneadm -z failover boot
Open another window and issue the following command.
Vigor5# zlogin -C failover
After you have completed the zone system identification, disconnect from the window you previously opened.
Vigo5# ~.
Vigor5# zlogin failover mkdir /local
Vigor5# zlogin failover groupadd -g 1000 samba Vigor5# zlogin failover useradd -u 1000 -g 1000 -s /bin/false homer
Vigor5# zlogin failover halt