summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* cluster_configure: Hack ctdbd socket location in smb.conf templateMartin Schwenke2013-10-112-0/+25
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add a hook to allow the network name to be hackedMartin Schwenke2013-07-161-0/+8
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* CTDB configuration should use CTDB_SYSLOG="yes"Martin Schwenke2013-07-111-1/+1
| | | | | | Not CTDB_OPTIONS, which will be removed. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add rsyslog configuration that uses high precision time formatMartin Schwenke2013-06-202-16/+74
| | | | | | | | This allows accurate merging of logs from multiple cluster nodes for easier CTDB debugging. Signed-off-by: Martin Schwenke <martin@meltin.net> Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
* Shared disks need shareable attribute for correct sVirt selinux labelautocluster-0.8Amitay Isaacs2013-06-161-0/+1
|
* Install Performance Co-Pilot development libraries on build VMMartin Schwenke2013-06-021-0/+6
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Verify argument to setup_network.sh scriptAmitay Isaacs2013-05-091-7/+20
| | | | | | Also, validate if network map can be successfully generated. Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Fix empty case string in setup_networks.shAmitay Isaacs2013-05-091-1/+1
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Install tdb-tools required for CTDB init scriptAmitay Isaacs2013-05-091-0/+3
| | | | | | | | | This is required when Samba 4 is used. It no longer includes those binaries. The script fails gracefully when tdb-tools doesn't exist. Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Fix setting of convenience variable NETWORKS_PUBLICMartin Schwenke2013-03-121-2/+2
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Fix setup_networks.sh to run autocluster without dirty hacksMartin Schwenke2013-03-121-31/+21
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Allow --dump and -e options to ignore errorsMartin Schwenke2013-03-121-4/+8
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Fix NETWORKS configuration to support non-standard interface namesMartin Schwenke2013-03-123-39/+54
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* New configuration variable NETWORKS - IPBASE, IPNET* no longer usedMartin Schwenke2013-03-0512-113/+187
| | | | | | | | | Much more flexible network configuration. Replace canned host_setup/etc/libvirt/qemu/networks/*.xml with setup_networks.sh script. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add some extra failure exits in rhel_post_config_hook()Martin Schwenke2013-03-041-4/+4
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add RHEL 6.4 ISOMartin Schwenke2013-03-041-0/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Remove spurious ISO=... from system_disk_access_method_hook()Martin Schwenke2013-03-041-1/+0
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* New hook hack_disk_hooks to customise the value of $DISKautocluster-0.7Martin Schwenke2013-02-192-26/+55
| | | | | | Works for base, system and shared disks. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Allow hooks to take arguments that are specified when they are runMartin Schwenke2013-02-191-1/+2
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* scripts: provision command changed to samba-tool domain provisionAmitay Isaacs2012-09-171-1/+2
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* packaging: rpmbuild does not like '-' in version, replace it with '_'Amitay Isaacs2012-09-101-1/+1
|
* Merge remote-tracking branch 'amitay/master'Martin Schwenke2012-08-281-2/+2
|\
| * scripts: Stop redirecting output of onnode commandAmitay Isaacs2012-08-211-2/+2
| | | | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* | Packaging: construct version using "git describe"autocluster-0.6Martin Schwenke2012-08-151-3/+1
| | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* | Backward incompatible: rename/extend rm_f diskimage function to be rm_rfMartin Schwenke2012-08-154-9/+7
| | | | | | | | | | | | | | Something is needed to remove directories, so let's do it this way. Autocluster only used rm_f in one place, so it is easy. Signed-off-by: Martin Schwenke <martin@meltin.net>
* | Kickstart: Move modprobe.conf config to a file that isn't deprecatedMartin Schwenke2012-07-231-1/+2
|/ | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Fix base creation with newer libvirt and/or qemu-kvmMartin Schwenke2012-07-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seeing this problem: qemu: could not load PC BIOS '[...]/tmp/isolinux.bin' From the libvirt NEWS file: 0.9.12: May 14 2012: ... - Bug Fixes: ... Wire up <loader> to set the QEMU BIOS path (Daniel P. Berrange), ... So, it looks like we've been misusing <loader> forever, since it is meant to be BIOS and not bootloader, but this bug fix has exposed that. "isolinux.bin" isn't present in the qemu-kvm command-line on the older machines. This suggests that libvirt hasn't been able to do anything "useful" with the <loader> option... until now... ;-) The libvirt documentation seems to suggest that it would be correct to use <bootloader> instead of <loader>. However, it also seems to imply that if you use <kernel> then you probably don't need <bootloader>. So, for now, I'm deleting the <loader> option from install.xml. If this causes problems then can someone please try <bootloader>? :-) Signed-off-by: Martin Schwenke <martin@meltin.net>
* Kickstart: suddenly we need zerombr with RHEL6.3 guestsMartin Schwenke2012-07-091-0/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add RHEL 6.3 ISO detailsMartin Schwenke2012-07-091-0/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add install of e2fsprogs-devel to setup_build.shMartin Schwenke2012-06-191-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Clean up /etc/hosts modification in create_cluster.shMartin Schwenke2012-06-011-10/+16
| | | | | | | | | Existing code usually moves the entries for a cluster to the end of /etc/hosts, even when the entries don't change. Make it a little bit smarter. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Rename gpfs-nas-postinstall.sh to install_gpfs_nas.sh and factor out GPFS fuMartin Schwenke2012-06-014-16/+36
| | | | | | | | | The script name should say what it does, not what it might be used for... Also add setup_build.sh. Signed-off-by: Martin Schwenke <martin@meltin.net>
* postinstall: Install ctdb-tests package along with ctdbAmitay Isaacs2012-05-311-1/+1
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Update rhel_gen_yum_repos() to handle repositories with slashesMartin Schwenke2012-05-301-1/+2
| | | | | | | | | | Replaces slashes with dashes in repository IDs, given that they are only allowed to be 1 word and slashes don't seem to be word characters. This allows trees of repos to be structured instead of flat. Signed-off-by: Martin Schwenke <martin@meltin.net>
* RPM dependency improvementsMartin Schwenke2012-05-301-3/+2
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Installation and packaging changes reflecting recent file removals/renamesMartin Schwenke2012-05-303-4/+5
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* waitfor command requires expect packageAmitay Isaacs2012-05-281-0/+1
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Loosen password policy in setup_ad_server.shMartin Schwenke2012-05-221-1/+3
| | | | | | Otherwise we can't set stupid, weak passwords for administrator. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add AD_NETBIOS_NAME and update setup_ad_server.sh to use itMartin Schwenke2012-05-222-1/+7
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Version is now 0.5!autocluster-0.5Martin Schwenke2012-05-221-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Update example configuration fileMartin Schwenke2012-05-221-11/+16
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Use WORKGROUP setting in setup_ad_server.shMartin Schwenke2012-05-221-2/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Automatically find KVM executable and set KVM variableMartin Schwenke2012-05-221-3/+21
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Default WEBPROXY setting is nullMartin Schwenke2012-05-222-7/+13
| | | | | | We always have an install server close by. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Change default package lists to have no desktop/X.Martin Schwenke2012-05-225-112/+112
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add openssl-devel to RHEL6.packagesMartin Schwenke2012-05-221-0/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make EXTRA_PACKAGES null by defaultMartin Schwenke2012-05-224-5/+7
| | | | | | | This shouldn't change anything since the packages mentioned in the old default have been added to the package lists as appropriate. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Default RHEL version is now 6.2Martin Schwenke2012-05-221-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Remove example.sh and move config.sample to examples/ directoryMartin Schwenke2012-05-222-29/+0
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* No need to set defaults in setup_cluster.shMartin Schwenke2012-05-221-4/+1
| | | | | | These are always set in gpfs-nas.conf. Signed-off-by: Martin Schwenke <martin@meltin.net>