Hi, <br><br>I've setup a two node cluster for testing using the "Clusters from Scratch - Apache, DRBD and GFS2" guide. I've set it up and fail over works like a charm, but I want one of the nodes to be a master; and fail back resources to the master when it comes back up. At the moment, the resource stays at the failed back node. configs:<br>
<br><br>node ULTPLN30.DMZ<br>node ULTPLN31.DMZ \<br>        attributes standby="off"<br>primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>        params ip="10.110.4.123" cidr_netmask="32" \<br>
        op monitor interval="30s"<br>property $id="cib-bootstrap-options" \<br>        dc-version="1.1.5-1.1.el5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f" \<br>        cluster-infrastructure="openais" \<br>
        expected-quorum-votes="2" \<br>        stonith-enabled="false" \<br>        no-quorum-policy="ignore"<br><br><br>xml:<br><br><?xml version="1.0" ?><br><cib admin_epoch="0" cib-last-written="Wed Mar 16 12:00:35 2011" crm_feature_set="3.0.5" dc-uuid="ULTPLN30.DMZ" epoch="42" have-quorum="0" num_updates="84" validate-with="pacemaker-1.2"><br>
  <configuration><br>    <crm_config><br>      <cluster_property_set id="cib-bootstrap-options"><br>        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.5-1.1.el5-01e86afaaa6d4a8c4836f68df80ababd6ca3902f"/><br>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="openais"/><br>        <nvpair id="cib-bootstrap-options-expected-quorum-votes" name="expected-quorum-votes" value="2"/><br>
        <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/><br>        <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/><br>
      </cluster_property_set><br>    </crm_config><br>    <nodes><br>      <node id="ULTPLN30.DMZ" type="normal" uname="ULTPLN30.DMZ"/><br>      <node id="ULTPLN31.DMZ" type="normal" uname="ULTPLN31.DMZ"><br>
        <instance_attributes id="nodes-ULTPLN31.DMZ"><br>          <nvpair id="nodes-ULTPLN31.DMZ-standby" name="standby" value="off"/><br>        </instance_attributes><br>
      </node><br>    </nodes><br>    <resources><br>      <primitive class="ocf" id="ClusterIP" provider="heartbeat" type="IPaddr2"><br>        <instance_attributes id="ClusterIP-instance_attributes"><br>
          <nvpair id="ClusterIP-instance_attributes-ip" name="ip" value="10.110.4.123"/><br>          <nvpair id="ClusterIP-instance_attributes-cidr_netmask" name="cidr_netmask" value="32"/><br>
        </instance_attributes><br>        <operations><br>          <op id="ClusterIP-monitor-30s" interval="30s" name="monitor"/><br>        </operations><br>      </primitive><br>
    </resources><br>    <constraints/><br>  </configuration><br></cib><br><br><br>corosync.conf:<br><br># Please read the corosync.conf.5 manual page<br>compatibility: whitetank<br><br>totem {<br>        version: 2<br>
        secauth: off<br>        threads: 0<br>        interface {<br>                ringnumber: 0<br>bindnetaddr: 10.110.4.120<br>mcastaddr: 226.94.1.1<br>mcastport: 4000<br>        }<br>}<br><br>logging {<br>        fileline: off<br>
        to_stderr: no<br>        to_logfile: yes<br>        to_syslog: yes<br>        logfile: /var/log/cluster/corosync.log<br>        debug: off<br>        timestamp: on<br>        logger_subsys {<br>                subsys: AMF<br>
                debug: off<br>        }<br>}<br><br>amf {<br>        mode: disabled<br>}<br>aisexec{<br>  user:  root<br>  group: root<br>}<br>service{<br># Load the Pacemaker Cluster Resource Manager<br>name: pacemaker<br>
ver: 0<br>}<br><br><br>Thanks in advance. <br><br clear="all"><br>-- <br>Cheers, <br><br>Sam Pinar<br><br>m 0401 245 390<br>e <a href="mailto:sampinar@gmail.com">sampinar@gmail.com</a><br>