Balazs Scheidler wrote:
Hi,
We've been experimenting with heartbeat 2.0.x after using hb 1.x for
some time. Until now we generated /etc/ha.d/ha.cf
and /etc/ha.d/haresources files based on some settings configured on a
GUI interface. This worked nicely.
With heartbeat 2.0, haresources got replaced
with /var/lib/heartbeat/crm/cib.xml, but as it seems crmd writes to this
file and uses it to store the crm status as well.
My question is how to generate the CRM configuration file and how to
have its contents reloaded? And how to do this atomically without racing
with crmd itself?
Probably I'm missing something, I'd appreciate any pointers.
Thanks in advance.
There is a tool named haresources2cib.py installed in /usr/lib/heartbeat by
default.
It will convert haresources of heartbeat1 to cib.xml.
Please notice that you need stop all nodes before you put the cib.xml to all
nodes.
And there is a GUI tool for do some simple configuration when the cluster is
running.
Please refer to www.linux-ha.org/GuiGuide.
--
Best Regards,
Huang Zhen
Linux Technology Center
IBM China Development Lab, Beijing
Telno: (8610)82782244-2845
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/