Issues configuring SAMBA using cfsshare
Hello all,
I'm setting up a few Linux Veritas clusters that will provide HA storage to a java app, and present that data as an HA CIFS share. The cluster is configured, the shared disks are working and stable, but I'm stumped on the Samba portion.
I have created a small shared volume (1G) to contain the metadata needed for the locking mechanisms in Samba as mentioned in the documentation.
I run this cfsshare config command to configure the service:
cfsshare config -p cifs -l /run -c /etc/samba/smb.conf -t /usr/sbin/ -m user infastg ctdb /locks
The command mounts the /locks on both nodes, and everything is groovy, but Samba/Netbios never start:
Dec 5 14:59:53 MN-INFASTG2 AgentFramework[10690]: VCS ERROR V-16-10031-10504 SambaServer:SambaServerResource:online:Samba executable (smbd) not in path.
Dec 5 15:01:33 MN-INFASTG2 AgentFramework[10689]: VCS ERROR V-16-10031-8019 NetBios:Samba_netbios:online:Samba executable (nmbd) not found, can not be executed.
The cfsshare command sits there for a while and offlines most of the resources after it can't start samba or netbois after a while. I've tried to put all sorts of combinations in after the -t, but it doesn't really matter what I put it never seems to find the binaries. I can put some non existent path in there such as /thiswontwork and it obviously won't work, but it doesn't complain either.
[root@MN-INFASTG1:/opt] # hastatus
attempting to connect....
attempting to connect....connected
group resource system message
--------------- -------------------- -------------------- --------------------
mn-infastg1 RUNNING
mn-infastg2 RUNNING
cvm mn-infastg1 ONLINE
cvm mn-infastg2 ONLINE
-------------------------------------------------------------------------
vxfen mn-infastg1 ONLINE
vxfen mn-infastg2 ONLINE
cfsnfssg mn-infastg1 *FAULTED* OFFLINE
cfsnfssg mn-infastg2 *FAULTED* OFFLINE
cfsnfssg_dummy mn-infastg1 OFFLINE
-------------------------------------------------------------------------
cfsnfssg_dummy mn-infastg2 OFFLINE
vxfsckd mn-infastg1 ONLINE
vxfsckd mn-infastg2 ONLINE
cvm_clus mn-infastg1 ONLINE
cvm_clus mn-infastg2 ONLINE
-------------------------------------------------------------------------
cvm_vxconfigd mn-infastg1 ONLINE
cvm_vxconfigd mn-infastg2 ONLINE
vxattachd mn-infastg1 ONLINE
vxattachd mn-infastg2 ONLINE
coordpoint mn-infastg1 ONLINE
-------------------------------------------------------------------------
coordpoint mn-infastg2 ONLINE
RES_phantom_vxfen mn-infastg1 ONLINE
RES_phantom_vxfen mn-infastg2 ONLINE
cvmvoldg1 mn-infastg1 OFFLINE
cvmvoldg1 mn-infastg2 OFFLINE
-------------------------------------------------------------------------
cfsnfs_locks mn-infastg1 OFFLINE
cfsnfs_locks mn-infastg2 OFFLINE
SambaServerResource mn-infastg1 *FAULTED*
SambaServerResource mn-infastg2 *FAULTED*
Samba_netbios mn-infastg1 *FAULTED*
-------------------------------------------------------------------------
Samba_netbios mn-infastg2 *FAULTED*
Samba_winbind mn-infastg1 OFFLINE
Samba_winbind mn-infastg2 OFFLINE
Googling for this error message is proving to be frustrating since I don't really know what to search for. Is this a StorageFoundation issue, or a VCS issue?
We are doing a proof of concept type deal, so this is a temporary license. I think we have a license purchase in the works, but at this point we are using the trial.
This is a two node setup, both running RedHat Enterprise Linux 7.2, both VM's, with shared disks being presented from our Hitachi SAN.
I apologize for my 100% unfamiliarity with Veritas nomenclature.
Any help would be appreciated.