This page describes the current migration process of the public people directories.

Current situation:

Due to the old age of the current personal web directory server and fast leaps in software development of webservers and dynamic code, we want to migrate the personal webpages.

We therefore have provided some ways of migrating your personal website.

At the moment there are two places where your files can be located.

  • the old location (on the old server jotun.cs.kuleuven.be):
    • /cw/w3people2/firstname.lastname/
    • http://people2.cs.kuleuven.be/~firstname.lastname/
  • the new location (on the new server tigris.cs.kuleuven.be):
    • /cw/w3people1/firstname.lastname/
    • http://people1.cs.kuleuven.be/~firstname.lastname/
Migration from the old to the new location:

Your personal URL http://people.cs.kuleuven.be/~firstname.lastname/ will not change because of this migration, but it will be served by a different server before and after. The purpose of the whole migration procedure is to make this change completely transparent so that visitors of your personal web site do not see the difference between before and after; there is a moment during the migration where the difference can be seen but has no (or at least should not have an) influence otherwise:

  • Before migration, your personal URL http://people.cs.kuleuven.be/~firstname.lastname/ is the same as the old one as described above.
  • During the migration, web sites that are already migrated to the new server will be served by the new URL and this will be noticeable in the URL that is displayed in the address bar - your personal URL will be redirected automatically to this new URL.
    • You can see whether your personal web site is migrated or not by looking at your /cw/w3people2/firstname.lastname
      • if that is a directory, your web site is not yet migrated
      • if that is a symbolic link, your web site is already migrated
  • After the whole migration this (noticeable) redirect will be de-activated again and your personal URL http://people.cs.kuleuven.be/~firstname.lastname/ will be the same as the new one as described above.

We currently plan to end the whole migration procedure on February 15th, 2016.

Because of the new software on the new server, we cannot guarantee that your web site will still function on the new server as it did on the old server:

  • if you use authentication (by means of a .htaccess file) you need to change the syntax
  • if you only use static html or very simple SSI and/or PHP, changes are high that no changes are necessary
  • if you use rather complex PHP, you definitely need to check/test in detail

See https://httpd.apache.org/docs/2.4/upgrading.html for more information about what has changed between the old and new server.

Moreover if you have in your home directory or scripts a link to /cw/wwwserver/extern/.. or /cw/w3users/.. as of this migration these folders aren't supported anymore. For more info see shortcuts

Possible actions:

If there are no files and folders in your old location, your personal URL will be migrated to the new server without further questions (because there is nothing to migrate and/or test).

If there are files and folders in your old location then you have the options below:

  • Do nothing, wait and see -

    your files and personal URL will be migrated from the old to the new location at the very end of the migration without further questions.

  • Test your web pages on the new webserver before the migration -

    If everything is OK, you can ask to migrate your personal URL to the new location even before the end of the overall migration process.

  • Start from scratch on the new server -

    Create your new pages in the new location and when ready, ask to migrate your personal URL to the new location.

If you want option 2 or 3, make sure to have finished in doing so before the end of the migration process. We will copy and migrate all remaining personal web pages from the old to the new location at the end of the overall migration process.
As soon as you are done testing and everything is to your liking, contact helpdesk to migrate your personal URL to the new server to prevent having your new files being overwritten with the old ones.

If you want option 2 you should/can start with copying your existing/old files to the new server. Below you can find an explanation how to do so.

Copy from old to new location:

The following script is an rsync wrapper that allows you to copy your files from the the old location /cw/w3people2 to the new location /cw/w3people1 in a controlled way

Log on with your departmental username and password to an intranet machine (e.g. ssh.cs.kuleuven.be) and use the script:

/usr/local/bin/cs-rsync-people2to1

It is probably best to run it first with the --dryrun option.

More options are:

/usr/local/bin/cs-rsync-people2to1 --help

This script uses rsync to copy your personal webfolder from the old (jotun) to the new server (tigris)

   Typical use of this script is:
   cs-rsync-people2to1 [ --dryrun ] [ --copy | --update ] [ --delete ]

   --dryrun (-n)   = simulate but do not actually copy/update
   --copy (-c)     = overwrite destination without looking at timestamps
   --update (-u)   = overwrite destination only if source is newer
   --delete (-d)   = remove from destination if not present in source

The default action is --copy --delete (this gives you an exact 1:1 copy)

Do notice that this script does not only copy what is in your public_html sub-directory but also everything that is alongside it - this might not always be the right thing to do - YMMV.