1. Installing and Configuring HA for Samba
A. Deployment Example: Installing Samba packaged with Solaris 10
Installing and Configuring Samba packaged with Solaris 10
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
Example: Verify the HA for Samba resource group
B. Deployment Example: Installing Samba from http://www.samba.org
In this task you will install two Solaris Containers on node Vigor5.
Vigor5# mkdir /zones
Vigor5# cat > /tmp/whole <<-EOF create -b set zonepath=/zones/whole EOF
Vigor5# cat > /tmp/sparse <<-EOF create set zonepath=/zones/sparse EOF
Vigor5# zonecfg -z whole -f /tmp/whole Vigor5# zonecfg -z sparse -f /tmp/sparse
Open two windows and issue the following command in each window.
Vigor5# zoneadm -z whole install Vigor5# zoneadm -z sparse install
Vigor5# zoneadm -z whole boot Vigor5# zoneadm -z sparse boot
Vigor5# zlogin -C whole Vigor5# zlogin -C sparse
After you have completed the zone system identification, disconnect from the two windows your previously opened.
Vigo5# ~.
Vigor5# zlogin whole mkdir /local Vigor5# zlogin sparse mkdir /local
Vigor5# zlogin whole groupadd -g 1000 samba Vigor5# zlogin sparse groupadd -g 1000 samba Vigor5# zlogin whole useradd -u 1000 -g 1000 -s /bin/false homer Vigor5# zlogin sparse useradd -u 1000 -g 1000 -s /bin/false homer