
This document details the steps you should take to upgrade to the new version of DiCoP.
Download our GnuPG key from http://www.bsi.bund.de/produkte/dicop/download.htm then do:
gpg --verify Dicop-Server-3.00_50.tar.gz.asc
(replace 3.00_50 with the actual version you got)
If the signature does not verify ok, please notify us immidiately. DO NOT run perl Makefile.PL or anythign else nor install the package when the signature cannot be verified ok. Your system might get compromised!.
Makefile and run the testsuite:
perl Makefile.PL
make
make test
You might need to update some Perl modules before you can run make or make test.
Proceed if all tests pass, otherwise contact us with the output of the failing tests.
config/) and mail templates (tpl/mail/) to the new installation directory. Also, copy over the data files from your old server to the new one (data/) and don't forget to copy over the workers in worker/!config/server.cfg.sample for an example).
If you have a version prior to v3.00 build 49, remove the obsolete is_proxy setting from your config file.
perl adduser.pl
and follow the instructions to add an administrator to the server.
If you have version v2.19 and added more than one user, you need to delete the extra users (or just delete data/user.lst and run adduser.pl again). You must later re-add these users via the HTTP interface. If you don't, the other users still won't be able to use the HTTP interface with password checks.
data/ and logs/:
chown dicop.dicop data/*
chown dicop.dicop logs/*
Change the permissions of the other files, too. Replace dicop.dicop with the user and group of what your dicopd is really using.
Locate the file data/jobtypes.lst (if you defined it's name to something else in the configuration file server.cfg, use the appripriate name) and in it any jobtype that has the worker names "test" and "prime". Change these to "test.pl" and "prime.pl" if they aren't already named like this.
config/server.cfg to a different number, like 9999. chdir config
diff -u server.cfg server.cfg.sample
Note the new options like bind, host, and chroot, and add these to your own configuration file.
Also note that the entry
mailtxt_dir = tpl/mail
might be wrong and must be:
mailtxt_dir = mail
./dicopd
When it is running, use your browser to connect to the new server and check that it is working properly. Be carefull to use the right port number! Also check the console for messages appearing there, and don't forget to take a look into the error.log.
If your cluster nodes are running an endless loop script downloading the newest client and then start it, you can simple start the new server version - it will tell all the clients that they are outdated and the new version will automatically be used. Otherwise you might need to restart or reboot your clients.
See the documentation in doc/Dicop.pod for an example of an endless-loop script.
Lean back satisfied and enjoy the new version. ;)

(c) Bundesamt fuer Sicherheit in der Informationstechnik 1998-2004
DiCoP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
See the file LICENSE or http://www.bsi.de/ for more information.