[ClusterLabs] pacemaker 2.0.5 version pcs status resources command is not working

Tomas Jelinek tojeline at redhat.com
Thu Feb 4 05:20:33 EST 2021


Hi,

pcs-0.9 does not support pacemaker => 2.0.0. You can go with pcs-0.9 + 
corosync < 3 + pacemaker 1.x OR pcs-0.10 + corosync 3.x + pacemaker 2.x. 
Combination of corosync 2 + pacemaker 2 is not supported in any pcs 
version, even though it may work to some degree.

Regards,
Tomas


Dne 03. 02. 21 v 22:28 Reid Wahl napsal(a):
> 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 '(.*:.*):'`.
> 
> On Wed, Feb 3, 2021 at 1:26 PM Reid Wahl <nwahl at redhat.com 
> <mailto:nwahl at redhat.com>> wrote:
> 
>     Looks like pcs-0.9 isn't fully compatible with pacemaker >= 2.0.3.
>        -
>     https://github.com/ClusterLabs/pcs/commit/0cf06b79f6dcabb780ee1fa7fee0565d73789329
>     <https://github.com/ClusterLabs/pcs/commit/0cf06b79f6dcabb780ee1fa7fee0565d73789329>
> 
>     The resource_status() function in older pcs versions doesn't match
>     the lines in the crm_mon output of newer pacemaker versions.
> 
>     On Wed, Feb 3, 2021 at 9:10 AM S Sathish S <s.s.sathish at ericsson.com
>     <mailto:s.s.sathish at ericsson.com>> wrote:
> 
>         Hi Team,____
> 
>         __ __
> 
>         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.____
> 
>         __ __
> 
>         Kindly let us know any already command to get pcs full list
>         resource.____
> 
>         __ __
> 
>         *Latest Pacemaker version* :____
> 
>         pacemaker-2.0.5 -->
>         https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-2.0.5
>         <https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-2.0.5>____
> 
>         corosync-2.4.4 -->
>         https://github.com/corosync/corosync/tree/v2.4.4
>         <https://github.com/corosync/corosync/tree/v2.4.4>____
> 
>         pcs-0.9.169____
> 
>         __ __
> 
>         [root at node2 ~]# pcs status resources____
> 
>         [root at node2 ~]#____
> 
>         __ __
> 
>         *Older Pacemaker version* : ____
> 
>         __ __
> 
>         pacemaker-2.0.2 -->
>         https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-2.0.2
>         <https://github.com/ClusterLabs/pacemaker/tree/Pacemaker-2.0.2>____
> 
>         corosync-2.4.4 -->
>         https://github.com/corosync/corosync/tree/v2.4.4
>         <https://github.com/corosync/corosync/tree/v2.4.4>____
> 
>         pcs-0.9.169____
> 
>         __ __
> 
>         [root at node1 ~]# pcs status resources____
> 
>         TOMCAT_node1 (ocf::provider:TOMCAT_RA):      Started node1____
> 
>         HEALTHMONITOR_node1  (ocf::provider:HealthMonitor_RA):      
>         Started node1____
> 
>         SNMP_node1   (ocf::pacemaker:ClusterMon):    Started node1____
> 
>         [root at node1 ~]#____
> 
>         __ __
> 
>         Thanks and Regards,____
> 
>         S Sathish S____
> 
>         _______________________________________________
>         Manage your subscription:
>         https://lists.clusterlabs.org/mailman/listinfo/users
>         <https://lists.clusterlabs.org/mailman/listinfo/users>
> 
>         ClusterLabs home: https://www.clusterlabs.org/
>         <https://www.clusterlabs.org/>
> 
> 
> 
>     -- 
>     Regards,
> 
>     Reid Wahl, RHCA
>     Senior Software Maintenance Engineer, Red Hat
>     CEE - Platform Support Delivery - ClusterHA
> 
> 
> 
> -- 
> Regards,
> 
> Reid Wahl, RHCA
> Senior Software Maintenance Engineer, Red Hat
> CEE - Platform Support Delivery - ClusterHA
> 
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
> 
> ClusterLabs home: https://www.clusterlabs.org/
> 



More information about the Users mailing list