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
Installing and Configuring Samba downloaded from http://www.samba.org
Example: Preparing the Cluster for Samba
Example: Configuring the Non-Global Zones
Example: Configuring Cluster Resources for Samba
Example: Download and Configure Samba from http://www.samba.org
Example: Verify winbind and Samba
Example: Enabling the Samba Software to Run in the Cluster
Example: Verify the HA for Samba resource group
Vigor5# mkdir -p /local/samba/smb1 Vigor5# cd /local/samba/smb1 Vigor5# mkdir -p lib logs private shares var/locks
Vigor5# cat > /local/samba/smb1/lib/smb.conf <<-EOF [global] workgroup = ADS bind interfaces only = yes interfaces = SMB1/255.255.255.0 netbios name = SMB1 security = ADS realm = ADS.EXAMPLE.COM password server = ADS.EXAMPLE.COM server string = Samba (%v) domain (%h) pid directory = /local/samba/smb1/var/locks log file = /local/samba/smb1/logs/log.%m smb passwd file = /local/samba/smb1/private/smbpasswd private dir = /local/samba/smb1/private lock dir = /local/samba/smb1/var/locks winbind cache time = 30 allow trusted domains = no idmap backend = rid:ADS=100000-200000 idmap uid = 100000-200000 idmap gid = 100000-200000 winbind enum groups = yes winbind enum users = yes winbind use default domain = yes [scmondir] comment = Monitor directory for Sun Cluster path = /tmp browseable = No EOF
Vigor5# /opt/samba/bin/testparm -s /local/samba/smb1/lib/smb.conf
Vigor5# /opt/samba/bin/net -s /local/samba/smb1/lib/smb.conf ads join -U Administrator