Opened 18 years ago

Closed 17 years ago

#103 closed task (fixed)

Move main OSGeo Wiki to OSGeo infrastructure

Reported by: arnulf Owned by: martin
Priority: major Milestone:
Component: SysAdmin Keywords: Migrating Wiki
Cc: arnulf.christl@…, benjamin.thelen@…, warmerdam, johng

Description

As discussed on the SAC list the OSGeo Wiki should migrate to hardware that is accessible by OSGeo administrator accounts to ba able to attend to pressing issues more promptly. This would also allow to connect to OSGeo LDAP at a later stage.

Change History (18)

comment:1 by warmerdam, 18 years ago

Component: GeneralSAC
Owner: changed from tmitchell to sac@…

comment:2 by warmerdam, 17 years ago

Cc: warmerdam added
Owner: changed from sac@… to johng

John has agreed to take this issue on.

comment:3 by johng, 17 years ago

Resolution: fixed
Status: newclosed

http://mediawiki.telascience.org/index.php/Main_Page

Also I ran yumex and installed all upgrades and patches for FC4 Installed mediawiki using yumex but then copied the config into /usr/local/apache2/conf/extra/httpd-vhosts.conf "the default apache server is not used"


<VirtualHost *:80>
        ServerName mediawiki.telascience.org
        ServerAdmin johng@telascience.org
        DocumentRoot "/var/www/mediawiki"
        <Directory "/var/www/mediawiki/">
                AllowOverride All
                Options Indexes FollowSymLinks Multiviews
                Order allow,deny
                Allow from all
        </Directory>

        Alias /mediawiki /var/www/mediawiki

        <Location /mediawiki/config>
            Order deny,allow
            Deny from all
            Allow from 127.0.0.1
            # Allow from .example.com
        </Location>

        <Location /mediawiki/includes>
            Deny from all
        </Location>

        <Location /mediawiki/languages>
            Deny from all
        </Location>

        <Location /mediawiki/maintenance>
            Deny from all
        </Location>

        <Location /mediawiki/math>
            Deny from all
        </Location>

</VirtualHost>

comment:4 by warmerdam, 17 years ago

Cc: johng added
Resolution: fixed
Status: closedreopened

We also need to migrate the content of the wiki, and point wiki.osgeo.org to the new instance which will need to respond to that url. This needs to be done in such a way that content generated in the old wiki during the dns transition is not lost (perhaps by locking the old wiki during the transition).

Since John has completed the mediawiki install, I'm assigning this back to the SAC list in the hopes someone else will step forward to take the remaining steps.

comment:5 by warmerdam, 17 years ago

Owner: changed from johng to sac@…
Status: reopenednew

comment:6 by tmitchell, 17 years ago

Owner: changed from sac@… to tmitchell
Status: newassigned

comment:7 by tmitchell, 17 years ago

The instance is up and running, I have access to the server and can help coordinate the migration. I will surely need some support from any mediawiki gurus out there.

My task list on this is:

  • enable ldap authentication
  • migrate/sync users between old mediawiki system and osgeo ldap
  • do a test import of old system
  • work out any remaining plugin needs or tests
  • do final import, lock old system while dns propogates

Questions/issues:

  • when/how to best set up dns so it changes over quickly, do we do something about that sooner than later? (someone will have to help me with that)
  • need a dump from old system, can someone help coordinate that for me? Arnulf/Benjamin can you help at that end?

comment:8 by tmitchell, 17 years ago

Priority: normalcritical

This item has become more critical as current host is moving some systems and our wiki will be down otherwise.

  • I have a dump file available, but need someone to help load it and test the instance.
  • Also, I don't have time to enable the LDAP or other plugin tests, or to do the final sync and flip the switch.
  • What about DNS issues?

I expect some significant personal off-line time for a few days in the upcoming weeks, so I'm looking for someone(s) to help take this task from me if possible.

Tyler

comment:9 by Mateusz Łoskot, 17 years ago

An interesting idea is to have a mirror of the OSGeo Wiki on another machine. Such mirror could be configured as read-only (Frank's suggestion).

Possible solution could be based on the idea of Mirror the Wikipedia and mwdumper utility.

Anotehr suggestion from Chris:

 <crschmidt> mysqldump ; scp telascience; cat dump | mysql
<crschmidt> would probably be sufficient 
}}]
...I agree as well.

comment:10 by warmerdam, 17 years ago

Owner: changed from tmitchell to martin
Status: assignednew

Martin Spott has offered to take care of the migration.

Currently we are waiting on a motion to SAC to put wiki.osgeo.org on osgeo2.

comment:11 by martin, 17 years ago

Status: newassigned

I'm going to migrate the current Wiki setup _unchanged_ to the new machine - still to be determined - and adjust the DNS at pairNIC after read/write tests have been successful. Access to the DNS admin pages works for me. I'd wish to make the move this sunday morning European time or sunday next week. Merging the Wiki user database with OSGeo LDAP and connecting the Wiki to LDAP will be done in a separate, later step.

comment:12 by martin, 17 years ago

Added new DNS A record wiki.osgeo.net/66.223.95.243 for testing virtual host configuration on osgeo2.

comment:13 by martin, 17 years ago

Installed the following packages on 'osgeo2' for compiling PHP5:

apr-devel, cyrus-sasl-devel, openldap-devel, pcre-devel, expat-devel, db4-devel, apr-util-devel, httpd-devel, libxml2-devel, bzip2-devel, libjpeg-devel, libpng-devel, gd-devel, freetype-devel, postgresql, postgresql-devel, libtermcap-devel, readline-devel, ncurses-devel, libxslt-devel

MySQL-client-standard installed, but MySQL-devel-standard appears to have gone lost. Took one from http://mysql.mirror.anlx.net/Downloads/MySQL-5.0/

Why is mysqlclient10 (3.x) still required ?

Looks like these seem not to be available:

t1lib(-devel), mcrypt(-devel)

comment:14 by martin, 17 years ago

Added on 'osgeo2':

libgpg-error-devel, libgcrypt-devel, autoconf, automake, bison, flex, libtool

comment:15 by crschmidt, 17 years ago

OSGeo now has an OpenID server:

http://openid.osgeo.org/

Which means that it would be possible to use the http://www.mediawiki.org/wiki/Extension:OpenID OpenID extension to mediawiki to support OSGeo logins without the need to hook directly up to LDAP.

comment:16 by warmerdam, 17 years ago

I'd add that the wiki migration was completed several days ago. Only the ldap or openid integration is pending now.

comment:17 by warmerdam, 17 years ago

Priority: criticalmajor

Mediawiki LDAP authentication seems well discussed at:

http://www.mediawiki.org/wiki/Extension:LDAP_Authentication

comment:18 by crschmidt, 17 years ago

Resolution: fixed
Status: assignedclosed

Since Wiki Migration is now complete, I've closed this ticket in favor of #165 , specifically targeted towards LDAP integration.

Note: See TracTickets for help on using tickets.