Hi all, The attached resource agent is an implementation of shared mode for storage controlling based on scsi-3 reservation. The basic idea is to use the notify() operation to handle the post-stop message, to get a full list of all active nodes, then preempt in-active-but-still-registered keys. To avoid the being fenced node to restart itself, the stop() operation will check if the node is fenced already, and forbid the next start operation to start.
Comments ? Thanks.
scsi_reserve.sh
Description: Bourne shell script
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
