Solaris Cluster 3.x: How to Modify HA-SAMBA to Work With Samba Patch 119757-20 (SPARC) or 119758-20 (X86) And Above (Doc ID 1400341.1)

Last updated on FEBRUARY 18, 2016

Applies to:

Solaris Cluster - Version 3.2 12/06 to 3.3 [Release 3.2 to 3.3]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on x86 (32-bit)

Goal

To show how to update HA-SAMBA so that it uses the new location of the Samba binaries and libraries.

Prior to Samba patches <SunPatch 119757-20> (SPARC) and <SunPatch 119758-20> (X86) the location
of the Samba binaries was in /usr/sfw/bin and /usr/sfw/sbin. The location of the Samba libraries was in /usr/sfw/lib.

Starting 11975[7,8]-20 and above, the location of the Samba binaries were moved
to /usr/bin and /usr/sbin. The location of the Samba libraries were moved to /usr/lib/samba.

The Oracle Solaris Cluster implementation of HA-Samba is via the SUNW.gds
Resource Type (RT) utilizing the [Start,Stop,Probe]_command properties.

Example:

(AUDIOSCN-HA:audioscn1-smb:Start_command) Res property value: /opt/SUNWscsmb/samba/bin/start_samba -R 'audioscn1-smb' -G 'AUDIOSCN-HA' -X 'smbd nmbd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '/local/samba/samfs1' -L '/local/samba/audioscn1/logs' -U MS\\\\smbtest%testsmb -M 'scmondir' -P '/usr/sfw/lib' -H %HOSTNAMES

(AUDIOSCN-HA:audioscn1-smb:Stop_command) Res property value: /opt/SUNWscsmb/samba/bin/stop_samba -R 'audioscn1-smb' -G 'AUDIOSCN-HA' -X 'smbd nmbd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '/local/samba/samfs1' -L '/local/samba/audioscn1/logs' -U MS\\\\smbtest%testsmb -M 'scmondir' -P '/usr/sfw/lib' -H %HOSTNAMES

(AUDIOSCN-HA:audioscn1-smb:Probe_command) Res property value: /opt/SUNWscsmb/samba/bin/probe_samba -R 'audioscn1-smb' -G 'AUDIOSCN-HA' -X 'smbd nmbd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '/local/samba/samfs1' -L '/local/samba/audioscn1/logs' -U MS\\\\smbtest%testsmb -M 'scmondir' -P '/usr/sfw/lib' -H %HOSTNAMES

(AUDIOSCN-HA:audioscn1-winbind:Start_command) Res property value: /opt/SUNWscsmb/winbind/bin/start_winbind -R 'audioscn1-winbind' -G 'AUDIOSCN-HA' -X 'winbindd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '/local/samba/samfs1' -U smbtest -P '/usr/sfw/lib'

(AUDIOSCN-HA:audioscn1-winbind:Stop_command) Res property value: /opt/SUNWscsmb/winbind/bin/stop_winbind -R 'audioscn1-winbind' -G 'AUDIOSCN-HA' -X 'winbindd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '/local/samba/samfs1' -U smbtest -P '/usr/sfw/lib'

(AUDIOSCN-HA:audioscn1-winbind:Probe_command) Res property value: /opt/SUNWscsmb/winbind/bin/probe_winbind -R 'audioscn1-winbind' -G 'AUDIOSCN-HA' -X 'winbindd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '/local/samba/samfs1' -U smbtest -P '/usr/sfw/lib'


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms