On 21 Feb 2014, at 2:49 pm, Bob Haxo <bh...@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@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@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@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@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@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
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Pacemaker mailing list: Pacemaker@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