Clean up GPFS setup script
authorMartin Schwenke <martin@meltin.net>
Wed, 25 Jun 2014 10:33:04 +0000 (20:33 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 2 Jul 2014 04:17:17 +0000 (14:17 +1000)
commit3426c0b81ec99f312e08d3828e37ce1bb766f3e6
tree2ea7ae52d4b86d264010fb19a483bace7450c757
parent8a86ce8662ce92b55fc9b164626677d7b30460ab
Clean up GPFS setup script

Remove the mknsd.sh and nsd_server_common.bash scripts, merging their
functionaility into the main script.

Separate the logic into functions, and default to calling each
function in turn.  Arguments can be passed to potentially run only
some functions but this is probably pointless.

Clean up a lot of contorted logic for building the GPFS nodes file and
deciding on primary/secondary nodes.  Create all files in the same
directory as the scripts (instead of /tmp) since they should be
available for post-mortem anyway.

Signed-off-by: Martin Schwenke <martin@meltin.net>
base/all/root/scripts/mknsd.sh [deleted file]
base/all/root/scripts/nsd_server_common.bash [deleted file]
base/all/root/scripts/setup_clusterfs_gpfs.sh