Hi

you should not touch /var/lib/heartbeat/crm/cib.xml manually. You should use "cibadmin" to load/change/delete your xml configuration while the cluster is running.

Regards
Dominik

RaSca wrote:
Hi everybody,
even if I'm an happy "version 1" user I've just decided to give a try to the 2.0 release of heartbeat.
I've this simple configuration in haresources :

mycluster-ha-1 IPaddr::10.175.90.112/24/eth0 drbddisk::drbd0 Filesystem::/dev/drbd0::/store::ext3 apache2 mysql

following the instructions i found here http://www.linux-ha.org/v2/Examples/Simple with this command :

python /usr/lib/heartbeat/haresources2cib.py /etc/ha.d/haresources

now i have a wonderful cib.xml in /var/lib/heartbeat/crm which seems to be the right conversion of the haresources file. It contains all the drbd, apache2 and mysql directives. Well, problems starts here : the file is the same on both (two) nodes, but when i start the heartbeat daemon (at the same time) on each node after some debug messages in /var/log/syslog it comes up with a simple configuration of two nodes and no other service on it. It change the content of the cib.xml file putting on it just what i think are the default lines for a basic startup, losing my oringinal cib.xml.

What's the matter ? Have i made some mistakes ?

Any help will be appreciated...

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