Hi All,
I didn't manage to explain myself well enough last time, so I'll try to
ask a simpler question.
I'm trying to find a way to implement special behaviour for when an
_entire resource group_ is stopped or started.
eg:
<group id="g">
<primitive id="a" type="plugin">...</primitive>
<primitive id="b" type="plugin">...</primitive>
<primitive id="c" type="plugin">...</primitive>
</group>
when HB starts "g", it will run:
OCF_RESKEY_id="a" $OCF_ROOT/heartbeat/plugin start
OCF_RESKEY_id="b" $OCF_ROOT/heartbeat/plugin start
OCF_RESKEY_id="c" $OCF_ROOT/heartbeat/plugin start
To start the group correctly, I need to know ALL of the ids being
started in one command:
OCF_RESKEY_ids="a,b,c" $OCF_ROOT/heartbeat/plugin start
(ditto for stop)
I want to see all ids at once so I can streamline starting the multiple
agents.
I want to use a group because I still want to be able to add/delete RAs
from the group individually and have HB deal with them as usual.
Is there any way I could configure this?
cheers
--
------------------------------------------------------------------
Daniel Moore [EMAIL PROTECTED]
Engineering Manager: AppMan & HA Phone: +61-3-9963-1957
SGI Australian Software Group Mobile: +61-4-1360-4720
------------------------------------------------------------------
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems