[Linux-HA] CRM and STONITH questions

Andrew Beekhof beekhof at gmail.com
Fri Oct 19 06:44:10 MDT 2007


On 10/19/07, matilda matilda <matilda at grandel.de> wrote:
> >>> "Andrew Beekhof" <beekhof at gmail.com> 19.10.2007 12:55 >>>
> > if you set a parameter called "hostlist" in the CIB, then it should be
> > available all the time
>
> Hi Andrew,
>
> I did some tests the last days.
> The parameters (presented as environment variables) defined via
> cib are NOT always set (HAv2 2.1.2-3). I wanted to use
> it as a parameter to enable/disable debugging informations.
>
>
> BUT: It is definitely not set with 'getconfignames', 'getinfo-devdescr',
> 'getinfo-devname', 'getinfo-xml'.

ok, my mistake.  stonith isn't really my area of expertise :-)

i know the external/* scripts get only a filtered set of the set
parameters (filtered by the output of getconfignames) which annoyed me
somewhat when i was writing the vmware stonith agent.

> For example: The very first call to the stonith plugin is 'getconfignames'
> and while calling the stonith plugin with that argument the environment
> is not set with the parameters defined in the attribute section of the cib.
>
> If this is not intendet that it's an error.
> It would be helpful to know that EVERY call to the stonith plugin will all
> attributes set in the environment.
>
> Best regards
> Andreas Mock
>
>
> _______________________________________________
> 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