I need some help to figure out how wachamole works because it doesn't seem
to work the way I expect.
Basically I have one virtual ip address(a.b.c.1) that I want two machines
(machine A has IP address a.b.c.10 and machine B has IP address a.b.c.11).
The address are configured as hme0. I created alias hme0:1 on both
machine(ifconfig hme0:1 plumb). Spread is running fine on both machines.
In wackamole.conf file, if I have
vip a.b.c.1
of a.b.c.1
:
interface hme0:1
It complains about "Mar 20 17:07:17 gato Wackamole[13951]: [ID 835603
daemon.notice] set of all virtual ips missing in conf file".
If I use:
vip a.b.c.1
of a.b.c.1-2
:
interface hme0:1
and started wackamole in machine A, it gets the a.b.c.1 address.
Then when I started wackamole in machine B, it takes a.b.c.1 from machine
B. And machine A's hme0:1 would disappear. If I kill the wachamole process
in machine B, the hme0:1 interface also disapper. Then nothing happens
afterward.
Am I doing something wrong? How can I do the failover from machine A to
machine B and vice versa with the aliased virtual IP address.
Thanks!
Alex
to work the way I expect.
Basically I have one virtual ip address(a.b.c.1) that I want two machines
(machine A has IP address a.b.c.10 and machine B has IP address a.b.c.11).
The address are configured as hme0. I created alias hme0:1 on both
machine(ifconfig hme0:1 plumb). Spread is running fine on both machines.
In wackamole.conf file, if I have
vip a.b.c.1
of a.b.c.1
:
interface hme0:1
It complains about "Mar 20 17:07:17 gato Wackamole[13951]: [ID 835603
daemon.notice] set of all virtual ips missing in conf file".
If I use:
vip a.b.c.1
of a.b.c.1-2
:
interface hme0:1
and started wackamole in machine A, it gets the a.b.c.1 address.
Then when I started wackamole in machine B, it takes a.b.c.1 from machine
B. And machine A's hme0:1 would disappear. If I kill the wachamole process
in machine B, the hme0:1 interface also disapper. Then nothing happens
afterward.
Am I doing something wrong? How can I do the failover from machine A to
machine B and vice versa with the aliased virtual IP address.
Thanks!
Alex