[Samba] load balancing CIFS/Samba

Barry Smoke barry at arhosting.com
Tue Aug 20 16:50:59 GMT 2002


I thought that at the moment this was impossible...thus we anticipate
using samba's msdfs support to spread out server load....putting
different shares on different servers, under one dfs tree...

Is this not possible in your situation?


-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]
On Behalf Of Javid Abdul-AJAVID1
Sent: Tuesday, August 20, 2002 5:17 PM
To: Javid Abdul-AJAVID1; 'Blue Lang'
Cc: 'samba at lists.samba.org'
Subject: RE: [Samba] load balancing CIFS/Samba

between check if nmbd is running on foo1, foo2 and foo2
do diagnostic.txt all of them on each server

-----Original Message-----
From: Javid Abdul-AJAVID1 
Sent: Tuesday, August 20, 2002 5:16 PM
To: 'Blue Lang'; Javid Abdul-AJAVID1
Cc: samba at lists.samba.org
Subject: RE: [Samba] load balancing CIFS/Samba




-----Original Message-----
From: Blue Lang [mailto:blue at b-side.org]
Sent: Wednesday, August 21, 2002 5:03 AM
To: Javid Abdul-AJAVID1
Cc: samba at lists.samba.org
Subject: RE: [Samba] load balancing CIFS/Samba


On Tue, 20 Aug 2002, Javid Abdul-AJAVID1 wrote:

> when you are running samba , you will start nmbd also which resolves
your
> unix host on which samba running as netbios
> each time client access \\foo\bar, dns will send the request one by
one as
> you list ips.

unless i misunderstand what you're suggesting, this does not work.

in DNS, foo = 192.168.1.1, .2, .3

192.168.1.1 = IP hostname foo1, samba server name foo1, share name bar
192.168.1.2 = IP hostname foo3, samba server name foo2, share name bar
192.168.1.3 = IP hostname foo4, samba server name foo3, share name bar

windows client does start->run->\\foo\bar
DNS returns 192.168.1.1
windows makes connection to 192.168.1.1 and asks for foo

>>>> windows asks for foo1 not foo, 
dns resolves foo to 192.168.1.1 which is smb server with foo1 name
you should be fine with architecture



which does not exist
failure

the only way i can make it work at all is to have the smb server name be

the same on all boxes.

does that make sense now?

> 
> -----Original Message-----
> From: Blue Lang [mailto:blue at b-side.org]
> Sent: Wednesday, August 21, 2002 4:53 AM
> To: Javid Abdul-AJAVID1
> Cc: samba at lists.samba.org
> Subject: RE: [Samba] load balancing CIFS/Samba
> 
> 
> On Tue, 20 Aug 2002, Javid Abdul-AJAVID1 wrote:
> 
> > create round robin alias with different IP address for different
nodes
> > you dont have to put same nmb server name
> 
> i haven't tried that yet, but my intuition is that that would make it 
> impossible to, for instance, mount the same share from multiple
windows 
> hosts. ie
> 
> start->run->\\foo.b-side.org\bar
> 
> would not resolve, because windows demands an nmb lookup, even after
the
> host has been resolved via ip. is this not correct?
> 
> thanks!
> 
> > 
> > 
> > 
> > -----Original Message-----
> > From: Blue Lang [mailto:blue at b-side.org]
> > Sent: Wednesday, August 21, 2002 4:16 AM
> > To: samba at lists.samba.org
> > Subject: [Samba] load balancing CIFS/Samba
> > 
> > 
> > 
> > Hi Folks,
> > 
> > I'm trying out some ideas for loadbalancing Samba servers with some 
> > replication underneath. Right now, we're trying to use DNS round
robin, 
> > just to see if it works, but it isn't.
> > 
> > Our basic config is that we have the same share and NMB server name
on 
> > every node. Each node has a different IP hostname, which are all 
> > round-robin'ed to a single hostname. When we try to do requests from

> > clients on the same subnet, everything grinds to a halt. It looks
like
all
> 
> > of our requests are being responded to by every node.
> > 
> > Does that make sense? Does anyone have any insight into
loadbalancing
CIFS
> 
> > that they might share?
> > 
> > Thanks!
> > 
> > Blue Lang
> > 
> > 
> > 
> 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list