3 node active-active-passive setup
[email protected] Wed, 29 Apr 2009 12:38:55 -0700 (PDT)
| Newsgroups | gmane.comp.apache.mod-wackamole.general |
|---|---|
| Message-ID | <[email protected]> |
Salaam,
I did some experimentation with wackamole and set up an =
active-active-passive cluster, say node A, node B and node C
I have assigned the following vip
192.168.0.1 to Node A
192.168.0.2 Node B
Node C is configured to take over any node that fails, The following is my =
conf file
For Node A
{code}
Spread =3D 4803
SpreadRetryInterval =3D 5s
Group =3D wack1
Control =3D /var/run/wackamole/wackamole.it
Prefer eth0:192.168.0.1/32
VirtualInterfaces {
=A0 =A0 =A0 =A0 eth0:192.168.0.1/32
}
Arp-Cache =3D 60s
balance {
=A0 =A0 =A0 =A0 AcquisitionsPerRound =3D all
=A0 =A0 =A0 =A0 interval =3D 4s
}
mature =3D 5s
{code}
For Node B the conf file is
{code}
Spread =3D 4803
SpreadRetryInterval =3D 5s
Group =3D wack1
Control =3D /var/run/wackamole/wackamole.it
Prefer eth0:192.168.0.2/32
VirtualInterfaces {
=A0 =A0 =A0 =A0 eth0:192.168.0.2/32
}
Arp-Cache =3D 60s
balance {
=A0 =A0 =A0 =A0 AcquisitionsPerRound =3D all
=A0 =A0 =A0 =A0 interval =3D 4s
}
mature =3D 5s
{code}
The conf file for the Node c ie the passive node is
{code}
Spread =3D 4803
SpreadRetryInterval =3D 5s
Group =3D wack1
Control =3D /var/run/wackamole/wackamole.it
Prefer None
VirtualInterfaces {
=A0 =A0 =A0 =A0 eth0:192.168.0.1/32
=A0 =A0 =A0 =A0 eth0:192.168.0.2/32
}
Arp-Cache =3D 60s
balance {
=A0 =A0 =A0 =A0 AcquisitionsPerRound =3D all
=A0 =A0 =A0 =A0 interval =3D 4s
}
mature =3D 5s
{code}
I have used prefer for Node A and Node B so that the Node C releases the VI=
P once the original node comes online
I tested this setup internally and it works just fine.
But when I tried to implement this in the live environment, problems starte=
d and the setup started behaving strangly, once the Node C takes up the ip =
from the Node A and B, it just never gives them back even after mentioning =
the Prefer directive
In the live environment the=A0 only difference is that
1) it is sub netted
2) switch has spanning tree enabled =
can someone please point out where I am going wrong ?
Thanks for your time.
R
Muhammed Sameer
=