| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
* Incorrect reference to $c instead of $_c caused loop to never
terminate.
* Need to flush multipath devices before trying again.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
This points to a file containing static entries that should be
inserted into /etc/hosts on each node.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
| |
Even if all of the devices are there, multipath doesn't necessarily do
what we expect. This attempts to run multipath for up to 30 seconds
until the right number of slave devices appear.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current code uses a sleep to try to ensure that all the iSCSI
devices have appeared before running multipath. Like any situation
involving a seemingly random sleep this is a bug. When the host
machine is heavily loaded 5 seconds isn't enough.
This adds an extra initscript to handle this more properly. The
initscript is always installed but is only enabled using chkconfig on
relevant nodes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
| |
Add new variable SHARED_DISK_MULTIPATH_CALLOUT to parameterise the
uid_callout option and use SYSTEM_DISK_PREFIX to decide what to
blacklist.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The main problem was that $secondary was unset so mmcrcluster would
generate a usage message because there would be no argument to -s.
However, 'onnode 1 ...' was used and would generate a spurious warning
while failing to set secondary.
This version uses "onnode all ..." once and then manipulates the
resulting list of hosts.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
These changes don't work. :-(
This reverts commit 831738a709251d57b13e8c02bfcc1f60dcb5a895.
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
Add some TSM magic so that the backup and archive pools spill over
into the space management pool.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
| |
This should be run on a sofs_front node and will configure all
sofs_front nodes to do HSM. Updated so that the first tsm_server node
is configured as the server and HSM is only configured on sofs_front
nodes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
| |
This was obviously a typo. Given that the TSM support has been broken
for a while I don't think finally fixing the typo will hurt anyone.
:-)
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This scripts hasn't received any love since the handling of node types
was generaliased. Although we're meant to run this script on a
tsm_server node, we use the hostname of the first tsm_server node in
the NODES list. Similarly, we setup all sofs_front nodes as client
nodes in the server config.
This isn't yet well tested but a quick test suggests that it does
work.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
| |
Remove default TSM entry from the "all" hosts file.
Add new hosts file for "rhel_base" nodes that does not include
anything for CIFSNAME. If a rhel_base node is used as a test client
then it should lookup CIFSNAME in DNS and connect via a real IP.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
* 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>
|