[Pacemaker] API for programmatically controlling a heartbeat3cluster?
Dejan Muhamedagic
dejanmm at fastmail.fm
Mon Jun 22 10:07:04 UTC 2009
Hi,
On Mon, Jun 22, 2009 at 11:15:29AM +0200, martin.braun at icw.de wrote:
> Hi Thomas,
>
> > what about the following cli tools:
> >
> > - crm
> > - crm_resource
> > - crm_standby
> > - crm_mon
> > - crm_*
>
> I know that I can do anything with these tools - but I thought about
> something more "direct", like SOAP, RPC etc.
There's a possibility to connect over the network to the cib and
then to use the standard cli tools. See the advanced
configuration section in the "Configuration explained" document.
> How is the Python-GUI doing all this - is the mgmtd just a wrapper of
> these tools?
No, but it should be. There's a plan to do that soon.
Thanks,
Dejan
> Thanks,
> Martin
>
>
> Thomas Mueller <thomas at chaschperli.ch> wrote on 21.06.2009 00:41:49:
>
> > [image removed]
> >
> > Re: [Pacemaker] API for programmatically controlling a heartbeat 3
> cluster?
> >
> > Thomas Mueller
> >
> > to:
> >
> > pacemaker
> >
> > 21.06.2009 00:43
> >
> > [image removed]
> >
> > From:
> >
> > Thomas Mueller <thomas at chaschperli.ch>
> >
> > To:
> >
> > pacemaker at clusterlabs.org
> >
> > Please respond to pacemaker at oss.clusterlabs.org
> >
> >
> > > 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 ?
> >
> > what about the following cli tools:
> >
> > - crm
> > - crm_resource
> > - crm_standby
> > - crm_mon
> > - crm_*
> >
> > - Thomas
> >
> >
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> 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
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
More information about the Pacemaker
mailing list