summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ansible: Require zlib-devel on build nodesHEADautocluster-1.2masterMartin Schwenke2019-08-171-0/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* ansible: Configure CTDB to debug hung scriptsMartin Schwenke2019-05-071-0/+3
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Change fixed NFS RPC ports to be outside the local port rangeautocluster-1.1Martin Schwenke2019-04-091-6/+6
| | | | | | | | | | | | | | 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>
* Leave EPEL package installedMartin Schwenke2019-03-291-5/+0
| | | | | | | | 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>
* Update TODOautocluster-1.0Martin Schwenke2019-03-251-3/+30
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Update READMEMartin Schwenke2019-03-251-442/+92
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add host setup commandMartin Schwenke2019-03-251-0/+46
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Remove bash autocluster script and supporting filesMartin Schwenke2019-03-25117-7211/+2
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Rewrite autocluster in PythonMartin Schwenke2019-03-255-9/+874
| | | | | | | | | | | | | | | 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>
* Add Ansible playbook for node configurationMartin Schwenke2019-03-2569-0/+1169
| | | | | | | This will replace all of the existing node provisioning/configuration. CentOS 7 nodes are currently supported. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add a Vagrantfile and supporting scriptsMartin Schwenke2019-03-253-0/+149
| | | | | | Generates libvirt nodes according to configuration. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add Ansible playbooks for host machine setupMartin Schwenke2019-03-093-0/+164
| | | | | | | 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>
* Add RHEL 6.10, 7.2, 7.3, 7.4, 7.5 ISO detailsMartin Schwenke2018-06-261-0/+5
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Do not install popt-develAmitay Isaacs2018-05-091-1/+1
| | | | | | | Build against in-tree popt as the version of popt on RHEL is older than required. Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* cluster_configure: Updates for new style CTDB configurationMartin Schwenke2018-04-248-0/+49
| | | | | | | | 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>
* Add RHEL 6.9 ISOMartin Schwenke2018-04-231-0/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* GPFS setup: Improve check to see if filesystem is mountedMartin Schwenke2018-04-231-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Try 5 times to join AD domain before failingAmitay Isaacs2016-11-101-2/+9
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Fail if any of the cluster setup tasks failAmitay Isaacs2016-10-181-2/+3
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Run net ads join under a timeout and exit if join failsAmitay Isaacs2016-10-181-1/+2
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Add RHEL 6.8 ISO detailsMartin Schwenke2016-10-121-0/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Run top-level ssh with -nMartin Schwenke2016-10-101-1/+1
| | | | | | This stop it eating standard input. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Undefine domains with --managed-save optionMartin Schwenke2016-10-101-3/+4
| | | | | | Just in case previous version was automatically saved. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add RHEL 6.7 ISO detailsMartin Schwenke2015-08-191-0/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* ad: Samba AD now starts winbinddAmitay Isaacs2015-08-191-1/+1
|
* Split GPFS configuration commandsAmitay Isaacs2015-08-191-1/+2
| | | | | | In GPFS 4.1, cipherList cannot be changed with other params Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* build: Include more samba development packagesAmitay Isaacs2015-08-191-1/+3
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Update the samba packages for NASAmitay Isaacs2015-08-191-1/+2
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Kickstart: Drop 2nd network interface configurationMartin Schwenke2015-04-011-1/+0
| | | | | | It isn't used and causes problems with RHEL 7.1. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add RHEL 7.1 ISO detailsMartin Schwenke2015-04-011-0/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Remove internal use of vircmdMartin Schwenke2015-03-161-8/+52
| | | | | | | | | | | | | | 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>
* Instead of test user add user1,user2 and groups group1,group2Amitay Isaacs2015-03-161-2/+8
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Separate build and cluster_build nodes.Amitay Isaacs2014-12-122-1/+20
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Create multiple public_addresses filesautocluster-0.10Amitay Isaacs2014-11-256-5/+24
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* cluster_configure: Remove files for "None" template substitutionsMartin Schwenke2014-11-251-15/+49
| | | | | | | 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>
* Create IPv4 and IPv6 nodes filesAmitay Isaacs2014-11-251-1/+22
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Add IPv6 supportAmitay Isaacs2014-11-253-10/+22
| | | | | | New configuration variable NETWORK_STACK. Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Do not fail in install_build taskAmitay Isaacs2014-11-251-1/+1
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Shift argument after processing itAmitay Isaacs2014-11-251-0/+1
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Do not disable IPv6 stackAmitay Isaacs2014-11-251-1/+0
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Remove netmask from network_mapMartin Schwenke2014-11-254-29/+21
| | | | | | | 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>
* New function ipv4_prefix_to_netmask()Martin Schwenke2014-11-241-0/+25
| | | | | | Allows calculation of netmask from prefix. Signed-off-by: Martin Schwenke <martin@meltin.net>
* base_create: Set IPNUM=$FIRSTIPMartin Schwenke2014-11-241-1/+2
| | | | | | This allows removal of a kludge in guess_install_network(). Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add RHEL 6.6 ISOMartin Schwenke2014-10-171-2/+3
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Set new CTDB configuration variable CTDB_LOGGING="syslog"Martin Schwenke2014-08-121-1/+2
| | | | | | Leave CTDB_SYSLOG="yes" for backward compatiblity. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Undefine nodes in old cluster when building a new oneMartin Schwenke2014-08-121-3/+13
| | | | | | | | 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>
* Switch on rsyslog UDP listener on 127.0.0.1:514Martin Schwenke2014-08-121-0/+6
| | | | | | So that it can be used by CTDB's new direct-UDP logging. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Update TODOMartin Schwenke2014-08-121-8/+3
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make cluster_setup.sh use generated configuration fileMartin Schwenke2014-08-127-21/+57
| | | | | | | | | | | | 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>
* Add #config header to setup scripts listing required configuration variablesMartin Schwenke2014-08-126-0/+14
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>