[ClusterLabs] List of all attributes of a cluster node

John Gogu ionut.gogu at gmail.com
Fri Apr 17 07:16:15 UTC 2015


Hello,
i am using in my lab RHEL6.6, pacemaker-1.1.12-4.el6,
pcs-0.9.123-9.0.1.el6, cman-3.0.12.1-68.el6, and i did not manage to list
all attributes of a cluster node.

pcs property > will list only the last attribute set up:

[root at node01 ~]# date;pcs property | grep -A 100 Attributes
Fri Apr 17 10:12:05 EEST 2015
Node Attributes:
 node01hb0: standby=on

[root at node01 ~]# pcs property set --node node01hb0 attr1=test1

[root at node01 ~]# date;pcs property | grep -A 100 Attributes
Fri Apr 17 10:12:40 EEST 2015
Node Attributes:
 node01hb0: attr1=test1

[root at node01 ~]# pcs property set --node node01hb0 attr2=test2

[root at node01 ~]# date;pcs property | grep -A 100 Attributes
Fri Apr 17 10:13:35 EEST 2015
Node Attributes:
 node01hb0: attr2=test2

There is another possibility to list all attribute except "pcs cluster cib"
and search into the CIB ?


Thank you,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20150417/54aebf04/attachment-0003.html>


More information about the Users mailing list