[Pacemaker] API for programmatically controlling a heartbeat 3 cluster?

martin.braun at icw.de martin.braun at icw.de
Thu Jun 18 13:47:46 UTC 2009


Hi All,

I want to be able to configure the CIB of a heartbeat/pacemaker cluster 
programmatically (Java).

I don't want to reinvent the PythonGUI - I just want to be able to change 
some basic settings like the Virtual-IP Address (i.e. changing resource's 
attributes),  set a node to standby  or getting some status messages from 
within a webbased application running inside the cluster. 

What would be the best practice for  this ? 
Are there any APIs (and some documentation) to communicate with 
heartbeat/pacemaker ? 
Or do I have to system.execute the cibadmin command providing 
xml-fragments ?

Thanks in advance,
Martin




InterComponentWare AG:  
Vorstand: Peter Reuschel (Vors.), Norbert Olsacher / Aufsichtsratsvors.: Prof. Dr. Christof Hettich  
Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516  



More information about the Pacemaker mailing list