From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14579 invoked by alias); 3 Apr 2008 15:38:00 -0000 Received: (qmail 14547 invoked by uid 9478); 3 Apr 2008 15:37:59 -0000 Date: Thu, 03 Apr 2008 15:38:00 -0000 Message-ID: <20080403153759.14532.qmail@sourceware.org> From: jbrassow@sourceware.org To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com Subject: Cluster Project branch, master, updated. gfs-kernel_0_1_22-125-g41b62e9 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: a740fce541402c9efa42e12eef8f632920c53cb7 X-Git-Newrev: 41b62e9de6bc4f553bae5aec08080019947d6a9e 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: 2008-q2/txt/msg00013.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=41b62e9de6bc4f553bae5aec08080019947d6a9e The branch, master has been updated via 41b62e9de6bc4f553bae5aec08080019947d6a9e (commit) from a740fce541402c9efa42e12eef8f632920c53cb7 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 41b62e9de6bc4f553bae5aec08080019947d6a9e Author: Jonathan Brassow Date: Thu Apr 3 10:24:21 2008 -0500 rgmanager/lvm.sh: Minor comment updates Just moving/expanding some comments. ----------------------------------------------------------------------- Summary of changes: rgmanager/src/resources/lvm.sh | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/rgmanager/src/resources/lvm.sh b/rgmanager/src/resources/lvm.sh index 3b851d8..4c93249 100755 --- a/rgmanager/src/resources/lvm.sh +++ b/rgmanager/src/resources/lvm.sh @@ -55,9 +55,8 @@ function clvm_check function ha_lvm_proper_setup_check { ## - # Machine's cluster node name must be present as - # a tag in lvm.conf:activation/volume_list and the volume group - # to be failed over must NOT be there. + # The default for lvm.conf:activation/volume_list is empty, + # this must be changed for HA LVM. ## if ! lvm dumpconfig activation/volume_list >& /dev/null; then ocf_log err "HA LVM: Improper setup detected" @@ -65,12 +64,21 @@ function ha_lvm_proper_setup_check return $OCF_ERR_GENERIC fi + ## + # Machine's cluster node name must be present as + # a tag in lvm.conf:activation/volume_list + ## if ! lvm dumpconfig activation/volume_list | grep $(local_node_name); then ocf_log err "HA LVM: Improper setup detected" ocf_log err "- @$(local_node_name) missing from \"volume_list\" in lvm.conf" return $OCF_ERR_GENERIC fi + ## + # The volume group to be failed over must NOT be in + # lvm.conf:activation/volume_list; otherwise, machines + # will be able to activate the VG regardless of the tags + ## if lvm dumpconfig activation/volume_list | grep $OCF_RESKEY_vg_name; then ocf_log err "HA LVM: Improper setup detected" ocf_log err "- $OCF_RESKEY_vg_name found in \"volume_list\" in lvm.conf" hooks/post-receive -- Cluster Project