[Pacemaker] "pcs cluster status" options seems to not work

Andrew Beekhof andrew at beekhof.net
Fri Feb 21 00:16:18 EST 2014


On 21 Feb 2014, at 2:49 pm, Bob Haxo <bhaxo at sgi.com> wrote:

> Per 3.5 of the Configuring the RH HA Add-on with Pacemaker document, these should return
> different information. They do not.
> 
> What I really need is something that gives this output so that
> I can quickly script a check whether a resource is running ...
> 
> [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
> 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

This one is at least a typo

> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140221/8845e510/attachment-0003.sig>


More information about the Pacemaker mailing list