From mboxrd@z Thu Jan 1 00:00:00 1970 From: adas@sourceware.org Date: 18 Jan 2008 16:47:15 -0000 Subject: [Cluster-devel] cluster/cman/init.d cman Message-ID: <20080118164715.11466.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL5 Changes by: adas at sourceware.org 2008-01-18 16:47:14 Modified files: cman/init.d : cman Log message: lon's patch removes 'Domain-0' check which was breaking xvm because cman starts before xend. patch also allows you to put NODENAME in /etc/sysconfig/cluster Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/init.d/cman.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.26.2.5&r2=1.26.2.6 --- cluster/cman/init.d/Attic/cman 2007/07/17 16:09:59 1.26.2.5 +++ cluster/cman/init.d/Attic/cman 2008/01/18 16:47:14 1.26.2.6 @@ -43,6 +43,8 @@ [ -n "$CLUSTERNAME" ] && cman_join_opts="-c $CLUSTERNAME" +[ -n "$NODENAME" ] && cman_join_opts+=" -n $NODENAME" + load_modules() { errmsg=$( /sbin/modprobe configfs 2>&1 ) || return 1 @@ -186,12 +188,6 @@ which xm &> /dev/null || return 1 # - # Check for presence of Domain-0; if it's not there, we can't - # run xvmd. - # - xm list --long 2> /dev/null | grep -q "Domain-0" || return 1 - - # # Check for presence of /cluster/fence_xvmd in cluster.conf # (If -X is specified, it doesn't matter if it's in cluster.conf; # we'll start it anyway since ccsd is not required)