[Pacemaker] Access CIB/CRM via IPC/Library?

Colin colin.hch at gmail.com
Fri Oct 9 13:26:27 UTC 2009


Hi All,

after having understood the concepts (if not all details) of
configuring Pacemaker ("Configuration Explained" does a good job) I
started checking out how to actually create/activate a configuration.

Seems that there's some GUI (wherever it is, it's not included in my
packages, but we don't need it anyhow) and the command-line utilities
crm and cibadmin. However what we really need is a more direct access
in order to programmatically change the cluster configuration [without
calling out to the command-line utilities from Python or C].

It also seems that crm and cibadmin use libcrmcommon to communicate
via the Unix sockets in /var/run/crm. Is this library documented
anywhere? Are there Python-bindings? Is there any other officially
supported API?

Thanks, Colin




More information about the Pacemaker mailing list