The corosync-cfgtool -a command prints the IP of the node where the command was run instead of the IP of the specified node in a Pacemaker cluster

Solution Verified - Updated -

Issue

  • The corosync-cfgtool -a <nodeid> command prints the IP address of the local node. It should print the address of the node passed as an argument.

    [root@fastvm-rhel-8-0-23 ~]# corosync-cfgtool -a node1
    192.168.22.23
    [root@fastvm-rhel-8-0-23 ~]# corosync-cfgtool -a node2
    192.168.22.23
    
  • The corosync-cfgtool -k command prints "Killing node 0" and doesn't kill the specified node.

Environment

  • Red Hat Enterprise Linux 7 (with the High Availability Add-on)
  • Red Hat Enterprise Linux 8 (with the High Availability Add-on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In