CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: [EMAIL PROTECTED] 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)