Johan Hoeke wrote:
Just a quick suggestion, add debug 1 to your ha.cf file
And maybe a running
/usr/sbin/crm_verify -x /var/lib/heartbeat/crm/cib.xml
will turn up something.

Thanks, Johan. I hadn't found the crm_verify command (also, I assume you meant -X instead of -x as the argument?)

With the debug flag in my config, I get the following logs... still nothing useful to my eye:
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(keepalive,1)
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(deadtime,5)
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(initdead,60)
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(udpport,694)
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(ping,192.168.42.8)
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(bcast,eth1)
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(auto_failback,off)
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(node,ha1)
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(node,ha2)
heartbeat[18221]: 2008/03/28_15:27:17 debug: add_option(crm,respawn)
heartbeat[18221]: 2008/03/28_15:27:17 debug: uid=hacluster, gid=<null>
heartbeat[18221]: 2008/03/28_15:27:17 debug: uid=hacluster, gid=<null>
heartbeat[18221]: 2008/03/28_15:27:17 debug: uid=<null>, gid=haclient
heartbeat[18221]: 2008/03/28_15:27:17 debug: uid=root, gid=<null>
heartbeat[18221]: 2008/03/28_15:27:17 debug: uid=<null>, gid=haclient
heartbeat[18221]: 2008/03/28_15:27:17 ERROR: Heartbeat not started: configuration error. heartbeat[18221]: 2008/03/28_15:27:17 ERROR: Configuration error, heartbeat not started.
heartbeat[18221]: 2008/03/28_15:27:17 debug: Exiting from pid 18221 [rc=6]



crm_verify produces some interesting output, but I'm not quite sure what to do with it. The example configs and getting started guide don't mention ID's: crm_verify[18087]: 2008/03/28_15:26:16 ERROR: do_id_check:xml.c Detected <nvpair.../> object without an ID. Assigned: d379d23f-79eb-4e74-883c-8885be39fca8 crm_verify[18087]: 2008/03/28_15:26:16 ERROR: do_id_check:xml.c Detected <instance_attributes.../> object without an ID. Assigned: c4fb392a-a530-421b-b50d-cddba35dfbd7 crm_verify[18087]: 2008/03/28_15:26:16 ERROR: do_id_check:xml.c Detected <expression.../> object without an ID. Assigned: 5c1fd475-308c-4854-863a-873901bac6f2
crm_verify[18087]: 2008/03/28_15:26:16 ERROR: main:crm_verify.c ID Check failed
Errors found during check: config not valid
  -V may provide more details


Thanks again,
Eric
_______________________________________________
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