LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: samba question

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: samba question
From: "Will McDonald" <wmcdonald@xxxxxxxxx>
Date: Tue, 21 Mar 2006 19:27:03 +0000
On 21/03/06, Joseph Mack NA3T <jmack@xxxxxxxx> wrote:
>
> what's the output of ipvsadm?

UDP  192.168.24.46:161 rr persistent 600
  -> 192.168.25.6:161             Masq    1      0          0
UDP  192.168.24.47:161 rr persistent 600
  -> 192.168.25.7:161             Masq    1      0          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.

<Prev in Thread] Current Thread [Next in Thread>