Hi,

any chance to update to version 3?
2.1.3 is really very old & buggy!


HTH


Nikita Michalko


Am Donnerstag 19 Mai 2011 19:25:54 schrieb 吴鸿宇:
> Hi All,
> 
> I have a 2 node cluster. My intention is ensuring the VIP is always on the
> node that has httpd running, i.e. if service httpd on the VIP node is
> stopped and fails to start, the VIP should switch to the other node.
> 
> With the configuration below, I observed that when httpd stops and fails to
> start, the VIP is stopped also but is not switched to the other node that
> has healthy httpd. I appreciate any ideas.
> 
>  <cib generated="false" admin_epoch="0" have_quorum="true"
> ignore_dtd="false" num_peers="0" cib_feature_revision="2.0" epoch="28"
> num_updates="1" cib-last-written="Thu May 19 08:48:49 2011"
> ccm_transition="1">
>    <configuration>
>      <crm_config>
>        <cluster_property_set id="cib-bootstrap-options">
>          <attributes>
>            <nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
> value="2.1.3-node: *********************************"/>
>            <nvpair id="cib-bootstrap-options-cluster-delay"
> name="cluster-delay" value="60s"/>
>            <nvpair id="cib-bootstrap-options-default-resource-stickiness"
> name="default-resource-stickiness" value="INFINITY"/>
>          </attributes>
>        </cluster_property_set>
>      </crm_config>
>      <nodes>
>        <node id="*********************************" uname="node1"
> type="normal"/>
>        <node id="*********************************" uname="node2"
> type="normal"/>
>      </nodes>
>      <resources>
>        <primitive id="vip" class="ocf" type="IPaddr" provider="heartbeat">
>          <operations>
>            <op id="vip-check" name="monitor" interval="3s"/>
>          </operations>
>          <instance_attributes id="*********************************">
>            <attributes>
>              <nvpair id="IP1_attr_0" name="ip" value="*********"/>
>              <nvpair id="IP1_attr_1" name="netmask" value="19"/>
>              <nvpair id="IP1_attr_2" name="nic" value="eth0"/>
>            </attributes>
>          </instance_attributes>
>        </primitive>
>        <clone id="httpd_clone">
>          <instance_attributes id="7f9ba44b-5157-414d-bf12-cb94cd6bb043">
>            <attributes>
>              <nvpair id="httpd-unique" name="globally-unique"
> value="false"/>
>            </attributes>
>          </instance_attributes>
>          <primitive id="httpd" class="lsb" type="httpd">
>            <operations>
>              <op id="httpd_mon" name="status" interval="2s" timeout="30s"/>
>            </operations>
>          </primitive>
>        </clone>
>      </resources>
>      <constraints>
>        <rsc_colocation id="httpd_on_vip" to="httpd_clone" from="vip"
> score="INFINITY"/>
>        <rsc_order id="order" from="vip" to="httpd_clone"/>
>      </constraints>
>    </configuration>
>  </cib>
> 
> Thanks a lot,
> Henry
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
> 
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to