[Linux-HA] pingd problems

José Costa meetra at gmail.com
Thu Feb 22 09:33:23 MST 2007


On 2/22/07, Andreas Kurz <andreas.kurz at gmail.com> wrote:
> On 2/22/07, José Costa <meetra at gmail.com> wrote:
> > I've 2 IPs and I've got to have 2 pingd to give score to both the rsc_ipaddr.
> >
> > pingd_1 to resource_ipaddr_1
> > pingd_2 to resource_ipaddr_2
>
> pingd is for checking the accessability of _external_ ping nodes, not
> for the check of  local ip resources ... or do I misinterpret your
> description?
>

Yes but to add scores to 2 resources... I can't have one pingd for two
resources, can I?
Tomorrow I'm going to try and add 2 locations with the same pingd name
like this.

       <rsc_location id="pingd_1" rsc="resource_ipaddr_1">
         <rule id="prefered_pingd_1" score="300">
           <expression attribute="pingd_1"
id="4127d4d1-6bb3-4463-a5c4-c6ae53ac4181" operation="gt" value="250"
type="number"/>
         </rule>
       </rsc_location>
       <rsc_location id="pingd_2" rsc="resource_ipaddr_2">
         <rule id="prefered_pingd_1" score="300">
           <expression attribute="pingd_1"
id="dfea4a10-25bb-4d5e-b352-f20945ef05a4" operation="gt" value="250"
type="number"/>
         </rule>
       </rsc_location>

> >
> > when I start pingd_2:
> >
> >
> > Feb 22 11:02:36 system1 heartbeat: [4000]: WARN: duplicate client add
> > request [pingd] [5612]
> > Feb 22 11:02:36 system1 heartbeat: [4000]: ERROR:
> > api_process_registration_msg: cannot add client()
>
> Do you try to run two pingd on one node? Have a look at:
> http://www.linux-ha.org/v2/faq/pingd

Yes, 2 pingd on one node.

>
> >
> > and it doesn't add the score to the resource_ipaddr_2 but the pingd_2 starts.
> > _______________________________________________
> > 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
> >
> _______________________________________________
> 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