AppLogic 2.9 Documentation The latest production release is AppLogic 3.0.30 TWiki - reference design for a scalable, structured wiki application
Latest Version: 4.3.1-7
Functional Overview
This application is fully featured, scalable, sturctured wiki, based on TWiki 4.3.1 (http://twiki.org/). This version of TWiki is distributed under GPLv2. The scalable infrastructure is built using AppLogic and AppLogic's catalog appliances.
TWiki is a flexible, powerful, and easy to use enterprise collaboration platform and knowledge management system. It is a Structured Wiki, typically used to run a project development space, a document management system, a knowledge base, or any other groupware tool, on an intranet or on the internet. Web content can be created collaboratively by using just a browser.
For administration and user guides please see the TWiki website or follow the links below:
The TWiki application is packaged as an appliance. All required configuration is exposed on the boundary of the application, so that the application can be configured as a single appliance (using the Application Configuration property sheet in the editor).
Boundary
Properties
These are the only settings that you must configure in order to start the application. Note that certain settings are automatically distributed to multiple appliances (such as the DNS servers, the admin e-mail, etc.). You don't need to understand the internal structure of the application in order to be able to configure it.
| Property Name | Type | Description |
usr_ip | IP | This is the IP address at which the application provides services to users. This property is mandatory |
mail_ip | IP | This is the IP address that the mail gateway is going to use to send e-mail from. This property is mandatory. In the future, we may provide auto assignment of IP addresses to output gateways. |
mail_server | String | Host name of the SMTP mail server through which TWiki should send e-mail notifications. The mail server can be specified as a host name (e.g., mail.3tera.com) or as an IP address (e.g., 12.34.56.78). Use 0.0.0.0 to disable. This property is mandatory. |
netmask | IP | Netmask for the network on which usr_ip and mail_ip reside. This property is mandatory |
gateway | IP | Address of IP gateway to be used to route traffic. This property must be specified in order to access the TWiki application from hosts outside of the IP network on which TWiki is running (i.e., most cases). Use 0.0.0.0 to disable. This property is mandatory. |
dns1 | IP | IP address of a DNS server for host name resolutions. Used to resolve the mail server name. This property is mandatory. |
dns2 | IP | IP address of a backup DNS server for host name resolutions. Used to resolve the mail server name. Default: 0.0.0.0. |
allowed_hosts | String | List of hosts and/or subnets allowed to connect. Separate multiple entries with spaces or commas. Supported format example: 192.168.1.2 192.168.1.0/24 192.168.2.0/255.255.255.0. Default: 0.0.0.0/0 (all allowed) |
timezone | String | Specifies the time zone used in the application. If this property is empty, the timezone is not modified and left as-is. A list of supported time zones is available here. Default: empty |
mon_standby | Int | Determines whether application monitoring is disabled upon application start. If non-zero, monitoring is disabled, otherwise monitoring is enabled. The monitoring can be enabled at runtime by manually starting the mon appliance. Default: 1 (monitoring is disabled). |
The IP addresses configured in the usr_ip and mail_ip properties must be IP addresses available on your AppLogic grid. You can find them, together with the netmask, gateway and dns servers on the dashboard of your grid. We are working to make it possible for AppLogic to provide these addresses automatically
Resources
User Volumes
The application itself uses a single volume, described below. It is part of the application and is already configured into the appliance instances. There are no volumes that need to be configured on the application boundary.
Application Volumes
The TWiki application has the following volumes:
| Volume | Description |
data | Shared file system holding TWiki content, web logs and additional perl modules needed by the TWiki app. This volume is configured as the data volume of the data NAS appliance. |
mon | Monitoring data volume. This volume is configured as the data volume of the mon monitoring appliance. |
Description
Users of the TWiki application can access it at the usr input (defined by the usr_ip address).
Operation
To start using the app
- ssh to the
web appliance and edit /mnt/content/twiki/lib/LocalSite.cfg and delete the line:
$TWiki::cfg{Password} = '...';
- Access the application at its IP or resolvable domain name and configure TWiki (e.g. http://192.168.100.100/bin/configure):
- Under
General path settings set the DefaultUrlHost to the IP address or resolvable domain name of the application
- Under
Mail and Proxies set the WebMasterEmail to the e-mail address of the TWiki web-master. This is required for registration to work.
- (Optional) Once you are done configuring your Twiki, it is recommended to restrict access to the configure section. To do this, have a look at the twiki/.htconf file on the
data volume, it has a commented section that limits access to the configure section just to localhost. Feel free to uncomment that and edit it to suit your needs.
The TWiki administrator name is TWikiAdministrator.
Implementation details
Application Architecture
This is a reference design for a Scalabe TWiki Application
It has the following components:
- one firewalled input gateway
- a web server
- a content file storage
- firewalled output gateway to e-mail server
- a monitoring appliance
The application infrastructure is shown below:
Open source and 3rd party software used inside of the application
TWiki uses the following open source and 3rd party packages:
| Software | Version | Modified | License | Notes |
| TWiki | 4.3.1 | No | GPLv2 | Homepage |
| perl-Apache-Htpasswd | 1.8-2.el5 | No | Artistic | Installed on the content volume |
| perl-Compress-Zlib | 1.42-1.fc6 | No | GPLv2 | Installed on the content volume |
| perl-DBD-Pg | 1.49-2.el5 | No | Artistic | Installed on the content volume |
| perl-Digest-SHA1 | 2.11-1.2.1 | No | Artistic | Installed on the content volume |
| perl-FreezeThaw | 0.45-1.el5.rf | No | Artistic | Installed on the content volume |
| perl-HTML-Parser | 3.55-1.fc6 | No | Artistic | Installed on the content volume |
| perl-HTML-Tagset | 3.10-2.1.1 | No | Artistic | Installed on the content volume |
| perl-libwww-perl | 5.805-1.1.1 | No | Artistic | Installed on the content volume |
| perl-Lingua-EN-Sentence | 0.25-1.2.el5.rf | No | Artistic | Installed on the content volume |
| perl-URI | 1.35-3 | No | Artistic | Installed on the content volume |
Notes
Questions and Comments

To post questions and comments for this application, visit our
forum.
--
ApoorvaKulkarni - 30 Jan 2010