Infrastructure
From OpenSimulator
Languages: |
English Français |
This page is designed to keep track of the current infrastructure running the opensim project. If you have questions or suggestions, please use the Talk page.
Current Infrastructure
Wiki
The wiki is currently Mediawiki 1.13.3. Mediawiki should be kept up to date, look for security updates once a month or so on this.
Search for Wiki
Search for the wiki is provided by MWSearch, which requires a seperate lucene process running. Lucene is a java program that generates a full text search engine for a set of data. It does this for media wiki by doing db dumps on a periodic basis. MWSearch is flakey, and some times needs to be whacked and restarted.
MWSearch lives in /var/www/lucene-search-2.1. You currently need to run ./build on a regular basis there because OAI extension is not yet correctly configured to do incremental updates.
Mantis
We are currently running a patched mantis 1.1.1. It has patches added for additional fields for patch flow (the green states), and to write to a named pipe in /var/run/mantis/mantis-notify with bug change information. This named pipe is read by the osmantis bot. Mantis has not been upgraded in a while because 1.2.x looks like it's on the near horizon, and it would be better to update to that if possible.
osmantis bot
This is a piece of perl code hacked together quickly by sean dague based on a an example perl irc bot using the POE framework. It monitors the panda rss feed for build results, and the named pipe for mantis changes, reformats the messages, and sticks them back out onto IRC. While by no means elegant, it does get the job done. The source code for this is at http://github.com/sdague/osmantis/tree/master. It must be run inside a screen session, and does not currently reconnect in the event of loosing connection with the irc server.
Mailing Lists
These are on berlios.de because the current opensimulator.org box sits on an ip that is in a lot of spam black lists. For this reason many people don't get mantis emails. Networks that are especially bad about that are yahoo.com and pacbell.net
Source Management
git
git emails
git to cia bridge
panda
viewgit
svn tracking mirror
Backups
This is a two step process:
- A nightly cronjob that dumps the mysql databases to /var/dbbackups
- A backuppc process running at Sean Dague's house that sshes in nightly and backs up
- /home
- /etc
- /var/www
- /var/svn
- /var/dbbackups
Backuppc has aged backups, so we've got dailies for a week, weeklies for a month, monthlies for 4 months, and every 4 months for 16 months. After the data losses on the previous box, good backups were a must.
Todo
- Mediawiki Upgrade
- Find new backup solution
- Publish osmantis bot to opensim forge
- Upgrade mantis to latest stable