Hello, I'm about to install SAMBA in a HA (High Avalibility) solution with Solaris 2.6 and First Watch. I have two SAMBA servers that normally runs on two machines, in case of a failure of one of the machine the other machine is supposed to take over the failed machine's services. Also the IP adress is moved (the machine will now have multiple IP adresses (on the same logical net)). So what I want to do is to run two SAMBA-servers with diffrent configuration on one machine. Is this possible? Must I run the servers on diffrent portnumbers? If I have to change one of the servers portnumber how do I do with my NT4 clients ?? My clients are configured to access both of the SAMBA-servers and need to do this also in a case of a failure. Suggestions? Regards, Henrik Henrik Ejderholm Phone: + 46 13 23 52 00 Sectra-Imtec AB Telefax: + 46 13 21 21 85 Teknikringen 2 Internet: he@sectra.se 583 30 Link?ping WWW: http://www.sectra.se
> So what I want to do is to run two SAMBA-servers with diffrent > configuration on one machine. > > Is this possible?Yes. See the network interface parameter to specify the IP address to bind to. I also use the socket address parameter in combination. I know that this breaks browsing. Be aware the nmbd will not answer broadcasts in this type of setup. To setup domain logins it will be necessary to use a local LMHOST file on the PC or setup samba as a wins server.> Must I run the servers on diffrent portnumbers? > If I have to change one of the servers portnumber how do I do with my NT4 > clients ??No. smbd and nmbd will still run on ports 137, 138 and 139. The separate servers will be known by their respective NetBIOS name. If you need specifics on this I can send you example smb.conf files for this type of setup. Feel free to contact me directly.> My clients are configured to access both of the SAMBA-servers and need to > do this also in a case of a failure. > > Suggestions?How are the file systems being replicated? I mean are they local to the servers or are they being served to samba via NFS and then the samba servers are making them available? Maybe this question is due to my lack of knowledge about "First Watch". Hope this helps, j- ________________________________________________________________________ Gerald ( Jerry ) Carter Engineering Network Services Auburn University jerry@eng.auburn.edu http://www.eng.auburn.edu/users/cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
Dear Henrick, -----Original Message----- From: Henrik Ejderholm [SMTP:he@sectra.se] Sent: 08 February 1998 15:41 Subject: Multiple SAMBA servers I'm about to install SAMBA in a HA (High Avalibility) solution with Solaris 2.6 and First Watch. I have two SAMBA servers that normally runs on two machines, in case of a failure of one of the machine the other machine is supposed to take over the failed machine's services. Also the IP adress is moved (the machine will now have multiple IP adresses (on the same logical net)). So what I want to do is to run two SAMBA-servers with diffrent configuration on one machine. When I looked at this with SUN's HA, I decided not to run the HA cluster in symmetric mode for samba. ie. Run samba daemons on both boxes, but only support one IP address and configuration. I configured the automounter to provide all the protected filesystems and share them out from one machine, if that failed then the services would fail over onto the other, and suddenly that samba process would start receiving requests, accessing the data through the automounted mount points. I don't think you can change port numbers on the NT clients. I suspect that you could do something symettrically using variable substitution and "include = ". Tim
Hi, I am setting up a Network with four FreeBSD 4.2 machines. On two I have already configured Samba, it works perfectly, but there is a slight problem when both are running. It seems like they're fighting over who will be listed when browsing the "Network Neighbourhood". I can only see one of them. Sometimes they switch, and I can only the the other, but never both. Although only one can be seen, I can still access the other one by just typing in it's name as in '\\server'. What's the trick? I tried setting 'local master = yes' and 'preferred master = yes' on one of them. But I don't think this has much to do with the problem. I couldn't really find help in the docs either. Please help. Below a copy of my smb.conf: [global] workgroup = SIMPLE server string = File Server encrypt passwords = Yes socket options = TCP_NODELAY IPTOS_LOWDELAY invalid users = root toor daemon operator bin tty kmem games news man bind uucp xten pop hosts deny = ALL hosts allow = 192.168.1.113 127.0.0.1 interfaces = 192.168.1.110/225.225.225.0 bind interfaces only = yes os level = 34 local master = yes preferred master = yes max log size = 1000 max open files = 500 force create mode = 644 force directory mode = 755 create mode = 644 directory mode = 755 [homes] read only = no browseable = no follow symlinks = no oplocks = no _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com