<div dir="ltr">With that in mind, I'd suggest upgrading to a newer pcs version if possible. If not, then you may have to do something more hack-y, like `pcs status | grep '(.*:.*):'`.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 3, 2021 at 1:26 PM Reid Wahl <<a href="mailto:nwahl@redhat.com">nwahl@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Looks like pcs-0.9 isn't fully compatible with pacemaker >= 2.0.3.</div><div> - <a href="https://github.com/ClusterLabs/pcs/commit/0cf06b79f6dcabb780ee1fa7fee0565d73789329" target="_blank">https://github.com/ClusterLabs/pcs/commit/0cf06b79f6dcabb780ee1fa7fee0565d73789329</a></div><div><br></div><div>The resource_status() function in older pcs versions doesn't match the lines in the crm_mon output of newer pacemaker versions.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 3, 2021 at 9:10 AM S Sathish S <<a href="mailto:s.s.sathish@ericsson.com" target="_blank">s.s.sathish@ericsson.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal">Hi Team,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In latest pacemaker version 2.0.5 we are not getting "pcs status resource" command output but in older version we used to get the output.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Kindly let us know any already command to get pcs full list resource.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>Latest Pacemaker version</b> :<u></u><u></u></p>
<p class="MsoNormal">pacemaker-2.0.5 --> <a href="https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-2.0.5" target="_blank">
https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-2.0.5</a><u></u><u></u></p>
<p class="MsoNormal">corosync-2.4.4 --> <a href="https://github.com/corosync/corosync/tree/v2.4.4" target="_blank">
https://github.com/corosync/corosync/tree/v2.4.4</a><u></u><u></u></p>
<p class="MsoNormal">pcs-0.9.169<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[root@node2 ~]# pcs status resources<u></u><u></u></p>
<p class="MsoNormal">[root@node2 ~]#<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>Older Pacemaker version</b> : <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">pacemaker-2.0.2 --> <a href="https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-2.0.2" target="_blank">
https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-2.0.2</a><u></u><u></u></p>
<p class="MsoNormal">corosync-2.4.4 --> <a href="https://github.com/corosync/corosync/tree/v2.4.4" target="_blank">
https://github.com/corosync/corosync/tree/v2.4.4</a><u></u><u></u></p>
<p class="MsoNormal">pcs-0.9.169<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[root@node1 ~]# pcs status resources<u></u><u></u></p>
<p class="MsoNormal">TOMCAT_node1 (ocf::provider:TOMCAT_RA): Started node1<u></u><u></u></p>
<p class="MsoNormal">HEALTHMONITOR_node1 (ocf::provider:HealthMonitor_RA): Started node1<u></u><u></u></p>
<p class="MsoNormal">SNMP_node1 (ocf::pacemaker:ClusterMon): Started node1<u></u><u></u></p>
<p class="MsoNormal">[root@node1 ~]#<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks and Regards,<u></u><u></u></p>
<p class="MsoNormal">S Sathish S<u></u><u></u></p>
</div>
</div>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Regards,<br><br></div>Reid Wahl, RHCA<br></div><div>Senior Software Maintenance Engineer, Red Hat<br></div>CEE - Platform Support Delivery - ClusterHA</div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Regards,<br><br></div>Reid Wahl, RHCA<br></div><div>Senior Software Maintenance Engineer, Red Hat<br></div>CEE - Platform Support Delivery - ClusterHA</div></div></div></div></div></div></div></div></div></div></div></div></div></div>