This procedure does not verify that your application is highly available because you have not yet installed your data service.
Perform this procedure on one node or zone of the cluster only.
Test the smb.conf file.
If winbind is used, start and test winbind.
Start and test winbind.
If the global zone is being used for Samba.
# samba-sbin-directory/winbindd \ > -s samba-configuration-directory/lib/smb.conf # getent passwd # getent group |
If a non-global zone or HA container is being used for Samba.
# zlogin zonename samba-sbin-directory/winbindd \ > -s samba-configuration-directory/lib/smb.conf # zlogin zonename getent passwd # zlogin zonename getent group |
Test if the fault monitor user can be resolved.
This test must succeed.
If you encounter problems restart winbindd with debug information using -d 3.
You should then retest and observe the winbindd log file which can be found at samba-configuration-directory/logs/log.winbindd.
Winbind caching can affect the results from getent passwd samba_fault_monitor which might not be up-to-date. Refer to the winbind[8] man page for more information on winbind caching and to the smb.conf[5] man page for more information on winbind cache time.
Start and test Samba.
Start Samba.
Test that smbclient can access Samba.
This test must succeed.
If you encounter problems restart smbclient with debug information using -d 3.
If the global zone is being used for Samba.
# samba-bin-directory/smbclient -N -L NetBIOS-name # # samba-bin-directory/smbclient '\\NetBIOS-name\scmondir' \ > -U samba-fault-monitor-user -c 'pwd;exit' |
If a non-global zone or HA container is being used for Samba.
# zlogin zonename samba-bin-directory/smbclient -N -L NetBIOS-name # # zlogin zonename samba-bin-directory/smbclient '//NetBIOS-name/scmondir' \ > -U samba-fault-monitor-user -c 'pwd;exit' |
Stop the smbd, nmbd, and winbindd daemons.
Perform this step in the global zone only.
# pkill -TERM -z zonename 'smbd|nmbd|winbindd' |
Unmount the highly available local file system.
Perform this step in the global zone only.
This step is not required if a cluster file system is being used.
You should unmount the highly available file system you mounted in Step 6 in How to Prepare Samba for Sun Cluster HA for Samba
Remove the logical host.
Perform this step in the global zone only.
You should remove the logical host you configured in Step 11 in How to Prepare Samba for Sun Cluster HA for Samba
# ifconfig interface removeif samba-logical-host |