1833876 Members
1871 Online
110063 Solutions
New Discussion

Samba in MCSG

 
Sanjiv Sharma_1
Honored Contributor

Samba in MCSG

Hi,

I have a two node cluster(ijmsia01 and ijmsia02) of N4000/HP-UX11.00/MCSG.

One of the package(ijmsiafs01) is Samba and is currently running on ijmsia02.

Presently I have configured one package in ijmsia01 which is running Informix.

My requirement is that this new package has some users which uses samba and needs different folders with different permissions to be shared for different users.

The previous configuration file /etc/opt/samba/smb.conf file has information of the ijmsiafs01 package.

Now if I add the entry for the new package in smb.conf file and try to start it manually in ijmsia01.
# /sbin/init.d/samba start

It gives me the # prompt w/o any message. Also smbd and nmbd daemons are not started in ijmsia01.

How can I start samba in ijmsia01 w/o disturbing the ijmsiafs01 package?
How can I configure samba for the new package in ijmsia01 w/o disturbing the ijmsiafs01 package?

Thanks,
Raje.
Everything is possible
1 REPLY 1
Edgar Matzinger
Advisor

Re: Samba in MCSG

Hi Raje,

if I understand correctly you have a Samba package whereby the configuration files (smb.conf etc.) are located locally, and are kept up-to-date manually. In that config, is Samba bound to the interface having the package-IP address? Do you have something like this in your smb.conf file:

interfaces = 10.1.2.3/255.255.255.0
bind interfaces only = yes

If so, Samba will not start if the IP-address is configured on the failover node (ijmsia02 in your case). Are there any errors reported in /var/opt/samba/smb.log?

What I did was to make /etc/opt/samba and /var/opt/samba part of the package on shared disks. In that case if Samba is running on the failover node, the (otherwise hidden due to a mount) alternate smb.conf file becomes visable and usable.