| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Seeing some instances where nfsd can't start because its port is in
use.
On Linux the default local port range is 32768-60999, so the ports
used for NFS should be outside this range. The configured range can
be checked via:
$ sysctl net.ipv4.ip_local_port_range
net.ipv4.ip_local_port_range = 32768 60999
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
| |
If we want to use a local EPEL mirror then the GPG key should be
installed. If using custom distro repos then the external EPEL repo
file will be removed anyway, so won't slow things down.
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reads a YAML configuration, with defaults in defaults.yml. This
replaces the bash version.
Currently does the following actions for cluster <cluster>: defaults,
dump, status, generate, destroy, create, ssh_config, setup, build.
update_hosts is replaced by ssh_update. If necessary, hosts file can
be updated by hand using hosts file in state directory.
Update build/packaging and example configuration file.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
This will replace all of the existing node provisioning/configuration.
CentOS 7 nodes are currently supported.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
Generates libvirt nodes according to configuration.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
| |
This is currently host setup on CentOS 7 and setting up an
autocluster-specific SSH key on the host.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
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: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
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: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
This stop it eating standard input.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
Just in case previous version was automatically saved.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
| |
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
It isn't used and causes problems with RHEL 7.1.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is too easy to clobber/interact with domains that are no specified
in the cluster configuration.
Replace use of vircmd with new function virsh_cluster(). The only
possible loss here is that unmatched nodes may not be destroyed, so
duplicate IP addresses might occur when cluster configuration changes.
To try to avoid this a warning is printed by virsh_cluster() when
domains that are not part of the cluster are found to match
CLUSTER/CLUSTER_PATTERN.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
New configuration variable NETWORK_STACK.
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 removes the /24 assumption, embeds the prefix into the ip field
and calculates netmask in the only place it is needed.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
Allows calculation of netmask from prefix.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
This allows removal of a kludge in guess_install_network().
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
| |
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
| |
Leave CTDB_SYSLOG="yes" for backward compatiblity.
Signed-off-by: Martin Schwenke <martin@meltin.net>
|
|
|
|
|
|
|
|
| |
Otherwise, if the list of NODES is changed so that nodes are renamed,
then old nodes will come back when the new cluster is booted and
madness will ensue.
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>
|
|
|
|
| |
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>
|