I am currently using Heartbeat v2 with a cib.xml file.

I need an Active/Standby (Master/Slave) configuration

I am a newbie and I need to connect my software to the heartbeat daemons
using the client library and then do check pointing between my 2
applications to get the standby node in sync.   

I found some docs and examples on the hb-api interface.  I connect
successfully using ll_cluster_new, signon, etc...  However, I don't know
how to know the current state of a node.  

I found from the crm_mon application source that there is also another
API to manage and work with nodes (cib.h).  It looks like the kind
interface is similar but not exactly the same.  


What are you suggesting for a "new" development?  Which API?  Like I
said, I need an Active/Standby implementation and I need to send data
from my application to do check pointing.  I need to be able to retrieve
the current state of my node.  I need to be able to do cooperative
switch-over.

Thanks!
Jean-Michel Audet



_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to