Re: monitor multiple IP address

Simon Horman <[email protected]> Wed, 1 Oct 2008 13:41:33 +1000
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
On Wed, Oct 01, 2008 at 09:55:14AM +0800, Ron wrote:
> 
> Hi,
> 
> I would like o know if it's possible to for heartbeat to monitor 
> multiple ip address from one node
> 
> e.g my server has 2 NIC, one is on pubic IP one is on private.
> 
> 
> db-mngr \
>          ldirectord::ldirectord.cf \
>          LVSSyncDaemonSwap::master \
>          IPaddr2::10.10.10.216/28/eth1/10.10.10.223
> 
> web-mngr \
>          ldirectord::ldirectord.cf \
>          LVSSyncDaemonSwap::master \
>          IPaddr2::201.202.203.216/28/eth0/201.202.203.223
> 
> when that server fails i simply want to detect it, then takeover by the 
> other server. possible?

Hi Ron,

yes it is possible. But you probably want to put both addresses
in the same group. Something like this.

db-mngr \
         ldirectord::ldirectord.cf \
         LVSSyncDaemonSwap::master \
         IPaddr2::10.10.10.216/28/eth1/10.10.10.223 \
         IPaddr2::201.202.203.216/28/eth0/201.202.203.223

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en

_______________________________________________
Ultramonkey-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/ultramonkey-users