[ClusterLabs] Antw: [EXT] pcs status command output consist of * in each line , is this expected behavior

Reid Wahl nwahl at redhat.com
Wed Feb 3 04:57:04 EST 2021


On Wed, Feb 3, 2021 at 1:50 AM Ulrich Windl <
Ulrich.Windl at rz.uni-regensburg.de> wrote:

> >>> S Sathish S <s.s.sathish at ericsson.com> schrieb am 02.02.2021 um 07:20
> in
> Nachricht
> <
> DBBPR07MB73888356F8692D07D195FFB6D5B59 at DBBPR07MB7388.eurprd07.prod.outlook.com
> >
>
> > Hi Team,
> >
> > we have taken latest pacemaker version after that we found pcs status
> > command output consist of * in each line , is this expected behavior.
> >
> > https://github.com/ClusterLabs/pacemaker/tree/Pacemaker‑2.0.5
> >
> > pcs status command output :
> >
> > Cluster name: TEST
> > Cluster Summary:
> >   * Stack: corosync
> >   * Current DC: node1 (version 2.0.5‑ba59be7122) ‑ partition with quorum
> >   * Last updated: Tue Feb  2 06:20:14 2021
> >   * Last change:  Mon Feb  1 19:41:27 2021 by hacluster via crmd on node1
> >   * 1 node configured
> >   * 12 resource instances configured
> >
> > Node List:
> >   * Online: [ node1 ]
> >
> > Full List of Resources:
> >   * TOMCAT_node1      (ocf::provider:TOMCAT_RA):       Started node1
> >   * HEALTHMONITOR_node1       (ocf::provider:HealthMonitor_RA):
> > Started node1
> >   * SNMP_node1        (ocf::pacemaker:ClusterMon):     Started node1
> >
> > Daemon Status:
> >   corosync: active/enabled
> >   pacemaker: active/enabled
> >   pcsd: active/enabled
>
> Do me it seems as if "Daemon Staus" lacks the stars ;-)
>

Yep, pcs status calls crm_mon to do a lot of the work. The bulleted lists
that have stars are the output of crm_mon. The "Daemon Status" section is
appended by pcs after crm_mon has run; it's not part of crm_mon.

I wonder if there's any plan to add stars to pcs indentation, to match the
crm_mon output.

Actually crm_mon oputputs those stars:
>
> # crm_mon -1Arfj
> Cluster Summary:
>   * Stack: corosync
>   * Current DC: h16 (version
> 2.0.4+20200616.2deceaa3a-3.3.1-2.0.4+20200616.2deceaa3a) - partition with
> quorum
>   * Last updated: Wed Feb  3 09:52:39 2021
>   * Last change:  Wed Feb  3 09:52:36 2021 by hacluster via crmd on h16
> ...
>
> >
> >
> > Thanks and Regards,
> > S Sathish S
>
>
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/
>


-- 
Regards,

Reid Wahl, RHCA
Senior Software Maintenance Engineer, Red Hat
CEE - Platform Support Delivery - ClusterHA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20210203/ec0f6673/attachment.htm>


More information about the Users mailing list