[Linux-HA] Change the cib.xml under a live cluster
Andreas Kurz
akurz at sms.at
Thu Nov 2 08:27:16 MST 2006
> On a live cluster, I can change or modify the cib.xml file (and becouse
> I modify it I must delete the other files in /var/lib/heartbeat/crm/
> directory) and update the CIB with the "cat cib.xml | cibadmin -R -o
> resources".
no, no ... the changes take effect immediately and are propagated to all
nodes. it's best practice to verify the changes with "crm_verify -VX
yourchangedresources.xml" before an update with e.g. "cibadmin
--obj_type resources -R -x yourchangedresources.xml".
> And the another:
> When the heartbeat will restart, it will parse the new cib.xml (which i
> modified) and will work fine with the new resources.
of course, if you modify the cib.xml when the heartbeat cluster is
completely down. it is not advisable to manipulate the cib.xml by hand
when the cluster is online.
More information about the Linux-HA
mailing list