From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8434 invoked by alias); 12 Dec 2006 22:22:30 -0000 Received: (qmail 8412 invoked by uid 9579); 12 Dec 2006 22:22:30 -0000 Date: Tue, 12 Dec 2006 22:22:00 -0000 Message-ID: <20061212222230.8411.qmail@sourceware.org> From: rohara@sourceware.org To: cluster-cvs@sources.redhat.com Subject: cluster/fence/agents/scsi fence_scsi.pl Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2006-q4/txt/msg00727.txt.bz2 CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL4 Changes by: rohara@sourceware.org 2006-12-12 22:22:30 Modified files: fence/agents/scsi: fence_scsi.pl Log message: Rewrite of get_scsi_devices function. It is no longer possible to use lvs to get a list of cluster volumes (and underlying devices) at fence time. For this reason we must "keep state" by recording which devices we register with at startup. The init script (scsi_reserve) will record each device it successfully registered with to a file (/var/run/scsi_reserve). Then, and fence time, the fence_scsi agent will unregister each device listed in the state file. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/fence_scsi.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.6.6&r2=1.5.6.7