From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Cluster Project branch, STABLE2, updated. cluster-2.02.00-34-g2182e21
Date: 4 Apr 2008 03:51:51 -0000 [thread overview]
Message-ID: <20080404035151.14931.qmail@sourceware.org> (raw)
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=2182e21187edf46d5d4832abf847fe824893a61c
The branch, STABLE2 has been updated
via 2182e21187edf46d5d4832abf847fe824893a61c (commit)
from 3ed90000f931a576c807d3e8ad7602c359f3dd0e (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 2182e21187edf46d5d4832abf847fe824893a61c
Author: Jonathan Brassow <jbrassow@redhat.com>
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
reply other threads:[~2008-04-04 3:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080404035151.14931.qmail@sourceware.org \
--to=fabbione@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.