Two samba servers, same machine?

Markus Reimer markus at softwarerun.com
Mon Oct 30 14:09:33 GMT 2000


Hi!

> [mailto:samba-ntdom-admin at us5.samba.org]On Behalf Of Simo Sorce
> Blas Castro wrote:
> >         Hello, does any guru know whether it is possible
> two differents samba
> > servers running in the same machine two differents samba servers?
> It's not difficult.
> You need:
> 2 IP address
> 2 Samba installations with different base path
Accually, you only need one set of samba binaries.

You then uses
./smbd -n -s /usr/local/samba/lib/smb1.conf
./smbd -n -s /usr/local/samba/lib/smb2.conf
and start them with one conf-file each.
(-n to have a nmbd sevice started so that theserver announces itself on the
net)

> Then make any configuration on the two smb.conf
> (/usr/local/samba1/lib/smb.conf and /usr/local/samba2/lib/smb.conf)
> In smb.conf set these parameters:
> bind interface only = True
> interfaces = xxx.xxx.xxx.xxx
You still nead to make the configs like this!

I use this to have a HACMP configuration of my samba servers in a AIX
cluster.
I have the config files on a shared area and if one of the samba-servers
dies for any reason, the other server just starts a new smbd and nmbd
process for that instance.
With this config I also have a HACP controlled PDC ;) (Hey, who needs a
BDC??)

Regards,
//Markus Reimer
CTO, SoftwareRun AB
---
markus at softwarerun.com
www.softwarerun.com
Office:+46-(0)155-256 440
Fax: +46-(0)155-256 441
Cell: +46-(0)70-7106991

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Markus Reimer.vcf
Type: text/x-vcard
Size: 404 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-ntdom/attachments/20001030/51503544/MarkusReimer.vcf


More information about the samba-ntdom mailing list