[ClusterLabs] show all node attribures

Jorge Lopes jmclopes at gmail.com
Thu Jul 16 22:07:00 CEST 2015


Hi all,

When I run crm_mon -A I get get a list of all nodes attributes. I couldn't
find a way to show the attributes of only one node, either with crm_mon or
other command. Any ideas?

I the (simplified) example bellow, I would like to a command that would
give me the node cluster-node4 attributes.

me at node1:~# crm_mon -A1
Last updated: Thu Jul 16 19:54:46 2015
Last change: Thu Jul 16 19:26:49 2015 via crmd on cluster
Stack: corosync
Current DC: cluster-node4 (1084803300) - partition with quorum
Version: 1.1.12-561c4cf
5 Nodes configured
15 Resources configured


Online: [ cluster-node4 cluster-node3 cluster-node2 cluster-node1
cluster-node5 ]

 sysinfo_ds    (ocf::pacemaker:SysInfo2):    Started cluster-node2
 sysinfo_db    (ocf::pacemaker:SysInfo2):    Started cluster-node4


Node Attributes:
* Node cluster-node4:
    + arch                                : x86_64
    + cpu_cores                           : 4
    + cpu_info                            : Intel(R) Xeon(R) CPU E5-2620 v2
@ 2.10GHz
    + cpu_load                            : 0.08,
    + cpu_speed                           : 4200.00
    + free_swap                           : 950
    + os                                  : Linux-3.13.0-44-generic
    + cluster_free                        : 68333
    + ram_free                            : 1550
    + ram_total                           : 3950
    + root_free                           : 3575
* Node cluster-node3:
* Node cluster-node2:
    + arch                                : x86_64
    + cpu_cores                           : 4
    + cpu_info                            : Intel(R) Xeon(R) CPU E5-2620 v2
@ 2.10GHz
    + cpu_load                            : 0.58,
    + cpu_speed                           : 4200.00
    + free_swap                           : 0
    + os                                  : Linux-3.13.0-44-generic
    + cluster_free                        : 58592
    + ram_free                            : 2050
    + ram_total                           : 3950
    + root_free                           : 4563
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://clusterlabs.org/pipermail/users/attachments/20150716/c4c4f77c/attachment.html>


More information about the Users mailing list