> >> I mean, if clone:0 fails on node_a, I want to up a fail count for
> >> clone:1/node_a at the same time.
> >> or, is there any good idea to work out the above behavior without
clone?
> > not sure if thats possible yet.
> > a good idea though
> >
> > let me get back to you with a definitive answer....
>
> For anonymous clones the above should be default.
I tried globally_unique="false".
Bit the both results "false" and "true " were the same.
Did I make a wrong guess?
<resources>
<clone id="clone" notify="false">
<instance_attributes id="clone-attr">
<attributes>
<nvpair id="clone_max" name="clone_max" value="2"/>
<nvpair id="clone_node_max" name="clone_node_max" value="1"/>
<nvpair id="globally_unique" name="globally_unique" value="false"/>
</attributes>
</instance_attributes>
<primitive id="c-Dummy" class="ocf" type="Dummy" provider="heartbeat">
<operations>
<op id="start" name="start" timeout="30s" on_fail="restart"/>
<op id="monitor" name="monitor" timeout="30s" on_fail="restart"
interval="5s"/>
<op id="stop" name="stop" timeout="30s" on_fail="stop"/>
</operations>
</primitive>
</clone>
</resources>
Thanks,
Junko
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems