samba question

Will McDonald wmcdonald at gmail.com
Tue Mar 21 19:28:22 GMT 2006


On 21/03/06, Will McDonald <wmcdonald at gmail.com> wrote:
> On 21/03/06, Joseph Mack NA3T <jmack at wm7d.net> wrote:
> >
> > what's the output of ipvsadm?

Oops, or, more accurately for Samba purposes...


TCP  192.168.24.45:445 rr persistent 600
  -> 192.168.25.10:445            Masq    1      2          0
TCP  192.168.24.45:139 rr persistent 600
  -> 192.168.25.10:139            Masq    1      0          0
UDP  192.168.24.45:137 rr persistent 600
  -> 192.168.25.10:137            Masq    1      0          0
UDP  192.168.24.45:138 rr persistent 600
  -> 192.168.25.10:138            Masq    1      0          0

> > > I can't help you much with multiple realservers running Samba.
> >
> > you have an LVS with only one realserver?
>
> Not quite.
>
> > >> as reading your other configs, I assume a 2 node hearbeat cluster for
> > >> samba, running on the clusters ip address 192.168.25.10 ?
> >
> > and two directors?
> >
> > if this is correct, why are you doing this?
>
> We have 2 directors in Active/Passive NATing through to two servers
> running Heartbeat in Active/Passive. So only one of the realservers
> has the Heartbeat managed VIP the LVSs NAT through to at any one time.
>
> I know for our purposes the realservers could just sit on the same
> subnet as our other servers but this is an inherited setup and there
> are other reasonable reasons for it to be like this. Samba's not the
> realservers *primary* role, there are other services too. The reason
> they're Active/Passive is because DRBD devices can only be mounted on
> one node at any one time.
>
> Will.
>


More information about the lvs-users mailing list