My Oracle Support Banner

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 MARCH 03, 2022

Applies to:

Solaris Cluster - Version 3.2 to 3.3 U2 [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)

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:

(<RG_NAME>:<RESOURCE_NAME>-smb:Start_command) Res property value: /opt/SUNWscsmb/samba/bin/start_samba -R '<RESOURCE_NAME>-smb' -G '<RG_NAME>' -X 'smbd nmbd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '<CFGDIR>' -L '<SAMBA_LOGDIR>' -U MS\\\\<FMUSER>%<SAMBA_FMPASS> -M 'scmondir' -P '/usr/sfw/lib' -H %HOSTNAMES

(<RG_NAME>:<RESOURCE_NAME>-smb:Stop_command) Res property value: /opt/SUNWscsmb/samba/bin/stop_samba -R '<RESOURCE_NAME>-smb' -G '<RG_NAME>' -X 'smbd nmbd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '<CFGDIR>' -L '<SAMBA_LOGDIR>' -U MS\\\\<FMUSER>%<SAMBA_FMPASS> -M 'scmondir' -P '/usr/sfw/lib' -H %HOSTNAMES

(<RG_NAME>:<RESOURCE_NAME>-smb:Probe_command) Res property value: /opt/SUNWscsmb/samba/bin/probe_samba -R '<RESOURCE_NAME>-smb' -G '<RG_NAME>' -X 'smbd nmbd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '<CFGDIR>' -L '<SAMBA_LOGDIR>' -U MS\\\\<FMUSER>%<SAMBA_FMPASS> -M 'scmondir' -P '/usr/sfw/lib' -H %HOSTNAMES

(<RG_NAME>:<RESOURCE_NAME>-winbind:Start_command) Res property value: /opt/SUNWscsmb/winbind/bin/start_winbind -R '<RESOURCE_NAME>-winbind' -G '<RG_NAME>' -X 'winbindd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '<CFGDIR>' -U <FMUSER> -P '/usr/sfw/lib'

(<RG_NAME>:<RESOURCE_NAME>-winbind:Stop_command) Res property value: /opt/SUNWscsmb/winbind/bin/stop_winbind -R '<RESOURCE_NAME>-winbind' -G '<RG_NAME>' -X 'winbindd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '<CFGDIR>' -U <FMUSER> -P '/usr/sfw/lib'

(<RG_NAME>:<RESOURCE_NAME>-winbind:Probe_command) Res property value: /opt/SUNWscsmb/winbind/bin/probe_winbind -R '<RESOURCE_NAME>-winbind' -G '<RG_NAME>' -X 'winbindd' -B '/usr/sfw/bin' -S '/usr/sfw/sbin' -C '<CFGDIR>' -U <FMUSER> -P '/usr/sfw/lib'

Solution

To view full details, 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 a vibrant support community of peers and Oracle experts.