LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

3-nodes active backup

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: 3-nodes active backup
From: Shinichi Kido <shin@xxxxxxxxxxxxxxx>
Date: Tue, 22 Jun 2004 21:37:01 +0900
Thanks to kind members supporting this mailing list,
I became to compose two nodes active-backup cluster
using  heartbeat.

Now, I'm  thinking if it is possible to compose 3-nodes active backup 
(1 active and 2 backup), I can achieve the higher reliability and cost
effectiveness at once.

Is it possible ?

In my case, it seems like doesn't work well.
(eth0:0 of two nodes comes up together when fail-over occurs)

※ I'm using : heartbeat 1.22 
                ldirectord 1.77.22
                ip_vs    1.02

※ ha.cf

logfile /var/log/ha-log
logfacility local0
auto_failback off
keepalive 2
#deadtime 15
deadtime 5
bcast eth0
#udpport 694
#udp eth0
node kidotest3
node kidotest2
node kidotest1


※ Error log(/var/log/ha-log) which comes up following to
   the command "/etc/init.d/heartbeat start" on kidotest1
   and kidotest2 (both the backup)


heartbeat: 2004/06/22_21:16:06 info: Link kidotest2:eth0 up.

heartbeat: 2004/06/22_21:16:06 info: Status update for node kidotest2: status up
heartbeat: 2004/06/22_21:16:06 info: Running /etc/ha.d/rc.d/status status
heartbeat: 2004/06/22_21:16:18 WARN: 1 lost packet(s) for [kidotest2] [7:9]
heartbeat: 2004/06/22_21:16:18 info: Status update for node kidotest2: status ac
tive
heartbeat: 2004/06/22_21:16:18 info: No pkts missing from kidotest2!
heartbeat: 2004/06/22_21:16:18 info: Running /etc/ha.d/rc.d/status status
heartbeat: 2004/06/22_21:16:18 info: remote resource transition completed.
heartbeat: 2004/06/22_21:16:18 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:16:18 ERROR: Both machines own foreign resources!
heartbeat: 2004/06/22_21:16:18 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:16:18 ERROR: Both machines own foreign resources!
heartbeat: 2004/06/22_21:16:18 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:16:18 ERROR: Both machines own foreign resources!
heartbeat: 2004/06/22_21:16:18 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:16:18 ERROR: Both machines own foreign resources!

heartbeat: 2004/06/22_21:17:03 info: Heartbeat restart on node kidotest1

heartbeat: 2004/06/22_21:17:03 info: Link kidotest1:eth0 up.
heartbeat: 2004/06/22_21:17:03 info: Status update for node kidotest1: status up
heartbeat: 2004/06/22_21:17:03 info: Running /etc/ha.d/rc.d/status status
heartbeat: 2004/06/22_21:17:04 info: Status update for node kidotest1: status ac
tive
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own foreign resources!
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own foreign resources!
heartbeat: 2004/06/22_21:17:04 info: remote resource transition completed.
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own foreign resources!
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own foreign resources!
heartbeat: 2004/06/22_21:17:04 info: remote resource transition completed.
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own foreign resources!
heartbeat: 2004/06/22_21:17:04 info: Running /etc/ha.d/rc.d/status status
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own our resources!
heartbeat: 2004/06/22_21:17:04 ERROR: Both machines own foreign resources!



Regards.

<Prev in Thread] Current Thread [Next in Thread>