[Linux-ha-dev] STONITH RAs - Requirements from the CRMd side

Andrew lists at beekhof.homeip.net
Fri Jul 2 03:42:26 MDT 2004


The CRMd will start the RA on one of its allowed nodes.  Depending on 
the STONITH controller type it might:
		- test connection to the STONITH device and exit
		- reserve access to the STONITH device
		- not do much at all
		- do something I haven't thought of

The RA needs to send the CRMd a list of the nodes it can shoot.
	- Whether this is a separate operation or a result of the "start" can 
be negotiated
	- Exactly how this information is returned to the CRMd I dont know 
yet.  What would be the easiest for the LRM?

The RA will then be sent a "shoot" operation and the node to shoot will 
be supplied as the parameter "target".  An additional parameter will 
specify what the value of "target" is (uname, UUID, MAC Address, 
whatever).  I haven't used STONITH much but this seems to be a worthy 
addition.

The RA needs to indicate success, internal failure or failure to 
complete the stonith

Eventually the CRMd will stop the RA, again depending on the STONITH 
controller type it might:
		- release access to the STONITH device and exit
		- not do much at all
		- do something I haven't thought of

Thats it :)




More information about the Linux-HA-Dev mailing list