Hi Folks, I wrote a simple client by use of the Heartbeat client API and build it on the top of the heartbeat 3.0. My client is to form a simple private multi-node cluster and support autojoin.
------%<--segment of my ha.cf------ autojoin any apiauth myclient uid=root respawn root /usr/lib64/heartbeat/myclient ------%<------------------------------------- But I found the below error when I run my client. =========%<============ heartbeat[21726]: 2010/01/05_05:51:54 WARN: Deprecated 'legacy' auto_failback option selected. heartbeat[21726]: 2010/01/05_05:51:54 WARN: Please convert to 'auto_failback on'. heartbeat[21726]: 2010/01/05_05:51:54 WARN: See documentation for conversion details. heartbeat[21726]: 2010/01/05_05:51:54 WARN: logd is enabled but logfile/debugfile/logfacility is still configured in ha.cf heartbeat[21726]: 2010/01/05_05:51:54 ERROR: R1 style resource management conflicts with autojoin set heartbeat[21726]: 2010/01/05_05:51:54 ERROR: You need either unset autojoin or enable crm heartbeat[21726]: 2010/01/05_05:51:54 ERROR: Configuration error, heartbeat not started. heartbeat[21726]: 2010/01/05_05:51:54 debug: Exiting from pid 21726 [rc=6] ======%<=============== After check the code, I found the failure caused by heartbeat/config.c:r1_style_valid(). I don't know why my client was thought as "r1" (release 1) style by default and the "autojoin any" must be disabled in r1 style. Do you know how to make a "non-r1" style client and make my client support autojoin and multiple node at same time? Thanks -- Javen Wu _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
