autocluster.git
11 years agoNew hook hack_disk_hooks to customise the value of $DISK autocluster-0.7
Martin Schwenke [Tue, 19 Feb 2013 01:55:47 +0000 (12:55 +1100)]
New hook hack_disk_hooks to customise the value of $DISK

Works for base, system and shared disks.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoAllow hooks to take arguments that are specified when they are run
Martin Schwenke [Tue, 19 Feb 2013 01:42:39 +0000 (12:42 +1100)]
Allow hooks to take arguments that are specified when they are run

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoscripts: provision command changed to samba-tool domain provision
Amitay Isaacs [Mon, 17 Sep 2012 02:21:07 +0000 (12:21 +1000)]
scripts: provision command changed to samba-tool domain provision

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
11 years agopackaging: rpmbuild does not like '-' in version, replace it with '_'
Amitay Isaacs [Mon, 10 Sep 2012 06:46:09 +0000 (16:46 +1000)]
packaging: rpmbuild does not like '-' in version, replace it with '_'

11 years agoMerge remote-tracking branch 'amitay/master'
Martin Schwenke [Tue, 28 Aug 2012 00:39:01 +0000 (10:39 +1000)]
Merge remote-tracking branch 'amitay/master'

11 years agoscripts: Stop redirecting output of onnode command
Amitay Isaacs [Tue, 21 Aug 2012 02:11:27 +0000 (12:11 +1000)]
scripts: Stop redirecting output of onnode command

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
11 years agoPackaging: construct version using "git describe" autocluster-0.6
Martin Schwenke [Wed, 15 Aug 2012 01:56:57 +0000 (11:56 +1000)]
Packaging: construct version using "git describe"

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoBackward incompatible: rename/extend rm_f diskimage function to be rm_rf
Martin Schwenke [Wed, 15 Aug 2012 00:13:48 +0000 (10:13 +1000)]
Backward incompatible: rename/extend rm_f diskimage function to be rm_rf

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>
11 years agoKickstart: Move modprobe.conf config to a file that isn't deprecated
Martin Schwenke [Mon, 23 Jul 2012 07:19:02 +0000 (17:19 +1000)]
Kickstart: Move modprobe.conf config to a file that isn't deprecated

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoFix base creation with newer libvirt and/or qemu-kvm
Martin Schwenke [Wed, 18 Jul 2012 01:28:36 +0000 (11:28 +1000)]
Fix base creation with newer libvirt and/or qemu-kvm

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>
11 years agoKickstart: suddenly we need zerombr with RHEL6.3 guests
Martin Schwenke [Mon, 9 Jul 2012 03:57:09 +0000 (13:57 +1000)]
Kickstart: suddenly we need zerombr with RHEL6.3 guests

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoAdd RHEL 6.3 ISO details
Martin Schwenke [Mon, 9 Jul 2012 03:19:02 +0000 (13:19 +1000)]
Add RHEL 6.3 ISO details

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoAdd install of e2fsprogs-devel to setup_build.sh
Martin Schwenke [Tue, 19 Jun 2012 04:01:06 +0000 (14:01 +1000)]
Add install of e2fsprogs-devel to setup_build.sh

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoClean up /etc/hosts modification in create_cluster.sh
Martin Schwenke [Fri, 1 Jun 2012 03:10:58 +0000 (13:10 +1000)]
Clean up /etc/hosts modification in create_cluster.sh

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>
11 years agoRename gpfs-nas-postinstall.sh to install_gpfs_nas.sh and factor out GPFS fu
Martin Schwenke [Fri, 1 Jun 2012 02:51:02 +0000 (12:51 +1000)]
Rename gpfs-nas-postinstall.sh to install_gpfs_nas.sh and factor out GPFS fu

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>
11 years agopostinstall: Install ctdb-tests package along with ctdb
Amitay Isaacs [Thu, 31 May 2012 02:47:38 +0000 (12:47 +1000)]
postinstall: Install ctdb-tests package along with ctdb

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
11 years agoUpdate rhel_gen_yum_repos() to handle repositories with slashes
Martin Schwenke [Wed, 30 May 2012 04:51:03 +0000 (14:51 +1000)]
Update rhel_gen_yum_repos() to handle repositories with slashes

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>
11 years agoRPM dependency improvements
Martin Schwenke [Wed, 30 May 2012 03:59:15 +0000 (13:59 +1000)]
RPM dependency improvements

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoInstallation and packaging changes reflecting recent file removals/renames
Martin Schwenke [Wed, 30 May 2012 03:51:38 +0000 (13:51 +1000)]
Installation and packaging changes reflecting recent file removals/renames

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agowaitfor command requires expect package
Amitay Isaacs [Mon, 28 May 2012 04:28:22 +0000 (14:28 +1000)]
waitfor command requires expect package

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
11 years agoLoosen password policy in setup_ad_server.sh
Martin Schwenke [Tue, 22 May 2012 06:12:11 +0000 (16:12 +1000)]
Loosen password policy in setup_ad_server.sh

Otherwise we can't set stupid, weak passwords for administrator.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoAdd AD_NETBIOS_NAME and update setup_ad_server.sh to use it
Martin Schwenke [Tue, 22 May 2012 05:59:43 +0000 (15:59 +1000)]
Add AD_NETBIOS_NAME and update setup_ad_server.sh to use it

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoVersion is now 0.5! autocluster-0.5
Martin Schwenke [Tue, 22 May 2012 05:26:26 +0000 (15:26 +1000)]
Version is now 0.5!

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoUpdate example configuration file
Martin Schwenke [Tue, 22 May 2012 05:25:52 +0000 (15:25 +1000)]
Update example configuration file

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoUse WORKGROUP setting in setup_ad_server.sh
Martin Schwenke [Tue, 22 May 2012 05:21:24 +0000 (15:21 +1000)]
Use WORKGROUP setting in setup_ad_server.sh

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoAutomatically find KVM executable and set KVM variable
Martin Schwenke [Tue, 22 May 2012 05:17:43 +0000 (15:17 +1000)]
Automatically find KVM executable and set KVM variable

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoDefault WEBPROXY setting is null
Martin Schwenke [Tue, 22 May 2012 05:06:06 +0000 (15:06 +1000)]
Default WEBPROXY setting is null

We always have an install server close by.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoChange default package lists to have no desktop/X.
Martin Schwenke [Tue, 22 May 2012 04:55:46 +0000 (14:55 +1000)]
Change default package lists to have no desktop/X.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoAdd openssl-devel to RHEL6.packages
Martin Schwenke [Tue, 22 May 2012 04:53:42 +0000 (14:53 +1000)]
Add openssl-devel to RHEL6.packages

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoMake EXTRA_PACKAGES null by default
Martin Schwenke [Tue, 22 May 2012 04:53:37 +0000 (14:53 +1000)]
Make EXTRA_PACKAGES null by default

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>
11 years agoDefault RHEL version is now 6.2
Martin Schwenke [Tue, 22 May 2012 04:44:15 +0000 (14:44 +1000)]
Default RHEL version is now 6.2

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoRemove example.sh and move config.sample to examples/ directory
Martin Schwenke [Tue, 22 May 2012 04:43:29 +0000 (14:43 +1000)]
Remove example.sh and move config.sample to examples/ directory

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoNo need to set defaults in setup_cluster.sh
Martin Schwenke [Tue, 22 May 2012 04:33:30 +0000 (14:33 +1000)]
No need to set defaults in setup_cluster.sh

These are always set in gpfs-nas.conf.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoUpdate README
Martin Schwenke [Tue, 22 May 2012 04:17:43 +0000 (14:17 +1000)]
Update README

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoRemove --with_release and with_release()
Martin Schwenke [Tue, 22 May 2012 04:17:13 +0000 (14:17 +1000)]
Remove --with_release and with_release()

This is no longer of any value.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoChanged default NODES setting to "sofs_front:0-3 rhel_base:4"
Martin Schwenke [Tue, 22 May 2012 04:16:32 +0000 (14:16 +1000)]
Changed default NODES setting to "sofs_front:0-3 rhel_base:4"

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoRemove CIFSNAME configuration variable.
Martin Schwenke [Tue, 22 May 2012 03:51:09 +0000 (13:51 +1000)]
Remove CIFSNAME configuration variable.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoDefault domain is now example.com
Martin Schwenke [Tue, 22 May 2012 03:50:29 +0000 (13:50 +1000)]
Default domain is now example.com

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoAdd RHEL 5.8 ISO
Martin Schwenke [Tue, 22 May 2012 03:49:10 +0000 (13:49 +1000)]
Add RHEL 5.8 ISO

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoRemove old SoFS-releated files
Martin Schwenke [Tue, 22 May 2012 03:36:12 +0000 (13:36 +1000)]
Remove old SoFS-releated files

kickstart-SoFS.cfg is superceded by gpfs-nas-kickstart.cfg, which is
now the default.

SoFS-postinstall.sh is superceded by gpfs-nas-postinstall.cfg.

The contents of releases/ and imacros/ are no longer of any value.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoMerge remote-tracking branch 'amitay/master'
Martin Schwenke [Tue, 22 May 2012 03:25:05 +0000 (13:25 +1000)]
Merge remote-tracking branch 'amitay/master'

11 years agoAdd script to setup Samba4 AD server
Amitay Isaacs [Tue, 15 May 2012 04:19:34 +0000 (14:19 +1000)]
Add script to setup Samba4 AD server

It provisions Samba AD instance for DOMAIN, uses INTERNAL dns server.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
11 years agoExclude samba and ctdb packages from RHEL repo
Amitay Isaacs [Mon, 21 May 2012 03:02:34 +0000 (13:02 +1000)]
Exclude samba and ctdb packages from RHEL repo

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
11 years agoAdd create_cluster.sh example script
Martin Schwenke [Wed, 9 May 2012 04:21:17 +0000 (14:21 +1000)]
Add create_cluster.sh example script

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoUpdate public address generation function make_public_addresses()
Martin Schwenke [Wed, 9 May 2012 03:38:12 +0000 (13:38 +1000)]
Update public address generation function make_public_addresses()

* Don't generate public address config for eth0.
* Change notation used for arithmetic expansion - $[ ... ] form is
  deprecated.
* Delete make_public_addresses_old().

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoAdd openssl-devel to RHEL6-no-desktop.packages
Martin Schwenke [Tue, 8 May 2012 07:15:01 +0000 (17:15 +1000)]
Add openssl-devel to RHEL6-no-desktop.packages

GPFS needs it.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoVersion 0.2
Martin Schwenke [Mon, 7 May 2012 07:14:54 +0000 (17:14 +1000)]
Version 0.2

There are enough recent improvements to warrant this...

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoNew option DISK_FOLLOW_SYMLINKS
Martin Schwenke [Mon, 7 May 2012 03:54:46 +0000 (13:54 +1000)]
New option DISK_FOLLOW_SYMLINKS

If DISK_FOLLOW_SYMLINKS=yes then for any disk image paths that are a
symlink, follow the symlink when creating the image.

This allows disk images to be reorganised, perhaps across several
disks, and replaced with symlinks.  On the next cluster creation the
symlinks will be respected and the layout of disk images will be
maintained.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoDevel additions to RHEL6 package lists
Martin Schwenke [Mon, 7 May 2012 01:43:32 +0000 (11:43 +1000)]
Devel additions to RHEL6 package lists

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoNFS client setup fixes
Martin Schwenke [Mon, 7 May 2012 01:24:37 +0000 (11:24 +1000)]
NFS client setup fixes

Install nfs-utils on RHEL6.

Enable nfslock in the basic postinstall - NFS client functionality is
used on client nodes and not just on cluster nodes.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agotemplates - gpfs-nas-postinstall.sh should install nfs-utils
Martin Schwenke [Wed, 2 May 2012 06:45:09 +0000 (16:45 +1000)]
templates - gpfs-nas-postinstall.sh should install nfs-utils

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoFix 2 bugs in rhel_disk_prefix()
Martin Schwenke [Tue, 1 May 2012 00:32:32 +0000 (10:32 +1000)]
Fix 2 bugs in rhel_disk_prefix()

* Needs to work for "iscsi", since this is used for shared disks too.

* Error message referred to SYSTEM_DISK_TYPE rather than generic disk
  type passed in $1.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoChange default SHARED_DISK_TYPE=virtio
Martin Schwenke [Tue, 1 May 2012 00:32:03 +0000 (10:32 +1000)]
Change default SHARED_DISK_TYPE=virtio

SCSI not supported on RHEL, so change to a default that is supported.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoChange default SYSTEM_DISK_TYPE=ide
Martin Schwenke [Tue, 1 May 2012 00:30:29 +0000 (10:30 +1000)]
Change default SYSTEM_DISK_TYPE=ide

SCSI not supported on RHEL, so change to a default that is supported.

Remember that virtio system disks won't work with useful
caching... although I haven't test that lately.

Signed-off-by: Martin Schwenke <martin@meltin.net>
11 years agoChange default NFS share specified by NFSSHARE and NFS_MOUNTPOINT to /home
Martin Schwenke [Tue, 1 May 2012 00:28:26 +0000 (10:28 +1000)]
Change default NFS share specified by NFSSHARE and NFS_MOUNTPOINT to /home

I never used the old default.  Sharing /home seems like a much better
idea since cluster nodes almost certainly don't need their own /home.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoAdded RHEL5-minimal.packages template to allow building minimal nodes
Martin Schwenke [Mon, 23 Apr 2012 23:50:21 +0000 (09:50 +1000)]
Added RHEL5-minimal.packages template to allow building minimal nodes

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoMerge remote-tracking branch 'amitay/master'
Martin Schwenke [Wed, 28 Mar 2012 05:02:36 +0000 (16:02 +1100)]
Merge remote-tracking branch 'amitay/master'

12 years agoAdd support for SYSTEM_DISK_FORMAT="mmclone"
Martin Schwenke [Wed, 28 Mar 2012 05:01:21 +0000 (16:01 +1100)]
Add support for SYSTEM_DISK_FORMAT="mmclone"

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoAdd AUTH_METHOD config variable for authentication
Amitay Isaacs [Mon, 5 Mar 2012 04:20:32 +0000 (15:20 +1100)]
Add AUTH_METHOD config variable for authentication

possible values are files (default), winbind

12 years agoAdd ctdb plugin for creating /etc/ctdb/public_addresses
Amitay Isaacs [Mon, 5 Mar 2012 04:12:21 +0000 (15:12 +1100)]
Add ctdb plugin for creating /etc/ctdb/public_addresses

12 years agoChange public addresses output format from make_public_addresses()
Amitay Isaacs [Mon, 5 Mar 2012 02:19:04 +0000 (13:19 +1100)]
Change public addresses output format from make_public_addresses()

@@@PUBLIC_ADDRESSES@@@ will be replaced with

firstip,num_ips,iface firstip,num_ips,iface ...

12 years agoRemove unused script and config file
Amitay Isaacs [Mon, 5 Mar 2012 01:03:20 +0000 (12:03 +1100)]
Remove unused script and config file

12 years agoUpdate /etc/krb5.conf using configured domain
Amitay Isaacs [Thu, 16 Feb 2012 09:25:34 +0000 (20:25 +1100)]
Update /etc/krb5.conf using configured domain

12 years agoAdd packages for basic kerberos tools
Amitay Isaacs [Thu, 16 Feb 2012 06:08:06 +0000 (17:08 +1100)]
Add packages for basic kerberos tools

12 years agoUse workgroup rather than cluster name as samba workgroup
Amitay Isaacs [Thu, 16 Feb 2012 05:53:08 +0000 (16:53 +1100)]
Use workgroup rather than cluster name as samba workgroup

12 years agouuid support required for building samba4
Amitay Isaacs [Thu, 16 Feb 2012 05:45:30 +0000 (16:45 +1100)]
uuid support required for building samba4

12 years agoAllow umount as well as unmount.
Martin Schwenke [Fri, 2 Mar 2012 05:13:43 +0000 (16:13 +1100)]
Allow umount as well as unmount.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoFix a really stupid typo in the loopback mount code.
Martin Schwenke [Fri, 2 Mar 2012 05:09:43 +0000 (16:09 +1100)]
Fix a really stupid typo in the loopback mount code.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoNew SYSTEM_DISK_ACCESS_METHOD "guestmount" - now the default if installed
Martin Schwenke [Fri, 2 Mar 2012 05:07:58 +0000 (16:07 +1100)]
New SYSTEM_DISK_ACCESS_METHOD "guestmount" - now the default if installed

This uses the libguestfs-mount fuse magic on Red Hat.  The real
advantage over guestfish is that "autocluster mount" gives you a real
mountpoint where you can browse the filesystem.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoautocluster script should find $installdir even if script is a symlink
Martin Schwenke [Thu, 9 Feb 2012 03:37:43 +0000 (14:37 +1100)]
autocluster script should  find $installdir even if script is a symlink

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoFix typo in some error messages
Martin Schwenke [Thu, 9 Feb 2012 03:19:41 +0000 (14:19 +1100)]
Fix typo in some error messages

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoMerge remote-tracking branch 'amitay/master'
Martin Schwenke [Thu, 9 Feb 2012 03:15:55 +0000 (14:15 +1100)]
Merge remote-tracking branch 'amitay/master'

12 years agoConfigure YUM plugins off in basic postinstall
Martin Schwenke [Thu, 9 Feb 2012 03:13:36 +0000 (14:13 +1100)]
Configure YUM plugins off in basic postinstall

The fastest mirror plugin (used by CentOS and Fedora) is particularly
annoying because we don't tend to even use the standard mirrors.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoRemove auth_type from templates
Amitay Isaacs [Tue, 7 Feb 2012 04:04:45 +0000 (15:04 +1100)]
Remove auth_type from templates

12 years agoAdded packages required for gpfs rpms
Amitay Isaacs [Mon, 6 Feb 2012 04:42:13 +0000 (15:42 +1100)]
Added packages required for gpfs rpms

12 years agoAdd package required for building samba rpms
Amitay Isaacs [Mon, 6 Feb 2012 03:06:18 +0000 (14:06 +1100)]
Add package required for building samba rpms

12 years agoFix NFS mount line in /etc/fstab
Amitay Isaacs [Wed, 1 Feb 2012 03:41:49 +0000 (14:41 +1100)]
Fix NFS mount line in /etc/fstab

12 years agoAdd hooks to remove files and remove 70-persistent-net.rules
Amitay Isaacs [Wed, 1 Feb 2012 03:33:25 +0000 (14:33 +1100)]
Add hooks to remove files and remove 70-persistent-net.rules

This file might exist if the base has been booted and the cluster
created afterwards.

12 years agoStore guestfish PID for unmounting guestfish sessions
Amitay Isaacs [Wed, 1 Feb 2012 01:42:11 +0000 (12:42 +1100)]
Store guestfish PID for unmounting guestfish sessions

12 years agoCalculate SHARED_DISK_PREFIX automatically
Amitay Isaacs [Wed, 1 Feb 2012 01:15:42 +0000 (12:15 +1100)]
Calculate SHARED_DISK_PREFIX automatically

12 years agoFix disk naming for mix ide/scsi system/shared disks
Amitay Isaacs [Wed, 1 Feb 2012 00:48:55 +0000 (11:48 +1100)]
Fix disk naming for mix ide/scsi system/shared disks

12 years agoSpecify netmask (/24) when configuring interface
Amitay Isaacs [Mon, 30 Jan 2012 05:29:07 +0000 (16:29 +1100)]
Specify netmask (/24) when configuring interface

12 years agoAdd missing type option for qemu driver
Amitay Isaacs [Mon, 30 Jan 2012 05:26:53 +0000 (16:26 +1100)]
Add missing type option for qemu driver

12 years agoUpdate autocluster git repo url
Amitay Isaacs [Mon, 30 Jan 2012 05:25:58 +0000 (16:25 +1100)]
Update autocluster git repo url

12 years agoAdded RHEL6.2 ISO details.
Martin Schwenke [Tue, 6 Dec 2011 23:43:15 +0000 (10:43 +1100)]
Added RHEL6.2 ISO details.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoMake setup_cluster.sh extract $auth_type from config file
Martin Schwenke [Tue, 25 Oct 2011 06:08:02 +0000 (17:08 +1100)]
Make setup_cluster.sh extract $auth_type from config file

Edit the config file if you want to change the authentication type to
"winbind".

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agocluster_configure - unify templates directories for file and winbind
Martin Schwenke [Tue, 25 Oct 2011 05:52:57 +0000 (16:52 +1100)]
cluster_configure - unify templates directories for file and winbind

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agocluster_configure - template substitutions depending on auth_type
Martin Schwenke [Tue, 25 Oct 2011 05:10:24 +0000 (16:10 +1100)]
cluster_configure - template substitutions depending on auth_type

These are horrible but can probably be made a bit cleaner later on.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agogpfs-nas.conf - define auth_method
Martin Schwenke [Tue, 25 Oct 2011 05:09:15 +0000 (16:09 +1100)]
gpfs-nas.conf - define auth_method

Need to get rid of multiple template directories.  They are a
maintenance nightmare.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agocluster_configure - need to escape '|' in regular expression
Martin Schwenke [Tue, 25 Oct 2011 05:08:46 +0000 (16:08 +1100)]
cluster_configure - need to escape '|' in regular expression

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agosetup_cluster.sh - fix a typo where "all" is missing in an onnode command
Martin Schwenke [Tue, 25 Oct 2011 03:01:15 +0000 (14:01 +1100)]
setup_cluster.sh - fix a typo where "all" is missing in an onnode command

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agocluster_configure - fix FTP_EXPORTS setting
Martin Schwenke [Tue, 25 Oct 2011 03:00:51 +0000 (14:00 +1100)]
cluster_configure - fix FTP_EXPORTS setting

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agocluster_configure - fix GPFS_SHARES setting
Martin Schwenke [Tue, 25 Oct 2011 03:00:23 +0000 (14:00 +1100)]
cluster_configure - fix GPFS_SHARES setting

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agocluster_configure - also go GPFS share setup for winbind
Martin Schwenke [Tue, 25 Oct 2011 02:59:32 +0000 (13:59 +1100)]
cluster_configure - also go GPFS share setup for winbind

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agogpfs-nas-postinstall.sh - add install of rssh
Martin Schwenke [Mon, 24 Oct 2011 05:54:21 +0000 (16:54 +1100)]
gpfs-nas-postinstall.sh - add install of rssh

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agosetup_gpfs.sh - fix recovery lock setting for /etc/sysconfig/ctdb
Martin Schwenke [Mon, 24 Oct 2011 05:44:43 +0000 (16:44 +1100)]
setup_gpfs.sh - fix recovery lock setting for /etc/sysconfig/ctdb

Clearly nobody uses this, since it was broken in
94288bb324b1362a9994965e458addcd3b1e8f20 18 months ago.  :-(

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agomknsd.sh - update to use shared_disk_ids file and to work with modern GPFS.
Martin Schwenke [Thu, 20 Oct 2011 05:49:44 +0000 (16:49 +1100)]
mknsd.sh - update to use shared_disk_ids file and to work with modern GPFS.

Old code is left for potential backward compatibility.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoShared disks: put IDs into a file on each node.
Martin Schwenke [Thu, 20 Oct 2011 03:54:53 +0000 (14:54 +1100)]
Shared disks: put IDs into a file on each node.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoRationalise list of packages in gpfs-nas-postinstall.sh.
Martin Schwenke [Thu, 20 Oct 2011 03:03:49 +0000 (14:03 +1100)]
Rationalise list of packages in gpfs-nas-postinstall.sh.

Some packages no longer exist in modern clustered Samba.

Signed-off-by: Martin Schwenke <martin@meltin.net>
12 years agoNew configuration variable SHARED_DISK_ID_GEN for configurable shared disk IDs
Martin Schwenke [Tue, 13 Sep 2011 01:08:26 +0000 (11:08 +1000)]
New configuration variable SHARED_DISK_ID_GEN for configurable shared disk IDs

The function or command specified should take 1 argument (disk
index/number) and print to stdout a unique identifier for that disk,
followed by a newline.  Sensible implementations will probably just
use echo.  :-)

The default implementation is via new function
shared_disk_id_default(), which ignores the disk number and generates
the ID using uuidgen, as per the previous hardcoded method.

scsi_id_autocluster.sh is modified to retrieve disk IDs up to 64 64
characters and is truncates at the first newline.  Therefore, in
general, the length of IDs is now governed by the generation function
rather than this script.

Signed-off-by: Martin Schwenke <martin@meltin.net>