From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/ricci/modules/cluster ClusterStatus.cpp
Date: 6 Mar 2007 09:15:02 -0000 [thread overview]
Message-ID: <20070306091502.2119.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2007-03-06 09:15:02
Modified files:
ricci/modules/cluster: ClusterStatus.cpp
Log message:
Fixed bz225747 (Create/delete cluster - then access disk on node = Generic error on host: cluster tools: cman_tool errored)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/ClusterStatus.cpp.diff?cvsroot=cluster&r1=1.18&r2=1.19
--- conga/ricci/modules/cluster/ClusterStatus.cpp 2007/02/05 22:38:06 1.18
+++ conga/ricci/modules/cluster/ClusterStatus.cpp 2007/03/06 09:15:01 1.19
@@ -42,6 +42,7 @@
#define LSMOD_PATH "/sbin/lsmod"
#define MODPROBE_PATH "/sbin/modprobe"
#define CHKCONFIG_PATH "/sbin/chkconfig"
+#define LVMCONF_PATH "/usr/sbin/lvmconf"
#define CMAN_LEAVE_TIMEOUT "120" // seconds (string)
#define CLUMON_SYNC_TIME 8 // seconds
@@ -346,6 +347,15 @@
if (purge_conf) {
ClusterConf::purge_conf();
+
+ // disable LVM cluster locking
+ try {
+ String out, err;
+ int status;
+ vector<String> args;
+ args.push_back("--disable-cluster");
+ utils::execute(LVMCONF_PATH, args, out, err, status, false);
+ } catch ( ... ) {}
}
}
next reply other threads:[~2007-03-06 9:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-06 9:15 kupcevic [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-03-06 9:13 [Cluster-devel] conga/ricci/modules/cluster ClusterStatus.cpp kupcevic
2007-03-06 9:09 kupcevic
2007-02-05 22:38 rmccabe
2007-02-05 22:32 kupcevic
2006-10-05 19:24 kupcevic
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=20070306091502.2119.qmail@sourceware.org \
--to=kupcevic@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.