[Linux-HA] clones
Andrew Beekhof
beekhof at gmail.com
Mon Oct 31 15:04:52 MST 2005
can you send the output from "cibadmin -Q" at a point where the
cluster is up and stable?
On 10/31/05, Serge.Dubrouski at fjcomm.com <Serge.Dubrouski at fjcomm.com> wrote:
> Hello All -
>
> I want to configure a clone resource in 2 nodes cluster. I.e. I want to
> have a resource running on both nodes in a cluster. Here is what I've done:
>
> <clone id="orion">
> <instance_attributes>
> <nvpair name="clone_max" value="2"/>
> <nvpair name="clone_node_max" value="1"/>
> </instance_attributes>
> <primitive class="ocf" type="orion" is_managed="true" id="orion"
> provider="fjcomm">
> <instance_attributes>
> <attributes>
> <nvpair name="asp_user" value="aspimaging" />
> <nvpair name="orion_home" value="/opt/webapp/orion_cluster"
> />
> </attributes>
> </instance_attributes>
> <operations>
> <op name="start" timeout="20s" />
> <op name="stop" timeout="20s" />
> <op name="monitor" interval="60s" timeout="20s" />
> </operations>
> </primitive>
> </clone>
> ...... Here are some other resources ...........
>
> <rsc_location id="run_orion" rsc="orion">
> <rule id="pref_orion" score="100" boolean_op="or">
> <expression attribute="#uname" operation="eq" value="node1/>
> <expression attribute="#uname" operation="eq" value="node2"/>
> </rule>
> </rsc_location>
>
> But with this configuration only one instance of that cloned resource
> starts. How can I start 2 instances, one per each node?
>
> Thanks.
> Serge.
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list