Operating System - HP-UX
1834150 Members
1961 Online
110064 Solutions
New Discussion

Re: Using samba in a SG cluster

 
SOLVED
Go to solution
Srinikalyan
Regular Advisor

Using samba in a SG cluster

Hi,

HP-UX 11iv2
SG A.11.17
My requirement is to include samba in a Serviceguard failover package on a two node cluster node1(active) and node2(passive). I am going to use the samba toolkit(ECMT). In that I have read the Readme file. On that they have mentioned
[global]
workgroup = ha_domain
netbios name = smb1
interfaces = XXX.XXX.XXX.XXX/xxx.xxx.xxx.xxx
bind interfaces only = yes
I will be using the relocatable IP address in the interfaces field.
What is the significance of the netbios name here? Can I use any of the node names or package DNS name or any other name so that the CIFS client can access using this name?

Thanks,
Srini
6 REPLIES 6
Srinikalyan
Regular Advisor

Re: Using samba in a SG cluster

Current system is the stand-alone server.
Current smb.conf looks like
[global]
netbios name = bcdmpa01
workgroup = LIVE_BILLIND
server string = BC Production server
wins support = no

The host name of this file contains is bclive01.
Steven E. Protter
Exalted Contributor
Solution

Re: Using samba in a SG cluster

Shalom,

I have run samba in a two node SG cluster.

I used different netbios names during the test process to know which node was running.

Then I assigned a common netbios name to both smb.conf files.

It worked in both formats.

You are going to have to run some failover tests to see how your domain/DNS environment reacts. You may have to support the netbios name in each systems /etc/hosts networking environment to insure fast name resolution.

SEP
hpuxconsulting in yahoo messenger.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Srinikalyan
Regular Advisor

Re: Using samba in a SG cluster

Thanks SEP.

Lets say I have a file look like below:

[global]
netbios name = tempname
workgroup = LIVE_BILLIND
interfaces = 10.24.128.31/10.24.128.0
server string = BC Production server
wins support = no
....
[live_log]
comment = Live1
path = /live1/log
browseable = yes
writeable = no
valid users = user1

How the CIFS client will connect to the CIFS server share. Is it just enough to use \\tempname\live_log?
Steven E. Protter
Exalted Contributor

Re: Using samba in a SG cluster

Shalom again Srini,

How the CIFS client will connect to the CIFS server share. Is it just enough to use \\tempname\live_log?

I believe so. It is test time.

There comes a point where you take the configuration off the whiteboard and put it in production.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Srinikalyan
Regular Advisor

Re: Using samba in a SG cluster

Do I need to specify the package DNS name i.e. tempname in the /etc/hosts file and windows hosts file like below for the CIFS clients to access the share?
10.24.128.31 tempname

smb.conf:
[global]
netbios name = tempname
workgroup = LIVE_BILLIND
interfaces = 10.24.128.31/10.24.128.0

Note: Requirement is in design stage so I need to confirm this method will work or not before doing the implementation and testing.

Thanks in advance,
Srini
Srinikalyan
Regular Advisor

Re: Using samba in a SG cluster

Thanks.