| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Use only the storage nodes and n1. Might refine this later.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
| |
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
invocation of "sofs config" in setup_samba.sh to "cnconfig".
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|