0

Two nodes:

  • 192.168.0.1
  • 192.168.0.2

Both of them installed and started:

yum install pacemaker pcs
passwd hacluster
(Set the same password)
systemctl enable pcsd.service
systemctl start pcsd.service

When authenticating the cluster nodes:

(On node 1)
psc cluster auth 192.168.0.1 192.168.0.2
(Output)
Username: hacluster
Password:
Error: Unable to communicate with 192.168.0.2
192.168.0.1: Authorized

Why can't authenticate node2?

0

The reason is didn't set right hostname in /etc/hosts.

192.168.0.1 node1
192.168.0.2 node2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.