[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ha-dev
Subject: Re: [Linux-ha-dev] pingd ocf ra patch
From: "Andrew Beekhof" <beekhof () gmail ! com>
Date: 2006-06-13 6:51:38
Message-ID: 26ef5e70606122351q1b5eb1e6mfe69ac33181d9624 () mail ! gmail ! com
[Download RAW message or body]
On 6/12/06, Dejan Muhamedagic <dejanmm@fastmail.fm> wrote:
> Hi,
>
> Tried to make pingd work. I had to change the pingd OCF RA a
> bit (mostly typos), hence the patch.
Looks good, I applied it just then.
Thanks!
>
> Notes:
>
> . The default PID file path points to a directory owned by
> root. However, it looks like that by default the pingd
> daemon should run as hacluster. Right?
>
> . I changed the default attribute to "pingd" because that's
> also the default in the pingd daemon.
>
> Otherwise, the patch should be sane.
>
> Here's the CIB part with which I ran pingd:
>
> <clone id="connect">
> <instance_attributes id="connect_clon_attr">
> <attributes>
> <nvpair id="connect_attr_1" name="clone_max" value="3"/>
> <nvpair id="connect_attr_2" name="clone_node_max" value="1"/>
> </attributes>
> </instance_attributes>
> <primitive class="ocf" id="pingd" provider="heartbeat" type="pingd">
> <operations>
> <op id="pingd_mon" interval="20s" name="monitor" timeout="40s" prereq="nothing"/>
> <op id="pingd_start" name="start" prereq="nothing"/>
> </operations>
> <instance_attributes id="connect_inst_attr">
> <attributes>
> <nvpair id="connect_inst_attr_1" name="dampen" value="5s"/>
> <nvpair id="connect_inst_attr_2" name="multiplier" value="100"/>
> <nvpair id="connect_inst_attr_3" name="user" value="hacluster"/>
> <nvpair id="connect_inst_attr_4" name="pidfile" value="/tmp/pingd.pid"/>
> </attributes>
> </instance_attributes>
> </primitive>
> </clone>
>
> If you find the XML good, we should also fix the
> documentation.
>
> Cheers,
>
> Dejan
>
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
>
>
>
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic