[Linux-ha-dev] A proposal for setup and management tools
beekhof at gmail.com
Fri Dec 17 01:46:15 MST 2004
On Fri, 17 Dec 2004 11:08:00 +0800, Sun Jiang Dong <hasjd at cn.ibm.com> wrote:
> Andrew Beekhof wrote:
> >>1) Need to add client library for some daemons, such as crmd.
> >> It's not suitable to call a *admin*tools to interact with a daemon in another
> >>program written or a python binding library.
> > Can you clarify what you're saying here? I'm not convinced I
> > understand you accurately enough to comment.
> Formerly I think there should be a client lib of crmd for accessing some
> resource functions instead of using crmadmin.
> If I comprehend the following correctly, now to use the new CIB client API,
> we can manage the resource completely and get all information. So now the former
> issue doesn't exist any more. Right?
Well it depends how you look at it.
Certainly the CIB now has an API (in the more traditional sense of an
API) that people can use to configure the CRM, so thats a non issue.
The CRM also has what I would consider an API (others may differ in
that view), however it is based on messages (as defined in
crm-1.0.dtd) rather than function calls. crmadin is therefor only one
possible implementation of an admin tool for that API.
Does this make sense?
Perhaps there is value in creating a function based API for the CRM,
but as yet I'm not terribly convinced of that - particularly now that
the CIB has one which does pretty much everything anyway. I am open
to persuasion however.
> > Andrew
> > _______________________________________________________
> > Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> > Home Page: http://linux-ha.org/
> Sun Jiang Dong
More information about the Linux-HA-Dev