Hello All, <br><br>I have a cluster with two nodes running one service (mysql). The two nodes uses a ISCSI disk with gfs on it. <br>I havenīt configured fencing at all. <br><br>I have tested diferent situtations of fail and these are my results:<br>
<br>If I halt node1 the service relocates to node2 - OK<br>if I kill the process in node1 the services relocate to node2 - OK<br><br>but<br><br>if I unplug the wire of the ether device or make ifdown eth0 on node1 all the cluster fails. The service doesnīt relocate. <br>
In node2 I get the messages:<br><br>Feb 15 13:29:34 localhost fenced[3405]: fencing node "192.168.1.188"<br>Feb 15 13:29:34 localhost fenced[3405]: fence "192.168.1.188" failed<br>Feb 15 13:29:39 localhost fenced[3405]: fencing node "192.168.1.188"<br>
Feb 15 13:29:39 localhost fenced[3405]: fence "192.168.1.188" failed<br><br>again and again. The node2 never runs the service and I try to reboot the node1 the computer hangs waiting for stopping the services. <br>
<br>In this situation all I can do is to switch off the power of node1 and reboot the node2. This situation is not acceptable at all. <br><br>I think the problem is just with fencing but I dont know how to apply to this situation ( I have RTFM from redhat site but I have seen how to apply it. :-( )<br>
<br>this is my cluster.conf file<br><br><cluster alias="MICLUSTER" config_version="62" name="MICLUSTER"><br> <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/><br>
<clusternodes><br> <clusternode name="node1" nodeid="1" votes="1"><br> <fence/><br> </clusternode><br> <clusternode name="node2" nodeid="2" votes="1"><br>
<fence/><br> </clusternode><br> </clusternodes><br> <cman expected_votes="1" two_node="1"/><br> <fencedevices/><br>
<rm><br> <failoverdomains><br> <failoverdomain name="DOMINIOFAIL" nofailback="0" ordered="0" restricted="1"><br> <failoverdomainnode name="node1" priority="1"/><br>
<failoverdomainnode name="node2" priority="1"/><br> </failoverdomain><br> </failoverdomains><br> <resources/><br>
<service domain="DOMINIOFAIL" exclusive="0" name="BBDD" revovery="restart"><br> <mysql config_file="/etc/my.cnf" listen_address="" mysql_options="" name="mydb" shutdown_wait="3"/><br>
<ip address="192.168.1.183" monitor_link="1"/><br> </service><br> </rm><br></cluster><br><br>Any idea? references?<br><br>Thanks in advance<br>
<br>Greetings<br><br>ESG<br><br><br><br>