summaryrefslogtreecommitdiffstats
path: root/base/root/scripts
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2009-09-10 14:25:24 +1000
committerMartin Schwenke <martin@meltin.net>2009-09-10 14:25:24 +1000
commit7eb7682292b543eaad0600e3d439efdc0729284b (patch)
tree80da836859aed2aaef5cbf5bce7876d86e7a190c /base/root/scripts
parentd0e191d97d9eeef725ce2b593147f6effa7d32df (diff)
downloadautocluster-7eb7682292b543eaad0600e3d439efdc0729284b.tar.gz
autocluster-7eb7682292b543eaad0600e3d439efdc0729284b.tar.xz
autocluster-7eb7682292b543eaad0600e3d439efdc0729284b.zip
Attempt to set adminMode to allToAll in setup_gpfs.sh to for GPFS 3.3.
GPFS 3.3 requires that adminMode be set to allToAll for mm commands to be run from any node. The redirect from /dev/null ensures that older versions of GPFS won't get stuck when they prompt you to warn about an unknown option - hopefully the failure will be graceful. Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'base/root/scripts')
-rwxr-xr-xbase/root/scripts/setup_gpfs.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/root/scripts/setup_gpfs.sh b/base/root/scripts/setup_gpfs.sh
index 5dc08d4..f870a36 100755
--- a/base/root/scripts/setup_gpfs.sh
+++ b/base/root/scripts/setup_gpfs.sh
@@ -56,6 +56,10 @@ if type mmchlicense >/dev/null 2>&1 ; then
mmchlicense server --accept -N all
fi
+echo
+echo "Attempting to set adminMode=allToAll"
+mmchconfig adminMode=allToAll </dev/null || true
+
. $(dirname $0)/mknsd.sh
echo