[Linux-HA] heartbeat 2.0.2 + stonith

Dave Blaschke debltc at us.ibm.com
Tue Oct 4 14:31:46 MDT 2005


Lars Marowsky-Bree wrote:

>On 2005-10-04T16:46:03, "announces at genos.es" <announces at genos.es> wrote:
>
>  
>
>>Thanks. Now I have modified the cib.xml which uses an example stonith
>>plugin:
>>...................
>>
>>         <primitive id="lampara_stonith" class="stonith"
>>type="external/test">
>>           <instance_attributes>
>>             <attributes>
>>               <nvpair name="ST_HOSTLIST" value="heartbeat1" />
>>    
>>
>
>"ST_HOSTLIST"? Shouldn't this be just "hostlist"?
>  
>
Not necessarily, it needs to be something that the external plugin 
expects because the name becomes an environment variable set to the 
value.  Alan preferred that the environment variable be prefixed with 
something to lessen the possibility for collisions, so external/ssh uses 
ST_ and external/riloe uses RI_ as prefixes.

>
>Sincerely,
>    Lars Marowsky-Brée <lmb at suse.de>
>
>  
>



More information about the Linux-HA mailing list