summaryrefslogtreecommitdiffstats
path: root/base/root/scripts/setup_samba.sh
Commit message (Collapse)AuthorAgeFilesLines
* Reorganise base templates directory to allow for node-type-specific files.Martin Schwenke2009-12-041-125/+0
| | | | | | | | | | | | | | | | | | | | | * Previous contents of base/ are now in base/all. * create_node_COMMON() takes an extra argument (inserted as $3) that specifies the node type. All of the create_node_* functions pass "$type" for this argument. * setup_base() now has an optional argument, which is only passed by create_node_COMMON. Rather than simply copying and substituting templates for the entire $BASE_TEMPLATES/ subdirectory it now does this for $BASE_TEMPLATES/all and then $BASE_TEMPLATES/$type. Therefore, the contents of the type-specific directory override the contents of "all" directory. * releases/SoFS.common uses the "all" version of SoFS-postinstall.sh when setting POSTINSTALL_TEMPLATE. This variable also now respects $BASE_TEMPLATES instead of hard-coding the base/ subdirectory. Signed-off-by: Martin Schwenke <martin@meltin.net>
* conf.base updates and memory limit tweaks.Martin Schwenke2009-04-171-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-091-2/+2
| | | | | | invocation of "sofs config" in setup_samba.sh to "cnconfig". Signed-off-by: Martin Schwenke <martin@meltin.net>
* 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>
* 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-241-15/+12
| | | | | | | | 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-191-0/+6
| | | | | | disappeared. Signed-off-by: Martin Schwenke <martin@meltin.net>
* New base script template /root/scripts/postinstall.sh replacesMartin Schwenke2008-09-171-7/+6
| | | | | | | | | | | | | | | | /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>
* fixup scp and ftp chroot areasAndrew Tridgell2008-09-171-0/+6
|
* nicer error handling in some scriptsAndrew Tridgell2008-07-311-0/+5
|
* allow selection of the conf fileAndrew Tridgell2008-07-281-6/+43
|
* ensure smbd becomes a daemonAndrew Tridgell2008-07-271-1/+1
|
* need to restart winbind - why?Andrew Tridgell2008-07-251-0/+4
|
* join the domainAndrew Tridgell2008-07-251-0/+3
|
* added samba setup scriptAndrew Tridgell2008-07-241-0/+57