[Linux-HA] How to monitor a ip resource?

Christian Rishøj christian at rishoj.net
Sun Sep 2 04:44:06 MDT 2007


On 9/2/07, mingdao lu <mingdaolu at gmail.com> wrote:
> hi,all
>
> My server has two network interface: enet0 and enet1 and I used heartbeat to
> support one ip resource.
> At first, it run on enet0. When the enet0 not work, using the enet1 to run
> the ip resource.
> Could heartbeat do this and how to configure?

You could configure two IPaddr2 resources with the same IP address
(one for each network interface) and define a colocation rule on them
with -INFINITY, so that they would never run together.

Christian


More information about the Linux-HA mailing list