diff options
| author | Andrew Tridgell <tridge@samba.org> | 2008-07-22 19:13:01 +1000 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 2008-07-22 19:13:01 +1000 |
| commit | 98340d4fd37f525384afa4570cf360dc08996e2c (patch) | |
| tree | 4c8859a4ebe4ec98ba95def2f7b0d8fcf02a7ab8 /base/root/scripts | |
| parent | eb31722ba20b3737f964b0f71325c1451cc9a989 (diff) | |
fixed problem with rsct domains
Diffstat (limited to 'base/root/scripts')
| -rwxr-xr-x | base/root/scripts/setup_tsm_client.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/base/root/scripts/setup_tsm_client.sh b/base/root/scripts/setup_tsm_client.sh index b8692d4..d2a7e66 100755 --- a/base/root/scripts/setup_tsm_client.sh +++ b/base/root/scripts/setup_tsm_client.sh @@ -44,6 +44,13 @@ run_onnode all rsync $HOSTNAME:/opt/tivoli/tsm/client/ba/bin/dsm.opt /opt/tivoli run_onnode all "preprpnode `hostname -s`" mkrpdomain -F /etc/ctdb/nodes @@CLUSTER@@ +echo "Adding call to startrpdomain to gpfsready" +cat <<EOF >> /var/mmfs/etc/gpfsready +startrpdomain @@CLUSTER@@ +/bin/true +EOF +run_onnode all rsync $HOSTNAME:/var/mmfs/etc/gpfsready /var/mmfs/etc + echo "Setting TSM password" cat <<EOF > /tmp/tsmpwd spawn dsmsetpw @@ -87,6 +94,9 @@ while ! mount | grep /dev/gpfs0 > /dev/null; do echo -n "."; sleep 1; done echo "Adding space management to /gpfs" dsmmigfs add /gpfs -LT=100 -HT=100 +echo "Fixing gpfsready TSM bug" +sed -e 's@^return 0@/bin/true@g' -i.orig /var/mmfs/etc/gpfsready + echo "Restarting gpfs" mmshutdown -a mmstartup -a |
