Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

resource agent for scsi-3 reservation

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


hxinwei at gmail

Oct 21, 2008, 3:38 AM

Post #1 of 1 (694 views)
Permalink
resource agent for scsi-3 reservation

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.
Attachments: scsi_reserve.sh (10.4 KB)

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.