Migrate FOSS 8.8.15 to fresh new Zimbra 10 Network Edition,

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
Post Reply
mr_jack
Posts: 2
Joined: Wed Jan 31, 2024 12:54 pm

Migrate FOSS 8.8.15 to fresh new Zimbra 10 Network Edition,

Post by mr_jack »

Hello guys,

We are going to migrate our 8.8.15 FOSS Zimbra server to Zimbra 10 Network Edition.
In the past we migrated all of our FOSS servers to a clean environment and used the Zextras migration tool to migrate the data.
The reason we follow this path is that the original server isn't at risk and we have some time if needed to troubleshoot on the new server before we make the switch.

Since that route is not available anymore ( the Zextras migration tool ). What are the best options for this ?

I would preferably not mess / upgrade etc the current 8.8.15 server.

I've been reading up in the forums and there are some different options, since v10 is out for a while. With which migrations have you got good experience with ?

Regarding the optons :

- I have the rsync method. What I can do is install Zimbra 8.8.15 on the new environment, rsync the data, and than upgrade. I would rather have not have legacy 8.8.15 stuff on my server, but if this is the way. This is the way.
- or do an imapsync, as discussed here, viewtopic.php?p=310979#p310979 ,
- or.....

I'm open to any advice,

Thank you in advance,

Jack
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2782
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: Migrate FOSS 8.8.15 to fresh new Zimbra 10 Network Edition,

Post by L. Mark Stone »

I would use, and have used successfully, the documented Rolling Upgrade method.
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
mr_jack
Posts: 2
Joined: Wed Jan 31, 2024 12:54 pm

Re: Migrate FOSS 8.8.15 to fresh new Zimbra 10 Network Edition,

Post by mr_jack »

Hi Mark,

thank you for the reply.

This involves upgrading the production server. Which I would rather not touch.

That is working without issues, and I would really like to keep it that way.

An new environment and moving a backup / mailboxes over is a difficult exercise from version 8 to 10 ?

Thanks,

Jack.
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2782
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: Migrate FOSS 8.8.15 to fresh new Zimbra 10 Network Edition,

Post by L. Mark Stone »

The only changes to the existing Production server during a Rolling Upgrade comprise:

- Turning on LDAP MMR
- Changing the zimbraServiceEnabled attribute to turn off (in stages) LDAP, Proxy and MTA services and restarting Zimbra.

These are all low-risk operations; the zimbraServiceEnabled changes are easily reversible. Have done this no small number of times already; no major issues to date.

The times I haven't done this is when the customer was concerned about the sanctity of their existing system, and wanted to start totally clean. In those cases, we used either IMAPSYNC and Contacts/Calendars Export/imports to move the data over, or the rsync method if they were OK reusing their existing LDAP.

Zimbra has published a utility to restore NG Backups it is true; it's really for compliance purposes, like, to keep a readable backup for several years. Zimbra specifically suggest NOT using it like we could use the NG Backups to perform a server-to-server move, while also changing the operating system and Zimbra versions at the same time.

Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
User avatar
gabrieles
Outstanding Member
Outstanding Member
Posts: 233
Joined: Tue Feb 14, 2017 9:40 am

Re: Migrate FOSS 8.8.15 to fresh new Zimbra 10 Network Edition,

Post by gabrieles »

L. Mark Stone wrote: Wed Jan 31, 2024 4:05 pm - Turning on LDAP MMR
MMR is a one way road, this binds ldap to be MMR forever even with a single master.
We prefer to install new ldap replica, then promote it to new master (and disabling the ldap service on the old server)
This guide https://wiki.zimbra.com/wiki/Promoting_ ... Master_8.0 worked well for years from 8.0 to 10
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2782
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: Migrate FOSS 8.8.15 to fresh new Zimbra 10 Network Edition,

Post by L. Mark Stone »

Having a single LDAP MMR server is not an issue technically.

Yes, it will get lonely and pine away in the logs for its partner, but the Rolling Upgrade docs include a cron job to prune those entries from zimbra.log.

And, you can always dump LDAP, do zmldapinit, and import LDAP to get rid of MMR.
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Post Reply