On 2008-02-07T19:00:55, Thomas Glanzmann <[EMAIL PROTECTED]> wrote:
> Hello,
> I would like to write a script similiar to pingd that is spawnd and
> populates a value in the cib that I can build a rule on. What do I have
> to do to obtain the above. Concrete questions are:
>
> - What do I have to put in the cib to spawn such an 'agent'?
The best way would be to have that started/stopped/monitored by a RA,
just like pingd.
> - How do I propagate the value into the cib?
Take a look at the pingd or attrd code and copy that?
Regards,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems