<br><br>
<div class="gmail_quote">2009/2/12 ESGLinux <span dir="ltr"><<a href="mailto:esggrupos@gmail.com">esggrupos@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello all, <br><br>I´m testing a cluster using luci as admin tool. I have configured 2 nodes with 2 services http + mysql. This configuration works almost fine. I have the services running on the node1<br>
 and y reboot this node1. Then the services relocates to node2 and all contnues working but, when the node1 goes up all the services stops. <br><br>I think that the node1, when comes alive, tries to run the services and that makes the services stops, can it be true? I think node1 should not start anything because the services are running in node2. <br>
<br>Perphaps is a problem with the configuration, perhaps with fencing (i have not configured fencing at all)<br><br>here is my cluster.conf. Any idea? <br><br>Thanks in advace<br><br>ESG<br><br><br><?xml version="1.0"?><br>
<cluster alias="MICLUSTER" config_version="29" 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" ordere<br>d="1" restricted="1"><br>                             <strong> <font size="4">  <failoverdomainnode name="node1" priority="1"/><br>
</font></strong><font size="4">                               </font><strong><font size="4"> <failoverdomainnode name="node2" priority="2"/><br></font></strong>                        </failoverdomain><br>
                </failoverdomains><br>                <resources><br>                        <ip address="192.168.1.183" monitor_link="1"/><br>                </resources><br>                <service autostart="1" domain="DOMINIOFAIL" exclusive="0" name="<br>
HTTP" recovery="relocate"><br>                        <apache config_file="conf/httpd.conf" name="http" server<br>_root="/etc/httpd" shutdown_wait="0"/><br>                        <ip ref="192.168.1.183"/><br>
                </service><br>                <service autostart="1" domain="DOMINIOFAIL" exclusive="0" name="<br>BBDD" recovery="relocate"><br>                        <mysql config_file="/etc/my.cnf" listen_address="192.168<br>
.1.183" name="mydb" shutdown_wait="0"/><br>                        <ip ref="192.168.1.183"/><br>                </service><br>        </rm><br></cluster><br><br>
<br>--<br>Linux-cluster mailing list<br><a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</blockquote></div>
<div><br>Hi ESG,</div>
<div> </div>
<div>Offcoures, as you have defined the priority of node1 as 1 and node2 as 2, so node1 is having more priority, so whenever it will be up, it will try to  run the service on itself and so it will relocate the service from node2 to node1.</div>

<div> </div>
<div> </div>
<div>Re,</div>
<div>Rajveer Singh</div>