Corosync/pacemaker fencing issue
by mozer from LinuxQuestions.org on (#56S4D)
Hello all,
I've created a corosync/pacemaker cluster on Centos 8 with 3 Vmware nodes, everything runs as expected, i configured a floating ip among them, this responds well
Quote:
Now i want to set the fencing for the cluster following this (among others)
Quote:
With the following
Quote:
Everything goes well, no errors
Quote:
Problem comes when I try to test the fencing
Quote:
I receive
Quote:
This problem has been reported in redhat forums but unfortunately I don't have a user so I can't check the solution
I don't have DNS configured, servers resolv with hosts file, but this should be enough
Has anyone encounter this problem?
Can anyone please help?
Thanks


I've created a corosync/pacemaker cluster on Centos 8 with 3 Vmware nodes, everything runs as expected, i configured a floating ip among them, this responds well
Quote:
pcs status, Full List of Resources: * Cluster_VIP (ocf::heartbeat:IPaddr2): Started esba-cl-test-01 |
Quote:
https://access.redhat.com/solutions/3510461 |
Quote:
pcs stonith create vmfence fence_vmware_rest pcmk_host_map="esba-cl-test-01:vm-1;esba-cl-test-02:vm-2;esba-cl-test-03:vm-3" ipaddr=192.168.25.45 ssl=1 login=XXXX passwd=XXXX ssl_insecure=1 |
Quote:
Full List of Resources: * Cluster_VIP (ocf::heartbeat:IPaddr2): Started esba-cl-test-01 * vmfence (stonith:fence_vmware_rest): Started esba-cl-test-02 |
Quote:
stonith_admin --reboot esba-cl-test-03 |
Quote:
pacemaker-fenced[9403]: error: Operation 'reboot' targeting esba-cl-test-03 on <no-one> for stonith_admin.745607@esba-cl-test -01.8e1c6371: No route to host |
I don't have DNS configured, servers resolv with hosts file, but this should be enough
Has anyone encounter this problem?
Can anyone please help?
Thanks