summaryrefslogtreecommitdiffstats
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
...
* conf.base updates and memory limit tweaks.Martin Schwenke2009-04-172-2/+5
| | | | | | | | | | | | | | | | | | | Rename conf.base to conf.base-SoFS, since it is SoFS-specific. Add conf.base-SoFS-1.5.3 and modify setup_samba.sh to look for a version-specific file if it exists. Revert default value of MEM to 256MB and add 128MB to it in any release files (SoFS-1.5.2, SoFS-1.5.3) that tell the kernel to reserve 128MB for kdump. This introduces more order dependencies when using release files... but there are obvious advantages. Updated GUIMEM to be a nice round 704MB and set it to 1GB in recent release files (SoFS-1.5.2, SoFS-1.5.3) since it now seems much easier to run out of memory. Update note in README about configuration order being important when using release files. Add new file TODO. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Fix the state check in setup_gpfs.sh to be more robust. ChangeMartin Schwenke2009-04-092-3/+12
| | | | | | invocation of "sofs config" in setup_samba.sh to "cnconfig". Signed-off-by: Martin Schwenke <martin@meltin.net>
* Rework some of the postinstall logic to make it easier to setup andMartin Schwenke2009-04-031-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | manage 2 level clusters, where each node's disk image has its own base file. Such as cluster can be reset by simply recreating each node's disk image. The main issue is that nbd can be unreliable and we try to avoid using it from cron. Details: * Rename force-net.sh to basic-postinstall.sh, and move repository setup and initial yum update here from postinstall.sh. * Rename postinstall.sh to SoFS-postinstall.sh, since it is now SoFS-specific. * The default value for POSTINSTALL_TEMPLATE is now "" - the SOFS release files set it to SoFS-postinstall.sh. Set it back to "" in a configuration file to build bare images that can be used as bases. Other changes: * Hack substitute_vars() so it uses /dev/null if passed a zero length input file and so it echoes to stdout if no output file is given - the latter allows inline use in command substitutions. * The name of the install yum repository configuration file is now taken from the basename of the YUM_TEMPLATE option. * with_release() now prints a list of available releases if an incorrect release is specified. * Fix the -c option if a non-local file is given. * Fix typo in SoFS.repo for SoFS-daily. It should now work. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Make the version of the GPFS base package that is installed byMartin Schwenke2009-04-011-1/+1
| | | | | | | postinstall.sh configurable via the new configuration variable GPFS_BASE_VERSION. Set it to 3.2.1-10 for SoFS-1.5.3. Signed-off-by: Martin Schwenke <martin@meltin.net>
* Merge commit 'martin/for-tridge'Andrew Tridgell2009-01-081-0/+5
|\
| * Get postinstall.sh to install keyutils-libs-devel.i386 - it is neededMartin Schwenke2009-01-081-0/+5
| | | | | | | | | | | | to build 32-bit winbind libraries. Signed-off-by: Martin Schwenke <martin@meltin.net>
* | Merge commit 'martin/for-tridge'Andrew Tridgell2009-01-083-4/+9
|\|
| * Enable NFS locking in postinstall.sh.Martin Schwenke2008-11-061-0/+4
| | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
| * New format for HTTP configuration in conf.base.Martin Schwenke2008-10-201-4/+4
| | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
| * Add an extra SSH public key to the base authorized keys.Martin Schwenke2008-10-101-0/+1
| | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
* | Merge commit 'svart/master'Andrew Tridgell2008-10-074-21/+120
|\|
| * setup_samba.sh tries even harder to make the cluster healthy.Martin Schwenke2008-10-021-1/+9
| | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
| * Update the httpexports section as well asMartin Schwenke2008-10-011-4/+9
| | | | | | | | | | | | | | | | /etc/httpd/conf.d/shares.config to fix HTTP. Miscellanous additions to match what the GUI does: idmap:cache = no, wide links = no, CTDB_MANAGES_GPFS = yes, DAEMON_CORE_LIMIT = unlimited. Signed-off-by: Martin Schwenke <martin@meltin.net>
| * setup_samba.sh waits 10 seconds, not until healthy, before 2nd ctdb restart.Martin Schwenke2008-10-011-2/+2
| | | | | | | | Signed-off-by: Martin Schwenke <martin@meltin.net>
| * setup_samba.sh needs to say #!/bin/bash, as does anything that callsMartin Schwenke2008-09-241-1/+1
| | | | | | | | | | | | cluster_is_healthy. Signed-off-by: Martin Schwenke <martin@meltin.net>
| * Add base file /root/scripts/functions. setup_samba.sh now properlyMartin Schwenke2008-09-242-15/+45
| | | | | | | | | | | | | | | | waits for a completely healthy cluster. chroot jail generation goes after winbind start. We also no longer try to fix the jail - assume a working cnjailgen is hacked in via some other process. Signed-off-by: Martin Schwenke <martin@meltin.net>
| * Put back the chroot jail fixes and httpd config changes that somehowMartin Schwenke2008-09-192-4/+8
| | | | | | | | | | | | disappeared. Signed-off-by: Martin Schwenke <martin@meltin.net>
| * New option WITH_SOFS_GUI can be set to 0 to avoid installation of theMartin Schwenke2008-09-181-1/+6
| | | | | | | | | | | | | | | | GUI packages. New option EXTRA_KERNEL_OPTIONS can be used to pass extra options to the kernel when booting nodes. Removed unneeded comments from config.default. Signed-off-by: Martin Schwenke <martin@meltin.net>
| * Move the forced network configuration from postinstall.sh to aMartin Schwenke2008-09-171-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | separate template that only gets included in the kickstart templates. Take openldap-devel and -scsi-target-utils out of EXTRA_PACKAGES - you can't change a previous selection. setup_base needs to call setup_indirects, since postinstall.sh needs YUM_REPOS. Add a 2nd network interface to install.xml (and bootbase.xml), so we can keep the 2nd network interface specified in the kickstart template. Fix some stuff in the kickstart templates, comment out some things that don't work, add AUTOCLUSTER_POSTINSTALL. Signed-off-by: Martin Schwenke <martin@meltin.net>
| * New base script template /root/scripts/postinstall.sh replacesMartin Schwenke2008-09-173-9/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /root/postinstall.sh. This has also been removed from the 1.5 kickstart template and gets substituted in via new config option KICKSTART_TEMPLATE, which should be set to /dev/null if none of the fancy kickstart post-install magic is required. chkconfig and start of ntpd moved to setup_samba.sh. Also added chkconfig for ctdb there. Added to default value of EXTRA_PACKAGES: openldap-devel, -scsi-target-utils, -xorg-x11-drivers, -xorg-x11-server-Xorg. New yum repo templates: SoFS-1.5.1.repo, SoFS-1.6.repo, SoFS-daily.repo. Updated SoFS-1.5.repo to use SoFS-1.5-Stable and removed SoFS-daily from it. made kickstart-1.5.cfg as consistent as possible with the official SoFS version... and duplicated it to kickstart-1.5.1.cfg. Signed-off-by: Martin Schwenke <martin@meltin.net>
* | specify default inode sizeAndrew Tridgell2008-10-071-1/+1
|/
* fixup scp and ftp chroot areasAndrew Tridgell2008-09-171-0/+6
|
* update base config for new cgi syntaxAndrew Tridgell2008-09-171-4/+2
|
* disable zeroconfAndrew Tridgell2008-08-191-0/+1
|
* added a default ntp.confAndrew Tridgell2008-08-101-0/+3
|
* not needed any moreAndrew Tridgell2008-08-061-10/+0
|
* fixed hosts file for kerberosAndrew Tridgell2008-08-061-1/+2
|
* fixed error handling for missing filesAndrew Tridgell2008-08-011-1/+3
|
* added sofs pushAndrew Tridgell2008-07-311-0/+33
|
* nicer error handling in some scriptsAndrew Tridgell2008-07-314-1/+20
|
* fixed problem with setup_segv_handler.shAndrew Tridgell2008-07-291-0/+2
|
* ignore error return from dsmadmcAndrew Tridgell2008-07-291-1/+1
|
* ignore dsmadmc exit codeAndrew Tridgell2008-07-291-0/+1
|
* work with 3 nodesAndrew Tridgell2008-07-291-8/+0
|
* split out waitforAndrew Tridgell2008-07-291-0/+30
|
* more robust gpfs waitAndrew Tridgell2008-07-291-16/+26
|
* let error messagesAndrew Tridgell2008-07-291-2/+2
|
* keep retrying the mountAndrew Tridgell2008-07-291-1/+1
|
* yet another multipath fixAndrew Tridgell2008-07-291-2/+2
|
* another multipath workaround for TSMAndrew Tridgell2008-07-291-0/+3
|
* don't need the gpfsready hacks any moreAndrew Tridgell2008-07-281-7/+3
|
* allow selection of the conf fileAndrew Tridgell2008-07-281-6/+43
|
* updated from Christian AmbachAndrew Tridgell2008-07-271-4/+7
|
* ensure smbd becomes a daemonAndrew Tridgell2008-07-271-1/+1
|
* enable quotas in mmcrfs at request of svenAndrew Tridgell2008-07-251-1/+1
|
* need to restart winbind - why?Andrew Tridgell2008-07-251-0/+4
|
* comment the configAndrew Tridgell2008-07-251-0/+2
|
* msg on completionAndrew Tridgell2008-07-251-0/+2
|
* join the domainAndrew Tridgell2008-07-251-0/+3
|
* create directories if missingAndrew Tridgell2008-07-251-1/+6
|