[Dovecot] 1.0.15 -> 2.x upgrade for mass hosting environment
Hi all,
We're looking at upgrading our current mail platform from 1.0.15 to
2.x to take advantage of the new director functionality.
Our main concern is the number of mailboxes involved (circa. 300K) and
the rebuilding of the index files, especially as it seems that once
you've upgraded, rolling back requires the deletion and recreation of
all indices.
Has anyone worked on an upgrade like this in the past? If so, do you
have any war stories you can share either on or off list?
Thanks in advance,
Matt
On 01/03/2011 13:24, lists@truthisfreedom.org.uk wrote:
Hi all,
We're looking at upgrading our current mail platform from 1.0.15 to 2.x to take advantage of the new director functionality.
Our main concern is the number of mailboxes involved (circa. 300K) and the rebuilding of the index files, especially as it seems that once you've upgraded, rolling back requires the deletion and recreation of all indices.
Has anyone worked on an upgrade like this in the past? If so, do you have any war stories you can share either on or off list?
Hi, don't have an installation of anything approaching your size.
However, I do regularly see folks missing out on the idea that its
reasonably straightforward to have both Dovecot (old) and Dovecot (new)
versions running at the same time and migrate users over slowly rather
than in a big bang?
Personally my own experience was that changing from v1 to v2 was a fairly unexciting upgrade (as the admin) other than the obvious (large) change in configuration required.
Oh, one feature of Dovecot 2 which isn't on by default, but I have found
very interesting is the "COMPRESS" IMAP feature. You need to enable a
few config changes, but after that many clients can talk over a gzip'd
tunnel, which in my testing leads to a decent reduction in bandwidth.
It's especially nice for mobile use (eg Profimail on Nokia S60)
Good luck
Ed W
Quoting Ed W <lists@wildgooses.com>:
Hi, don't have an installation of anything approaching your size. However, I do regularly see folks missing out on the idea that its reasonably straightforward to have both Dovecot (old) and Dovecot (new) versions running at the same time and migrate users over slowly rather than in a big bang?
Yeah, we're actually now thinking that we should create a new cluster
running dovecot 2.0, mount the existing control/maildir files from the
current shared storage and then regenerate the indices before going
live - would that work here? I'm struggling to find anything in the
docs that state the control files will be affected by the upgrade.
Personally my own experience was that changing from v1 to v2 was a fairly unexciting upgrade (as the admin) other than the obvious (large) change in configuration required.
That's good to know... :)
Oh, one feature of Dovecot 2 which isn't on by default, but I have found very interesting is the "COMPRESS" IMAP feature. You need to enable a few config changes, but after that many clients can talk over a gzip'd tunnel, which in my testing leads to a decent reduction in bandwidth. It's especially nice for mobile use (eg Profimail on Nokia S60)
sounds v. cool... :D
Thanks,
Matt
On 1.3.2011, at 18.57, lists@truthisfreedom.org.uk wrote:
Quoting Ed W <lists@wildgooses.com>:
Hi, don't have an installation of anything approaching your size. However, I do regularly see folks missing out on the idea that its reasonably straightforward to have both Dovecot (old) and Dovecot (new) versions running at the same time and migrate users over slowly rather than in a big bang?
Yeah, we're actually now thinking that we should create a new cluster running dovecot 2.0, mount the existing control/maildir files from the current shared storage and then regenerate the indices before going live - would that work here? I'm struggling to find anything in the docs that state the control files will be affected by the upgrade.
v2.0 will read v1.x indexes just fine, no need to do any regeneration. (But v2.0 indexes can be read only by v1.2.5+.)
Quoting Timo Sirainen <tss@iki.fi>:
On 1.3.2011, at 18.57, lists@truthisfreedom.org.uk wrote:
Yeah, we're actually now thinking that we should create a new
cluster running dovecot 2.0, mount the existing control/maildir
files from the current shared storage and then regenerate the
indices before going live - would that work here? I'm struggling to
find anything in the docs that state the control files will be
affected by the upgrade.v2.0 will read v1.x indexes just fine, no need to do any
regeneration. (But v2.0 indexes can be read only by v1.2.5+.)
OK, that's good to know. Just to confirm, dovecot 2.0 *does not*
upgrade any files by default?
M.
participants (3)
-
Ed W
-
lists@truthisfreedom.org.uk
-
Timo Sirainen