Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-10-2007, 04:58 AM
Special Member
 
Posts: 160
Default Migrating from CMGPro (CommunigatePro)

Right,

The time has come and this weekend I'm moving 295 email accounts and 53 email groups from CommunigatePro to Zimbra, and although I know there will be a real slog involved (my users don't tend to delete email, ever) I'm actually excited about what Zimbra will mean for me and for my company moving forward.

I've got my spreadsheets of users / passwords built
I've got the mail server updated with the relevant RHEL libraries I need
I've got IMAPsync installed on the server
I've got a fridge full of red bull for the weekend
I've got 2 x 1Tb USB drives for backing up the mail to prior to the move
I've even got a plan...

Due to the fact the existing mail server is less than 12 months old, there is no new mail server, CommunigatePro and Zimbra will (hopefully) for a time be running on the same server, CMGPro will be running on user configured ports and Zimbra on default ports, IMAPsync will then be used to copy the data across from the old "server" to the new.

So Thursday night this week, CMGPro will be offline while all the Accounts data files are copied to the 2 x 1Tb USB drives, one will then be kept secure, the other will then be used as the data store throughout Friday, then over the weekend the migration proper will take place. All email will be migrated using IMAPsync, and for the 30 / 40 users who use the MAPI functionality their non-email data will be migrated manually (after all no point in having two assistants and not wrecking their weekend by having them work with me)

Will post up how it goes.....

(Wish me luck)

BTW - the reasons for the move ? Simple Stalker seemingly has no intention for providing MAPI support / hack for OSX users, the PC MAPI connector has rubbish performance over WAN, and there was no way I was going to move to exchange and run my mail server on the Windows platform, that just feels wrong, and I suspect stress and (admin) death lie down the MS mail server path...

Finally, went out with a couple of the Zimbra guys in SF, and they brought me beer / burger and a nice sleeved top, I *am* that cheap!!!

;-)

Last edited by davidfsmith; 04-10-2007 at 04:59 AM.. Reason: Adding in the SF trip
Reply With Quote
  #2 (permalink)  
Old 04-10-2007, 05:39 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

Good luck with the move, it will be interesting to hear how the move goes.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 04-10-2007, 10:57 AM
Senior Member
 
Posts: 52
Default Did exaclty the same thing....

Did exaclty the same thing, had exactly the same situation with stalker.

i liked Communigate a lot but beeing a mailserver only with no isync mapi integration for mac - could not believe it. they even promised entourage integration 3 years ago, nothing till now. flash web client yes you wish

things i still like on stalker communigate what zimbra is missing:

1. mailbox sharing with acls. amazing i miss this the most. guys please vote here

2. direct mailbox access via mta. sending an email to archive#user@mydomain.com will put the email directy in the mailbox archive of user@mydomain.com

3. i am wondering how you are doing mailing lists in zimbra. distribution lists are not exacty the same.

otherwise my migration went nice. be user you use the newest imapsync version.

gogo zimbra
Reply With Quote
  #4 (permalink)  
Old 04-13-2007, 01:11 PM
Special Member
 
Posts: 160
Default

Quote:
Originally Posted by tyco View Post
1. mailbox sharing with acls. amazing i miss this the most. guys please vote here
Voted on that, as I know we'll be needing that one!!

;-)

We're ditching CMGPro after the promises of entourage support came to nothing, and we use Avaya for IP so don't need the SIP functionality that Stalker seem to be concentrating all their efforts on now.

Just chilling with a bottle of wine at home now, before spending the weekend in the office migrating 500+Gb of data, 300+ user accounts....
Reply With Quote
  #5 (permalink)  
Old 04-15-2007, 07:21 AM
Special Member
 
Posts: 160
Default

Migration is progressing (with a bit of help from Zimbra)

IMAPSync is taking forever so at the moment it is just doing people's inbox, once completed I'll run it again to do all the other folders that people have (largest account is 17Gb!)

Had a few issues with the migration script, but nothing that a bit of bash hacking couldn't get around... the batch processing exampe in the wiki has a typo where it has

Code:
"$p1"--host2
it should be:

Code:
"$p1" --host2
no exactly a huge issue, but a pain...

Gave up trying to use imapsyncbatch as it just barfed on line 68 and I don't know enough bash to fix it.

For the migration I'm doing my imapsync line in the batch file became

Code:
/root/imapsync $1 --nosyncacls --syncinternaldates --folder "INBOX" --host1 $host1 --port1 144 --user1 "$user" --password1 "$p1" --host2 $host2 --user2 "$user" --password2 "$p1" --authmech2=PLAIN --ssl2
Once this is completed I intend to run it again but using

Code:
/root/imapsync $1 --nosyncacls --syncinternaldates --exclude "#KnownSpam" --exclude "#FalsePositives" --exclude "Trash" --exclude "Deleted Items" --exclude "Deleted Messages" --exclude "Deleted" --host1 $host1 --port1 144 --user1 "$user" --password1 "$p1" --host2 $host2 --user2 "$user" --password2 "$p1" --authmech2=PLAIN --ssl2
and later if I start feeling nice towards the people in the office I might every migrate the deleted items, but with the speed of it and the amount of moaning I'm expecting on Monday this is unlikey.



Trying to import the ica / vcf files has failed so far, trying to use curl and no dice, so will be playing with that more.

However I'm now running the iSync connector and half of the office have the MAPI connector installed and all seems ok... the real test is tomorrow morning of course.

Will update as things progress.
Reply With Quote
  #6 (permalink)  
Old 04-15-2007, 12:27 PM
Special Member
 
Posts: 160
Default Rollback

*curse*

we're currently in the process of rolling back to CMGPro and are going to have a rethink on the migration, doing it all on one box is way to slow.

So I'll be building another server and migrating that work, also working close with Zimbra on the CMGPro migration so hopefully can make the whole process a lot smoother...

Regards
Reply With Quote
  #7 (permalink)  
Old 04-16-2007, 12:28 AM
Special Member
 
Posts: 160
Default Back to square 1

Right we're back where we were before we started on Friday night / Saturday morning. Now to come up with a better plan for the migration.

Reply With Quote
  #8 (permalink)  
Old 04-18-2007, 11:15 AM
Junior Member
 
Posts: 5
Default

I'm with you on this one. Trying to think of way to keep downtime to a minimal. If you find a way to have minimal downtime, let me know, the only way I know now is to basically have downtime while you move from server A to B.

As for the calendars it seems to put them in a Folder and inside those are messages w/ the icalendar files, etc.

Keep me informed on your progress and what exactly are you trying to do =)
Reply With Quote
  #9 (permalink)  
Old 04-18-2007, 12:31 PM
Special Member
 
Posts: 160
Default Script Tastic

Managed to accquire a server on a temp basis with the relevant space for our data that I can setup in a way in a way that makes me comfortable with moving the mail server across....

so new plan.

1) Transfer existing CMGPro server to temp server.
2) Rebuild old CMGPro server install and configure Zimbra.
3) Transfer from CMGPro to Zimbra using IMAPSync during the working week, with a final transfer over and then switch over (and reconfigure clients) during a weekend.

However while I'm waiting for the server I'm in the process of writing some PERL scripts to make things (hopefully) easier.

1) Script uses CMGPro CLI.pm to build a text file of accounts / aliases / groups / group membership that can then be pushed into zmprov
2) Script also builds a text file that can be used with IMAPSync to transfer the accounts
3) Creation of a script to work on the CMPGro server to read in the ics / vcf files for each user stored in /<cmgdir>/Accounts/<user>/Calendar.mdir/ and also /<cmgdir>/Accounts/<user>/Contacts.mdir/ the data from these files is pushed into the Zimbra server using REST

So far I've got the script getting the relevant data out of the CMGPro server for 1 and 2 - just need to build the script for 3.

Will update how it goes.

Regards
Reply With Quote
  #10 (permalink)  
Old 04-24-2007, 02:04 PM
Special Member
 
Posts: 160
Default Just to update

Waiting on a new server from Dell to migrate to, so I can then migrate back to the old server with a fresh RHEL install and a fresh zimbra install....

Perl code - my god I'm rusty...

Anyway, script written which talks to CMGPro and gets the relevant data to build accounts / aliases / redirect all mail / groups / group members. It creates two files, one is a user / password list which can be used with imapsync and the other will be edited to work with zmprov.

The second script I'm still working on, but it takes the user file used for imapsync and gets all of the calendar / contact entries on the server, it will use REST to push the information directly into Zimbra.

Will update when there is more to update.

;-)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.