summaryrefslogtreecommitdiffstats
path: root/base/root/scripts/setup_gpfs.sh
Commit message (Collapse)AuthorAgeFilesLines
* Reorganise base templates directory to allow for node-type-specific files.Martin Schwenke2009-12-041-116/+0
| | | | | | | | | | | | | | | | | | | | | * Previous contents of base/ are now in base/all. * create_node_COMMON() takes an extra argument (inserted as $3) that specifies the node type. All of the create_node_* functions pass "$type" for this argument. * setup_base() now has an optional argument, which is only passed by create_node_COMMON. Rather than simply copying and substituting templates for the entire $BASE_TEMPLATES/ subdirectory it now does this for $BASE_TEMPLATES/all and then $BASE_TEMPLATES/$type. Therefore, the contents of the type-specific directory override the contents of "all" directory. * releases/SoFS.common uses the "all" version of SoFS-postinstall.sh when setting POSTINSTALL_TEMPLATE. This variable also now respects $BASE_TEMPLATES instead of hard-coding the base/ subdirectory. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make setup_gpfs.sh designate quorum nodes more cleanly.Martin Schwenke2009-09-231-12/+9
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Attempt to set adminMode to allToAll in setup_gpfs.sh to for GPFS 3.3.Martin Schwenke2009-09-101-0/+4
| | | | | | | | | 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>
* Revert typo introduced by commit d39e4a7c395d057cc7b4ad4a4b23937a7b2363bb.Martin Schwenke2009-09-021-1/+1
| | | | | | | I must have copied from an example that I tested and inadvertently changed @@CLUSTER@@ to "m1" in the GPFS cluster name. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make the use of GPFS_DEFAULT_NSDS clearer in setup_gpfs.sh.Martin Schwenke2009-08-181-2/+3
| | | | | | | | The previous version made the script confusing to read once the template substitution had been done. Assign the value to a variable for clarity. Signed-off-by: Martin Schwenke <martin@meltin.net>
* New config variable GPFS_DEFAULT_NSDS.Martin Schwenke2009-08-181-1/+8
| | | | | | | | Indicates how many NSDs are used by the default GPFS filesystem that is setup by setup_gpfs.sh. The default empty value indicates that all available NSDs should be used. Signed-off-by: Martin Schwenke <martin@meltin.net>
* In setup_gpfs.sh, limit the GPFS quorum nodes.Martin Schwenke2009-08-181-1/+15
| | | | | | Use only the storage nodes and n1. Might refine this later. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make setup_gpfs.sh set up licensing of GPFS server nodes if required.Martin Schwenke2009-08-181-0/+6
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make setting of CTDB recovery lock more reliable in setup_gpfs.sh.Martin Schwenke2009-08-141-3/+3
| | | | | | | | | Recent versions of CTDB no longer comment out the relevant line in the config file, so weaken the substitution. While we're here, clean things up a bit: use "sed -i" to do in-place modification and use cnpushfile for clarity. Signed-off-by: Martin Schwenke <martin@meltin.net>
* More general selection of secondary GPFS server in setup_gpfs.sh.Martin Schwenke2009-05-291-7/+14
| | | | | | | No longer mysteriously fail if there is only one entry in NSD_SERVER - use the first node in the CTDB cluster as the secondary GPFS server. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make setup_gpfs.sh and mknsd.sh aware of NSD servers.Martin Schwenke2009-05-291-19/+22
| | | | | | | | | | | | Both scripts now use nsd_server_common.bash to re-exec on the first node defined in $NSD_SERVERS if that variable is set (to the list of sofs_storage nodes by 50sofs.defconf). They also also include the NSD servers in the file that is passed to mmcrnsd and mmcrfs. setup_gpfs.sh includes any NSD servers in the list of nodes for the GPFS cluster, using them as the primary and secondary GPFS servers. setup_gpfs.sh just sources mknsd.sh to avoid duplication of logic. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Fix the state check in setup_gpfs.sh to be more robust. ChangeMartin Schwenke2009-04-091-1/+10
| | | | | | invocation of "sofs config" in setup_samba.sh to "cnconfig". Signed-off-by: Martin Schwenke <martin@meltin.net>
* specify default inode sizeAndrew Tridgell2008-10-071-1/+1
|
* enable quotas in mmcrfs at request of svenAndrew Tridgell2008-07-251-1/+1
|
* msg on completionAndrew Tridgell2008-07-251-0/+2
|
* more waits on setupAndrew Tridgell2008-07-241-2/+8
|
* setup ctdb rec lockAndrew Tridgell2008-07-141-0/+7
|
* automate setting the password in TSM clientAndrew Tridgell2008-07-111-1/+2
|
* added gpfs setup scriptAndrew Tridgell2008-07-111-0/+52