[Pacemaker] "pcs cluster status" options seems to not work
Bob Haxo
bhaxo at sgi.com
Sat Feb 22 00:04:34 UTC 2014
> This one is at least a typo ...
Andrew, yes a typo, but sans typo, same result: the variants do not
vary.
Chris, the output of "pcs status" is the same as "crm_mon -1r" (within
the calibration of my eyes).
Problem for scripting with this ...
Clone Set: clusterfs-clone [clusterfs]
Started: [ mici-admin-ptp mici-admin2-ptp ]
Clone Set: libvirtd-clone [libvirtd]
Started: [ mici-admin-ptp mici-admin2-ptp ]
... is that the information for each clone is displayed on different
lines. Easier to search single lines as with the output of "crm
resource show <resource>".
But not much easier: using "grep --after-context=1" works for the
checking the output of "pcs status". A bit of mental laziness on my
part. And I had gotten accustomed to the crm output.
Bob Haxo
On Fri, 2014-02-21 at 01:47 -0500, Chris Feist wrote:
> > [root at mici-admin ~]# crm resource show libvirtd-clone
> > resource libvirtd-clone is running on: mici-admin-ptp
> > resource libvirtd-clone is running on: mici-admin2-ptp
> >
> > ... but does not use crmsh.
> >
> >
> > [root at mici-admin ~]# pcs cluster status
>
> Can you try 'pcs status'? Does that give you better output?
>
> > Cluster Status:
> > Last updated: Thu Feb 20 21:43:53 2014
> > Last change: Thu Feb 20 18:56:35 2014 via crm_resource on mici-admin-ptp
> > Stack: cman
> > Current DC: mici-admin2-ptp - partition with quorum
> > Version: 1.1.10-14.el6_5.2-368c726
> > 2 Nodes configured
> > 8 Resources configured
> >
> > PCSD Status:
> > Error: no nodes found in corosync.conf
> > [root at mici-admin ~]# pcs cluster status cluster
> > Cluster Status:
> > Last updated: Thu Feb 20 21:44:03 2014
> > Last change: Thu Feb 20 18:56:35 2014 via crm_resource on mici-admin-ptp
> > Stack: cman
> > Current DC: mici-admin2-ptp - partition with quorum
> > Version: 1.1.10-14.el6_5.2-368c726
> > 2 Nodes configured
> > 8 Resources configured
> >
> > PCSD Status:
> > Error: no nodes found in corosync.conf
> > [root at mici-admin ~]# pcs cluster status rewources
> > Cluster Status:
> > Last updated: Thu Feb 20 21:44:18 2014
> > Last change: Thu Feb 20 18:56:35 2014 via crm_resource on mici-admin-ptp
> > Stack: cman
> > Current DC: mici-admin2-ptp - partition with quorum
> > Version: 1.1.10-14.el6_5.2-368c726
> > 2 Nodes configured
> > 8 Resources configured
> >
> > PCSD Status:
> > Error: no nodes found in corosync.conf
> >
> > Bob Haxo
> >
> >
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> >
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
More information about the Pacemaker
mailing list