I have an IP address
as a resource. I have the ip address in a 2 node failover domain (total 4
nodes).
When i run ifconfig
eth0:1 down
The service shows as
stopped in clustat and the following errors show in the logs
Jun 1
12:25:36 <host> clurgmgrd[5346]: <warning> #71: Relocating
failed service mastervip
Jun 1 12:25:36 <host> clurgmgrd[5346]: <warning> #70: Attempting to restart service mastervip locally.
Jun 1 12:25:37 <host> clurgmgrd[5346]: <notice> Recovering failed service mastervip
Jun 1 12:25:37 <host> clurgmgrd[5346]: <notice> start on ip:192.168.2.100 returned 1 (generic error)
Jun 1 12:25:37 <host> clurgmgrd[5346]: <warning> #68: Failed to start mastervip; return value: 1
Jun 1 12:25:37 <host> clurgmgrd[5346]: <notice> Stopping service mastervip
Jun 1 12:25:37 <host> clurgmgrd[5346]: <notice> Service mastervip is stopped
Jun 1 12:25:36 <host> clurgmgrd[5346]: <warning> #70: Attempting to restart service mastervip locally.
Jun 1 12:25:37 <host> clurgmgrd[5346]: <notice> Recovering failed service mastervip
Jun 1 12:25:37 <host> clurgmgrd[5346]: <notice> start on ip:192.168.2.100 returned 1 (generic error)
Jun 1 12:25:37 <host> clurgmgrd[5346]: <warning> #68: Failed to start mastervip; return value: 1
Jun 1 12:25:37 <host> clurgmgrd[5346]: <notice> Stopping service mastervip
Jun 1 12:25:37 <host> clurgmgrd[5346]: <notice> Service mastervip is stopped
The following is the
resources in /etc/cluster.conf
<resources>
<clusterfs device="/dev/mapper/mqdata-mqdata" force_unmount="0" fsid="22567" fstype="gfs" mountpoint="/mqdata" name="mqdata" options=""/>
<ip address="192.168.2.100" interface="eth0" monitor_link="1"/>
</resources>
<clusterfs device="/dev/mapper/mqdata-mqdata" force_unmount="0" fsid="22567" fstype="gfs" mountpoint="/mqdata" name="mqdata" options=""/>
<ip address="192.168.2.100" interface="eth0" monitor_link="1"/>
</resources>
The service in
/etc/cluster.conf
<service autostart="1" domain="mysql" exclusive="1" name="mastervip"
recovery="relocate">
<ip ref="192.168.2.100"/>
</service>
<ip ref="192.168.2.100"/>
</service>
Any ideas?
Thanks,
Robert
Gil
Linux Systems
Administrator
American Home Mortgage
Phone:
631-622-8410
Cell: 631-827-5775
Fax:
516-495-5861
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster