[ClusterLabs] ethmonitor RA agent error. How can I fix this? (RHEL)

Confidential Company sgurovosa at gmail.com
Mon May 21 21:15:17 EDT 2018


I have two Virtual machines with two network interfaces.

See configuration below:

*eth0 - service network
*eth1 - heartbeat network

*vi /etc/hosts - RhelA(ip of eth1) / RhelB(ip of eth1)
*service firewalld stop

*pcs resource create VirtualIP ocf:heartbeat:IPaddr2 ip=(virtual ip)
cidr_netmas=32 op monitor interval =30s

*pcs resource create eth1-monitor ethmonitor interface=eth1 --clone

*pcs constraint location VirtualIP rule score=-INFINITY ethmonitor-ens192
ne 1

+++++++++++

I tried to ifdown eth0(service network). The result is:

1. VirtualIP resource switched to Node2
2. Got an error from pcs status, Error "unable to find nic...."
3. Even after a successful failover, error still exist

Since it automatically switced to Node2, my goal is to failover again to
Node1. This is what I did:

1. Enable eth0 of node1, wait for 15 seconds.
2. Disable eth0 of node2
2. VirtualIP resource got stopped
3. Even after enabling eth0 of node1, error from previous procedure still
exist.
4. Got an additional error, I have two errors now
5. VirtualIP resource doesn't start


Regards,

imnotarobot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20180522/37e5300f/attachment.html>


More information about the Users mailing list