I have recently set this up (with help from Sébastien) using Piranha on a pair
of Pogo-Linux servers (running Redhat Advanced Server). The set-up works well
and it may be worth checking out Piranha.
John M
-----Original Message-----
From: Peter Mueller [mailto:pmueller@xxxxxxxxxxxx]
Sent: Thursday, December 26, 2002 3:26 PM
To: 'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: Server Application with Primary Server & Backup Server
Gregor,
> 1. How can I trigger a failover between the primary server
> and the backup
> server?
> Must I turn of heartbeat with /etc/init.d/heartbeat stop or
> is ther another
> availability to do this? (Could it be done with the Heartbeat API?)
I asked the same question a while back and the response was to just
stop/start the service.
Not sure about the API, but hey that sounds like a reasonable thing for an
API to do ;). Perhaps the heartbeat mailing list might provide a clue:
http://marc.theaimsgroup.com/?l=linux-ha&r=1&w=2 <-- archive
"
send a message to linux-ha-subscribe@xxxxxx to subscribe to the list.
send a message to linux-ha-unsubscribe@xxxxxx to unsubscribe
"
> 2. If the primary server is back again, a handover from the
> backup server is
> triggered. Is it possible to prevent this behaviour? Or are there some
> reasons for doing this?
This is the nice_failback setting in ha.cf. Having lerked on the mailing
list @ linux-ha for a while I can tell you it seems the developers recommend
keeping this setting ON. Default is off..
> Please write some of your experiences with heartbeat mon &
> high availability
> that could help me!
It's worked good for me for 1.5 years. I use heartbeat + ldirectord + mon
and have lots of flexibility. Perhaps keepalived (http://keepalived.org)
might be worth looking into, maybe it fits your needs better. Also since
you indicated you are using DB's in this setup check out drdb to help keep
your disks in sync...
> Thanks, a late merry christmas ;-) and a happy new year (for those who
> celebrate this ...)
> Gregor Goestl
Cheers & same,
Peter
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|