[Pacemaker] Re: [Linux-HA] the crm command line interface

Dejan Muhamedagic dejanmm at fastmail.fm
Fri Sep 5 14:29:24 EDT 2008


On Fri, Sep 05, 2008 at 10:54:01AM -0600, Serge Dubrouski wrote:
> On Fri, Sep 5, 2008 at 10:38 AM, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> > Hi Serge,
> >
> > On Fri, Sep 05, 2008 at 09:42:41AM -0600, Serge Dubrouski wrote:
> >> Hello -
> >>
> >> It's a really great tool. Great job!
> >
> > Thanks.
> >
> >> Here are my expirience
> >> (pacemaker-0.6.5-2.2 + Heartbeat 2.1.3-23.1:
> >>
> >> Nodes.
> >>
> >> 1. Status and Show Node show the exactly the same information. Even
> >> when you provide node name in show command it shows all nodes. Is it
> >> supposed so?
> >
> > No. Actually, I'm looking for input here. Don't exactly know
> > what's interesting for users. There are two kinds of information:
> > provided by the CIB (node type and node attributes) and by
> > crmadmin (if the node's online and if it is DC).
> >
> >> cib.
> >>
> >> Couldn't test it because crm_shadow wasn't found. Looks like it's a new tool.
> >
> > Yes. That's a very useful new thing provided by Andrew. It
> > basically allows you to test the configuration out of the
> > cluster.
> >
> >> Resource.
> >>
> >> 1. Status without parameters shows a list of resources but doesn't
> >> show the real status of them onlinr/stopped.
> >
> > Hmm. Strange. Here it says:
> >
> > crm(live)# resource status
> > Resource Group: g1
> >    ip2 (ocf::heartbeat:IPaddr) Started
> 
> Here is what it says here:
> 
> Clone Set: DoFencing
>     child_DoFencing:0   (stonith:external/xen0)
>     child_DoFencing:1   (stonith:external/xen0)
> Master/Slave Set: ms-drbd0
>     drbd0:0     (ocf::heartbeat:drbd)
>     drbd0:1     (ocf::heartbeat:drbd)
> Resource Group: myGroup
>     myIP        (ocf::heartbeat:IPaddr)
>     fs0 (ocf::heartbeat:Filesystem)
>     myPgsql     (ocf::heartbeat:pgsql)
> 
> And when I stop a resource it shows the same. But that's probably
> because I have 0.6.5.

Yes, looks like that changed too. I'll see if there's something
else available.

Thanks,

Dejan




More information about the Pacemaker mailing list