Re: monitor multiple IP address

Ron <[email protected]> Thu, 02 Oct 2008 13:34:42 +0800
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
hi sir,

do i need to assign the 201.202.203.216 to loopback interface as well?
sorry got confused now.

regards,
ron

Simon Horman wrote:
> 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
> 
_______________________________________________
Ultramonkey-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/ultramonkey-users