Tags:
create new tag
view all tags

SID-00547: How to configure TWiki on NFS

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title How to configure TWiki on NFS
SupportCategory CategoryDeployment
TWiki version 4.2.4
Server OS SLES 10 SP2
Web server Apache 2.2.11
Perl version 5.10.0
Browser & version

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2016-01-22 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.