summaryrefslogtreecommitdiffstats
path: root/base
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>
* 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-201-0/+3
| | | | | | | | 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>
* Install Performance Co-Pilot development libraries on build VMMartin Schwenke2013-06-021-0/+6
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* 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>
* New configuration variable NETWORKS - IPBASE, IPNET* no longer usedMartin Schwenke2013-03-054-16/+1
| | | | | | | | | 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>
* scripts: provision command changed to samba-tool domain provisionAmitay Isaacs2012-09-171-1/+2
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* scripts: Stop redirecting output of onnode commandAmitay Isaacs2012-08-211-2/+2
| | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* Add install of e2fsprogs-devel to setup_build.shMartin Schwenke2012-06-191-1/+1
| | | | 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-013-15/+35
| | | | | | | | | 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>
* 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-221-1/+5
| | | | 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>
* 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>
* Remove CIFSNAME configuration variable.Martin Schwenke2012-05-221-1/+0
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Remove old SoFS-releated filesMartin Schwenke2012-05-221-69/+0
| | | | | | | | | | | 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>
* Add script to setup Samba4 AD serverAmitay Isaacs2012-05-221-0/+63
| | | | | | It provisions Samba AD instance for DOMAIN, uses INTERNAL dns server. Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* NFS client setup fixesMartin Schwenke2012-05-071-7/+0
| | | | | | | | | 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>
* templates - gpfs-nas-postinstall.sh should install nfs-utilsMartin Schwenke2012-05-021-0/+3
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Add AUTH_METHOD config variable for authenticationAmitay Isaacs2012-03-051-1/+1
| | | | possible values are files (default), winbind
* Add ctdb plugin for creating /etc/ctdb/public_addressesAmitay Isaacs2012-03-054-1/+43
|
* Change public addresses output format from make_public_addresses()Amitay Isaacs2012-03-051-0/+1
| | | | | | @@@PUBLIC_ADDRESSES@@@ will be replaced with firstip,num_ips,iface firstip,num_ips,iface ...
* Remove unused script and config fileAmitay Isaacs2012-03-052-627/+0
|
* Update /etc/krb5.conf using configured domainAmitay Isaacs2012-03-052-2/+10
|
* Use workgroup rather than cluster name as samba workgroupAmitay Isaacs2012-03-051-1/+1
|
* Remove auth_type from templatesAmitay Isaacs2012-02-071-1/+1
|
* Make setup_cluster.sh extract $auth_type from config fileMartin Schwenke2011-10-251-2/+2
| | | | | | | Edit the config file if you want to change the authentication type to "winbind". Signed-off-by: Martin Schwenke <martin@meltin.net>
* cluster_configure - unify templates directories for file and winbindMartin Schwenke2011-10-2542-288/+5
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* cluster_configure - template substitutions depending on auth_typeMartin Schwenke2011-10-253-5/+15
| | | | | | These are horrible but can probably be made a bit cleaner later on. Signed-off-by: Martin Schwenke <martin@meltin.net>
* gpfs-nas.conf - define auth_methodMartin Schwenke2011-10-251-0/+1
| | | | | | | Need to get rid of multiple template directories. They are a maintenance nightmare. Signed-off-by: Martin Schwenke <martin@meltin.net>
* cluster_configure - need to escape '|' in regular expressionMartin Schwenke2011-10-251-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* setup_cluster.sh - fix a typo where "all" is missing in an onnode commandMartin Schwenke2011-10-251-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* cluster_configure - fix FTP_EXPORTS settingMartin Schwenke2011-10-251-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* cluster_configure - fix GPFS_SHARES settingMartin Schwenke2011-10-251-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* cluster_configure - also go GPFS share setup for winbindMartin Schwenke2011-10-252-0/+12
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* gpfs-nas-postinstall.sh - add install of rsshMartin Schwenke2011-10-241-0/+3
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* setup_gpfs.sh - fix recovery lock setting for /etc/sysconfig/ctdbMartin Schwenke2011-10-241-1/+1
| | | | | | | Clearly nobody uses this, since it was broken in 94288bb324b1362a9994965e458addcd3b1e8f20 18 months ago. :-( Signed-off-by: Martin Schwenke <martin@meltin.net>
* mknsd.sh - update to use shared_disk_ids file and to work with modern GPFS.Martin Schwenke2011-10-201-8/+18
| | | | | | Old code is left for potential backward compatibility. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Rationalise list of packages in gpfs-nas-postinstall.sh.Martin Schwenke2011-10-201-11/+3
| | | | | | Some packages no longer exist in modern clustered Samba. Signed-off-by: Martin Schwenke <martin@meltin.net>
* New configuration variable SHARED_DISK_ID_GEN for configurable shared disk IDsMartin Schwenke2011-09-131-2/+1
| | | | | | | | | | | | | | | | | | 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>
* Added TODO file for cluster_configure.Martin Schwenke2010-12-061-0/+3
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Configuration file and wrapper script for simple GPFS-based NAS stack.Martin Schwenke2010-12-062-0/+161
| | | | | | | | Master configuration file for cluster_configure and a wrapper script to hold it all together. The script may eventually become part of cluster_configure. Signed-off-by: Martin Schwenke <martin@meltin.net>
* kickstart and post-install templated for simplified GPFS-based NAS cluster.Martin Schwenke2010-12-061-0/+41
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Initial version of cluster_configure.Martin Schwenke2010-12-0647-0/+1592
| | | | | | See base/all/root/scripts/cluster_configure/README. Signed-off-by: Martin Schwenke <martin@meltin.net>
* mknsd.sh creates its own list of disks to use as NSDs.Martin Schwenke2010-12-021-1/+3
| | | | | | | | | | | This currently uses /var/mmfs/etc/nsddevices to list the disks but this script isn't generally available. Instead we implement some custom logic that asks multipath about available devices and then filters on those created by KVM or via autocluster's iSCSI code. Signed-off-by: Martin Schwenke <martin@meltin.net>
* setup_gpfs.sh no longer uses cnpushfile.Martin Schwenke2010-11-291-1/+1
| | | | | | Use a more generic combination of onnode and rsync. Signed-off-by: Martin Schwenke <martin@meltin.net>
* New configuration variable GPFS_DEFAULT_MOUNTPOINT, used by setup_gpfs.sh.Martin Schwenke2010-11-291-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make 3rd octet of IP addresses configurable.Martin Schwenke2010-09-233-3/+3
| | | | | | | This introduces new variables IPNET0, IPNET1, IPNET2. These default to 0, 1, 2 respectively. That is, this change is backward compatible. Signed-off-by: Martin Schwenke <martin@meltin.net>
* NTP server should be GATEWAY, not a hand constructed IP address.Martin Schwenke2010-09-231-1/+1
| | | | Signed-off-by: Martin Schwenke <martin@meltin.net>