Re: Upgrading from 2.3 to til 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/10/2011 01:00 PM, Frank Elsner wrote:
> On Tue, 10 May 2011 12:19:42 -0400 Wesley Craig wrote:
>> It's usually possible in a murder configuration to do a zero downtime upgrade by xfer-ing users to a backend running the new version.  The admin is then in control of how much index upgrade load to inflict on the new machine.
>
> I'm very interested in details of the "xfer-ing". Can you provide them?

This is how we accomplished our upgrade from 2.3 to 2.4.  We originally 
planned an in-place upgrade, but we encountered the same performance 
problems you noted.  Instead, we vacated one server at a time and did 
the upgrades with no mailboxes in place.  We were then free to move 
mailboxes back on to the newly upgraded server.

If you are running a Cyrus Murder, simply connect via cyradm and issue a 
"rename" command using the same source and destination mailbox name, but 
specify a different server.  The result will be that the mailbox will 
keep its original name but will be moved to the different server.

For example, if my mailbox was on server1 and I wanted to move it to 
server 2 I could:

$ cyradm server1
 > rename user.dave64 user.dave64 server2

To specify a partition instead of moving it to the defaultpartition,

 > rename user.dave64 user.dave64 server2!u1

hth,

Dave



----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux