You need to look up the no-quorum-policy option.
On Thu, Dec 11, 2008 at 15:27, Divyarajsinh Jadeja <[email protected]> wrote: > Hi, > > I have Cluster of 4 nodes, Having 2 resources, slapd and IPaddr, > slapd_resource is having a Clone of slapd for 4 Nodes, single for each node. > IPaddr resource is for Virtual IP. > > When I start all Nodes, Cluster works fine. > When I stop a Master Node, Image, IParr gets transfered to Node Image2. > Still, It is fine. Heartbeat does expected. > > Noe, we are having 3 online nodes in our cluster. and 1 Offline. > But, Now, I have a problem. > > When I stop Image2 (or any other Nodes). > First IPaddr gets transfered to slave. > > Now, There are 2 Online nodes Image1 and Slave. > But, after 2-3 seconds. > *Both Nodes release the resource, although they are online.* > > > So, Please, I have question that, > Why and how can these Online Node stops the working Resources... > > Is this Bug ? > Please, Help me to solve this Issue. > > I have attached ha-debug file for each Node. (ended with Node Name). > > ----------------------------------- > > crm_mon -i 1 -n -V OUTPUT is, > > Refresh in 1s... > > ============ > Last updated: Thu Dec 11 05:24:30 2008 > Current DC: slave (e1673169-9d3e-4e98-80b8-9251de79406b) > 4 Nodes configured. > 2 Resources configured. > ============ > > Node: image2 (da6108d0-d06e-443f-aeaf-a2d905d64852): OFFLINE > Node: image1 (68e043d5-3a1d-4420-ac5e-2eb6b8edc33f): online > Node: slave (e1673169-9d3e-4e98-80b8-9251de79406b): online > Node: image (141b0ebe-85df-4cf9-9f26-49556c4d47d7): OFFLINE > ------------------------------------------------------------------------------- > > > This is cib.xml file, which i am using. > ------------ > <?xml version="1.0" ?> > <cib admin_epoch="0" epoch="0" num_updates="0"> > <configuration> > <crm_config> > <cluster_property_set id="cib-bootstrap-options"> > <attributes> > <nvpair > id="cib-bootstrap-options-symmetric-cluster" name="symmetric-cluster" > value="true"/> > <nvpair > id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" > value="stop"/> > <nvpair > id="cib-bootstrap-options-default-resource-stickiness" > name="default-resource-stickiness" value="0"/> > <nvpair > id="cib-bootstrap-options-default-resource-failure-stickiness" > name="default-resource-failure-stickiness" value="0"/> > <nvpair > id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" > value="false"/> > <nvpair > id="cib-bootstrap-options-stonith-action" name="stonith-action" > value="reboot"/> > <nvpair > id="cib-bootstrap-options-startup-fencing" name="startup-fencing" > value="true"/> > <nvpair > id="cib-bootstrap-options-stop-orphan-resources" > name="stop-orphan-resources" value="true"/> > <nvpair > id="cib-bootstrap-options-stop-orphan-actions" name="stop-orphan-actions" > value="true"/> > <nvpair > id="cib-bootstrap-options-remove-after-stop" name="remove-after-stop" > value="false"/> > <nvpair > id="cib-bootstrap-options-short-resource-names" name="short-resource-names" > value="true"/> > <nvpair > id="cib-bootstrap-options-transition-idle-timeout" > name="transition-idle-timeout" value="5min"/> > <nvpair > id="cib-bootstrap-options-default-action-timeout" > name="default-action-timeout" value="20s"/> > <nvpair > id="cib-bootstrap-options-is-managed-default" name="is-managed-default" > value="true"/> > <nvpair > id="cib-bootstrap-options-cluster-delay" name="cluster-delay" value="60s"/> > <nvpair > id="cib-bootstrap-options-pe-error-series-max" name="pe-error-series-max" > value="-1"/> > <nvpair > id="cib-bootstrap-options-pe-warn-series-max" name="pe-warn-series-max" > value="-1"/> > <nvpair > id="cib-bootstrap-options-pe-input-series-max" name="pe-input-series-max" > value="-1"/> > </attributes> > </cluster_property_set> > </crm_config> > <nodes/> > <resources> > <clone id="slapd_clone" ordered="false" interleave="false" > notify="false"> > <instance_attributes id="slapd_clone_attribs"> > <attributes> > <nvpair id="slapd_clone_max" name="clone_max" > value="4"/> > <nvpair id="slapd_clone_node_max" > name="clone_node_max" value="1"/> > <nvpair id="slapd-role" name="target_role" > value="Started"/> > </attributes> > </instance_attributes> > <primitive id="slapd_resource" class="ocf" > type="slapd_ocf" provider="avaya"> > <operations> > <op id="slapd_resource_monitor" > name="monitor" interval="10s" timeout="3s"/> > </operations> > </primitive> > </clone> > <primitive class="ocf" id="IPaddr_resource" > provider="heartbeat" type="IPaddr"> > <operations> > <op id="IPaddr_resource_mon" interval="5s" > name="monitor" timeout="5s"/> > </operations> > <instance_attributes id="IPaddr_resource_inst_attr"> > <attributes> > <nvpair id="IPaddr_resource_attr_0" > name="ip" value="148.147.212.76"/> > </attributes> > </instance_attributes> > </primitive> > </resources> > > <constraints> > <rsc_location id="rsc_location_IPaddr_resource" > rsc="IPaddr_resource"> > <rule id="prefered_location_IPaddr_resource" > score="100"> > <expression attribute="#uname" > id="prefered_location_IPaddr_resource_expr" > operation="eq" value="Image"/> > </rule> > </rsc_location> > <rsc_colocation id="ip_on_started_slapd" > to="slapd_clone" from="IPaddr_resource" score="infinity"/> > </constraints> > > </configuration> > <status/> > </cib> > > ------------ > > _______________________________________________ > 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
