Configure corosync with pacemaker on rocky 9

I think I found the problem, I used:

pcs cluster setup test_cluster --start server-2 server-1 --force

If I change this value inside corosync.conf to the actual IP, both servers are online.

ring0_addr: server-*

The hosts file looks like:

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 server-2
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.1.112 server-2
192.168.1.111 server-1

I noticed this problem with netstat. :grimacing:

udp        0      127.0.0.1:5405     0.0.0.0:*                           0          28920      2809/corosync