FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 03-01-2011, 03:22 PM
"Ryan O'Hara"
 
Default SCSI-PR watchdog script

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
 

Thread Tools




All times are GMT. The time now is 09:38 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org