[Pacemaker] Newcomer's question - API?

Rasto Levrinc rasto.levrinc at gmail.com
Wed Nov 2 08:15:01 UTC 2011


On Tue, Nov 1, 2011 at 12:29 PM, Tim Ward <Tim.Ward at ipaccess.com> wrote:
> I have found documentation on how to drive Pacemaker from the command
> line, but nothing about how to drive it from code, specifically Java.
>
> Clearly there must be some such mechanism, as I see mention of GUI
> managers which do just that.

As others have mentioned it uses cibadmin, crm_resource, etc. commands via
ssh.

Other than that there is an option to connect to cib remotely. It wasn't
an option for me, because it would require a change in user
configuration. I guess
since nobody is using it and if it is still there, it would require
some fixing. :)

For completeness sake there's also mgmtd that comes the closest to what you
need, but that's on it's way out.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/




More information about the Pacemaker mailing list