to upgrade a server

Matt Bernstein mb/cyrus at dcs.qmul.ac.uk
Tue Sep 3 18:53:47 EDT 2002


I'm currently happily running Cyrus 2.1.9 under Debian woody[1]. For a
number of reasons which don't concern this list I'd like to switch to the
new Red Hat Linux beta "(null)".

Being fairly new to Cyrus I want to get my scary moments out of the way, 
before term begins and I have more than a handful of users on the system.
Is there a HOWTO (or the like) for efficiently effecting such a 
transition? Is something like the following sufficient?

1. ctl_cyrusdb -c
2. shut down cyrus
3. ctl_cyrusdb -r
4. for [ all db files ] cvt_cyrusdb to skiplist or flat
5. Install new distribution/OS/libraries etc..
6. rebuild cyrus against new libraries
7. for [ whatever you feel necessary ] cvt_cyrusdb to db4 or whatever
8. restart cyrus and say one's prayers

Comments welcome--I've deliberately written this late at night as that is 
most likely when such a downtime is to happen, but I reckon much if not 
all of the above can be done in one hour.

Matt

[1]          Cyrus SASL 2.1.7
             Sleepycat Software: Berkeley DB 3.2.9: (April 7, 2002)
             OpenSSL 0.9.6c 21 dec 2001
             CMU Sieve 2.2
             TCP Wrappers
             mmap = shared
             lock = fcntl
             nonblock = fcntl
             auth = unix
             idle = poll
             mboxlist.db = db3
             subs.db = flat
             seen.db = flat
             duplicate.db = db3-nosync
             tls.db = db3-nosync





More information about the Info-cyrus mailing list