SID-00547: How to configure TWiki on NFS
| Status: |
Answered |
TWiki version: |
4.2.4 |
Perl version: |
5.10.0 |
| Category: |
CategoryDeployment |
Server OS: |
SLES 10 SP2 |
Last update: |
10 years ago |
I am trying to create a load-balanced site. I have apache, perl and TWiki locally installed on each of my two web servers. Apache's web home is set to local installation dir. Configure shows:
{PubUrlPath} /twiki/pub
{PubDir} /nfs/twiki/pub
{DataDir} /nfs/twiki/data
The content is displaying, but images, attachments and any reference to pub dir is still looking local.
Are there any best practices for this setup? I know this is how twiki.org is setup and have read of the issues encountered, but there is no mention as to how apache and twiki are configured.
--
JosephMecca - 2009-10-05
Discussion and Answer
On twiki.org we have this setup:
The directories
bin lib locale templates tools are in a
twiki dir on the local webserver.
The directories
data html pub working are in a
twiki-shared dir on the storage server.
Configure the following TWiki settings accordingly:
{PubDir}, {DataDir}, {WorkingDir}, {Htpasswd}{FileName}, {ConfigurationLogName}, {DebugFileName}, {WarningFileName}, {LogFileName}.
Configure Apache to point
twiki/bin and
twiki/pub to the proper nfs mounted directory.
--
PeterThoeny - 2009-10-05
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-11-23
I am also trying to create a load-balanced site and I have also installed apache, perl and Twiki locally on both the servers. I am trying to replicate the data between the two servers using NFS. However if the lib is on the local webserver will the plugins i install on one twiki server get updated on the second one?
--
TWiki Guest - 2016-01-21
Best to open a new support question with details. I am not clear what you mean by "replicate the data". See also
LargeSite.
--
Peter Thoeny - 2016-01-22
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.