On Jan 23, 2006, at 10:01 PM, 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.

You can modify the CIB at runtime with the cibadmin tool
You *really* shouldn't be modifying the on disk version.

see: http://linux-ha.org/v2/AdminTools

--
Andrew Beekhof

"And I'd find myself if I knew where myself left me" - MGF


_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to