diff options
| author | Martin Schwenke <martin@meltin.net> | 2008-10-01 20:35:08 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2008-10-01 20:35:08 +1000 |
| commit | 3766b1252f59cbbd6b91cd2c5ccc0bb778dc9c3f (patch) | |
| tree | 87796a25c381e8406a4d6c52f4100307920e3016 /base/root/scripts | |
| parent | 0b2851d8f9efd4b471f67e6964c942e2adca24c0 (diff) | |
| download | autocluster-3766b1252f59cbbd6b91cd2c5ccc0bb778dc9c3f.tar.gz autocluster-3766b1252f59cbbd6b91cd2c5ccc0bb778dc9c3f.tar.xz autocluster-3766b1252f59cbbd6b91cd2c5ccc0bb778dc9c3f.zip | |
Update the httpexports section as well as
/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>
Diffstat (limited to 'base/root/scripts')
| -rw-r--r-- | base/root/scripts/conf.base | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/base/root/scripts/conf.base b/base/root/scripts/conf.base index 1a7942f..3bc9d34 100644 --- a/base/root/scripts/conf.base +++ b/base/root/scripts/conf.base @@ -45,9 +45,9 @@ data=/gpfs/data [httpexports] - ScriptAlias "/gpfs/data" "/var/www/cgi-bin/browse.cgi" - RewriteRule ^/data(.*)$ "/gpfs/data$1" [R] - + ScriptAliasMatch "^/gpfs/data" "/var/www/cgi-bin/browse.cgi" + RewriteRule "^/data(.*)$" "/gpfs/data$1" [PT] + [nfsexports] "/gpfs/data" *(rw,no_root_squash,fsid=834258092) @@ -72,6 +72,7 @@ gpfs:leases = yes passdb backend = tdbsam idmap backend = tdb2 + idmap:cache = no security = ADS preferred master = no idmap gid = 10000000-11000000 @@ -83,6 +84,7 @@ vfs objects = shadow_copy2 syncops gpfs fileid shadow:snapdir = .snapshots shadow:fixinodes = yes + wide links = no auth methods = guest sam winbind smbd:backgroundqueue = False read only = no @@ -222,10 +224,13 @@ # should ctdb manage starting/stopping the winbind service for you? # default is autodetect CTDB_MANAGES_WINBIND=yes + # should ctdb monitor GPFS filesystems and disks + CTDB_MANAGES_GPFS=yes # you may wish to raise the file descriptor limit for ctdb # use a ulimit command here. ctdb needs one file descriptor per # connected client (ie. one per connected client in Samba) ulimit -n 10000 + DAEMON_COREFILE_LIMIT="unlimited" # the NODES file must be specified or ctdb won't start # it should contain a list of IPs that ctdb will use # it must be exactly the same on all cluster nodes @@ -462,8 +467,8 @@ logfacility=LOG_USER [/etc/httpd/conf.d/shares.config] - RewriteRule "^/data(.*)$" "/gpfs/data$1" [PT] ScriptAliasMatch "^/gpfs/data" "/var/www/cgi-bin/browse.cgi" + RewriteRule "^/data(.*)$" "/gpfs/data$1" [PT] [/etc/vsftpd/vsftpd.conf] # no anon access |
