summaryrefslogtreecommitdiffstats
path: root/base/root/scripts
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-07-18 12:04:11 +1000
committerAndrew Tridgell <tridge@samba.org>2008-07-18 12:04:11 +1000
commit0ae7bf999846a5c2fdaafa1b09e58840e102fd87 (patch)
treefe7682496c34d0210b6b539806e627e7337d11c1 /base/root/scripts
parentb986e672bd8821faca47b0678c5a3c852bb6181c (diff)
downloadautocluster-0ae7bf999846a5c2fdaafa1b09e58840e102fd87.tar.gz
autocluster-0ae7bf999846a5c2fdaafa1b09e58840e102fd87.tar.xz
autocluster-0ae7bf999846a5c2fdaafa1b09e58840e102fd87.zip
blacklist sdb in multipath for tsm server, so it doesn't try it at
boot
Diffstat (limited to 'base/root/scripts')
-rwxr-xr-xbase/root/scripts/setup_tsm_server.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/root/scripts/setup_tsm_server.sh b/base/root/scripts/setup_tsm_server.sh
index 6002eeb..2a7738b 100755
--- a/base/root/scripts/setup_tsm_server.sh
+++ b/base/root/scripts/setup_tsm_server.sh
@@ -6,9 +6,15 @@ CLUSTER=@@CLUSTER@@
yum -y install TIVsm-BA TIVsm-HSM TIVsm-API TIVsm-server
+echo "Ensuring multipath is disabled on this disk"
chkconfig multipathd off || true
service multipathd stop || true
multipath -F || true
+cat <<EOF >> /etc/multipath.conf
+blacklist {
+ "^sdb"
+}
+EOF
mkfs.ext3 -F /dev/sdb
mkdir -p /tsmdiskpool