[Linux-HA] invalid config info?
Dave Blaschke
debltc at us.ibm.com
Tue Oct 4 10:57:16 MDT 2005
Peter Kruse wrote:
> Hello all,
>
> I'm still struggling with the proper configuration of the stonith
> resources, I have in my cib.xml:
>
> <primitive id="apc1" class="stonith" type="apcmastersnmp">
How about if you add *provider="heartbeat"* to the above line so that
you have:
<primitive id="apc1" class="stonith" type="apcmastersnmp"
provider="heartbeat">
> <operations>
> <op id="apc1-monitor" name="monitor" interval="20s"
> timeout="40s" prereq="
> nothing"/>
> <op id="apc1-start" name="start" timeout="20s"
> prereq="nothing"/>
> </operations>
> <instance_attributes>
> <attributes>
> <nvpair id="apc1-ipaddr" name="ipaddr" value="apc"/>
> <nvpair id="apc1-port" name="port" value="161"/>
> <nvpair id="apc1-community" name="community"
> value="private"/>
> </attributes>
> </instance_attributes>
>
> </primitive>
>
> but I get this:
>
> Oct 4 18:17:16 ha-test-1 lrmd: [14104]: ERROR: chan_waitin_timeout:
> waitin was interrupted by alarm signal.
> Oct 4 18:17:16 ha-test-1 lrmd: [14104]: ERROR: stonith:waitin failed.
> Oct 4 18:17:16 ha-test-1 lrmd: [14104]: ERROR: sending stonithRA op
> to stonithd failed.
> Oct 4 18:17:16 ha-test-1 stonithd: [14067]: ERROR: Invalid config
> info for apcmastersnmp device.
> Oct 4 18:17:16 ha-test-1 lrmd: [14068]: WARN: mapped the invalid
> return code 152.
> Oct 4 18:17:16 ha-test-1 crmd: [14069]: ERROR:
> mask(lrm.c:do_lrm_event): LRM operation (2) start on apc1 ERROR:
> unknown error
>
> Unfortunately lrmd doesn't say what exactly is wrong.
>
> heartbeat version is 2.0.2.
>
> Regards,
>
> Peter
> _______________________________________________
> 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