From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan O'Hara Date: Tue, 1 Mar 2011 10:22:54 -0600 Subject: [Cluster-devel] SCSI-PR watchdog script Message-ID: <20110301162254.GA341@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Attached is a new watchdog script to be used in conjunction with the fence_scsi agent. Note that this script requires the previous two patches I posted for fence_scsi. Specifically, this script depends on the existence of the fence_scsi.key and fence_scsi.dev files located in /var/run/cluster directory. This script gets the local node's key from the fence_scsi.key file and a list of devices from the fence_scsi.dev file. Each of these files is created when unfencing occurs. The watchdog script then periodically checks that the key is registered with at least one of the devices. Note that the script will only trigger reboot via watchdog (exit 2) if the key is not registered with any of the devices. Ryan -------------- next part -------------- A non-text attachment was scrubbed... Name: check_scsi.pl Type: application/x-perl Size: 2850 bytes Desc: not available URL: