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 the HA Container
Example: Create the Samba smb.conf Configuration File
Example: Enable the Samba Software to Run in the Cluster
Vigor5# clresourcetype register SUNW.gds SUNW.HAStoragePlus
Vigor5# clresourcegroup create -n Vigor5 samba-rg
Vigor5# clreslogicalhostname create -g samba-rg -h SMB1 samba-lh
Vigor5# clresource create -g samba-rg -t SUNW.HAStoragePlus \ > -p FilesystemMountPoints=/zones sambaSVM-has
Vigor5# clresource create -g samba-rg -t SUNW.HAStoragePlus \ > -p Zpools=HAZpool sambaZFS-has
Vigor5# clresourcegroup online -M samba-rg
Vigor5# cat > /var/tmp/sczbt_config <<-EOF RS=sambaFOZ RG=samba-rg PARAMETERDIR=/zones SC_NETWORK=true SC_LH=samba-lh FAILOVER=true HAS_RS=sambaSVM-has,sambaZFS-has Zonename=failover Zonebootopt= Milestone=multi-user-server Mounts=/local EOF
Vigor5# /opt/SUNWsczone/sczbt/util/sczbt_register -f /var/tmp/sczbt_config
Vigor5# clresource enable sambaFOZ