| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
Build against in-tree popt as the version of popt on RHEL is older than
required.
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
|
|
|
|
|
|
|
|
| |
This is an intermediate change for CTDB 4.9.0pre versions that use the
new configuration file but still required the CTDB_MANAGED_*
variables.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
| |
|
|
|
|
|
|
| |
In GPFS 4.1, cipherList cannot be changed with other params
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
|
|
|
| |
This is a hack that assume any substitution that returns None must
cause the template containing it to produce no output file at all.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
|
|
| |
Leave CTDB_SYSLOG="yes" for backward compatiblity.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
So that it can be used by CTDB's new direct-UDP logging.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
An early step in making cluster_setup.sh independent of autocluster.
* autocluster generates cluster_setup.config during base setup
* cluster_setup.sh sources this configuration file
* cluster_setup.sh sources the per-task scripts
* cluster_setup.sh now exits on first error
* Replace @@ templates in scripts with variable references
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
| |
When creating a cluster with an addition AD server node, the DNS
forwarder on the AD node needs to be different to the DNS server for
the cluster nodes.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
This hasn't been used for a long time
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
| |
Some Samba packaging schemes have the winbind pieces in different
packages, so try to install those too. There's no check for failures,
so this is harmless (apart from warning messages) when the packages
don't exist.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove configuration variable CLUSTER_TYPE
* Add "build" node type
* Rename setup scripts for "ad" and "build" node type
* Separate out some setup_node_nas.sh from setup_cluster_nas.sh
* Make install_packages.sh and cluster_setup.sh more verbose
* Separate out clusterfs_setup.sh
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
Rename 50.sofs.defconf too.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
Move the code to new a new file and globally rename variable
NSD_SERVERS to NODES_STORAGE_GPFS.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
Failure here doesn't matter, so add it unconditionally.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Single entry point is now setup_cluster.sh.
* Rename old setup_cluster.sh to setup_cluster_nas.sh.
* Split setup_ad_server.sh into install_ad_server.sh and
setup_cluster_ad_server.sh.
* Split setup_build.sh into install_build.sh and
setup_cluster_build.sh.
* Rename setup_gpfs.sh to setup_clusterfs_gpfs.sh.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
... and remove functions file.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* New script install_packages.sh is the single entry-point for
installing packages outside kickstart.
* New configuration variable CONFIG_EXTRA_PACKAGES has space-separated
list of extra packages to install. This can help if dependencies
are broken.
* Rename install_gpfs_nas.sh to just install_nas.sh, now just installs
packages (e.g. samba, ctdb, rssh) to support protocols.
* Rename install_gpfs.sh to install_clusterfs_gpfs.sh to provide a
hook to support installation of alternate cluster filesystem
packages.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
It is now cluster-filesystem-agnostic.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
| |
* CLUSTERFS_DEFAULT_MOUNTPOINT replaces GPFS_DEFAULT_MOUNTPOINT
* Tweak various scripts and configuration files to allow cluster
filesystem type to be configured
* Also tweak chroot-related options to not have GPFS-specific values
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
This hasn't been used in a long time.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
"onnode -P" implements the only useful feature.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
getuid_callout and udev_dir are no longer supported so don't use them.
If serial numbers work with the shared disks then it will just work.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
| |
Hedge bets by continuing to write the ID to the image file.
While touching this code, add the cluster name to the temporary
filename for the shared disk ID map. Setting $shared_disk_ids needs
to move to shared_disk_setup() so $CLUSTER can be used. Also need to
update this path in mknsd.sh.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A previous commit meant that the value of GATEWAY is no longer used as
the gateway for the default network route, so renaming the variable
adds clarity.
This means that GATEWAY is no longer available to kickstart via the
basic post-install script. So generate some new variables INSTALL_GW
and INSTALL_IP in create_base() and tweak the post-install logic to
use them.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It now goes into one of the ifcfg-eth* files instead of
/etc/sysconfig/network.
NetworkManager in RHEL 7.0 seems to have a horrible bug. If GATEWAY
is defined in /etc/sysconfig/network and if it brings up the "wrong"
interface first then it adds a host route to the gateway on the
"wrong" network. This means that outbound traffic is OK. However,
for incoming traffic, ARP responses go out the "wrong" interface and
are either filtered on the node or are ignored by the host machine.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
This hasn't really got anything to do with GPFS.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
|
|
|
|
|
|
|
| |
Cut down CTDB configuration to bare minimum and move CTDB options from
other sysconfig files (i.e. nfs, vsftp).
Signed-off-by: Martin Schwenke <martin@meltin.net>
|