Comprehensive data protection for all workloads
Post Reply
MikeK
Novice
Posts: 5
Liked: 2 times
Joined: Oct 02, 2017 5:46 pm
Full Name: Michael Kee
Contact:

Veeam and Zerto do not play nice

Post by MikeK » 1 person likes this post

We've recently made the leap to Zerto and have decided to move away from VMware SRM and storage based replication. Our plan is to leverage Zerto in conjunction with Veeam to meet our data protection requirements. Over the past month we initiated our first Zerto test failover and encountered an issue that causes Veeam backups to fail. I would like to share and to inquiry if anyone else has seen the same.

Failover Process
Leveraging Zerto we initiate a "Move" operation. This allows us to to failover VMs to our DR site, power up at DR, validate apps, commit (which initiates a reverse sync), and cut the lines between Prod and DR. Once all testing is complete, the lines are re-connected and we initiate a Move operation to failback to Prod.

Problem
Once a commit is performed in Zerto, source side the VMs are removed from inventory in vSphere. When we perform a Move to failback to Prod and VMs are added to inventory, new UUIDs are created :-\. Veeam ,of course does, not like this and subsequently backups will fail. We can manually add the VMs to their respective jobs, however, new backup chains are created. New chains equals more data and in this particular instance we filled one of our repositories.

Options
- We can perform a Zerto Test failover aka Bubble test. This is not a good option for us as it does not achieve the level of validation we would like to from a DR perspective
- We can initiate a Move operation, power up at DR, validate apps and then DO NOT COMMIT. This would prevent VMs from being removed from inventory but presents other challenges with our DBs that replicate outside of Zerto. We're concerned about application consistency.

Questions
- Has anyone else encountered this scenario?
- What exactly is Veeam targeting in vSphere as the VM identifier? Is it the UUID, the InstanceUUID, moref or other? Is there a way to manually modify a Veeam job with an updated Instance UUID?
DaveWatkins
Veteran
Posts: 370
Liked: 97 times
Joined: Dec 13, 2015 11:33 pm
Contact:

Re: Veeam and Zerto do not play nice

Post by DaveWatkins »

Someone will probably answer this specifically, but I'm pretty sure Veeam uses moref as it's ID for a VM, which will explain what you're seeing since new VM's will have new moref's. Veeam has a tool to update the Veeam DB when doing vcenter migrations that availble in a KB article I think, but I doubt it'll be useful to you since it's designed more as a one time use thing
jmmarton
Veeam Software
Posts: 2097
Liked: 310 times
Joined: Nov 17, 2015 2:38 am
Full Name: Joe Marton
Location: Chicago, IL
Contact:

Re: Veeam and Zerto do not play nice

Post by jmmarton »

As Dave pointed out, the vSphere MoRef is used. If that changes then the VM is a brand new VM unless the MoRef is updated in the Veeam database. This can be done using the vCenter Migration Utility from Veeam (https://www.veeam.com/kb2136).

Out of curiosity, are you doing realtime replication with Zerto? If not, then perhaps a combination of Veeam replication + Veeam Availability Orchestrator may be worth investigating as an alternative.

Joe
MikeK
Novice
Posts: 5
Liked: 2 times
Joined: Oct 02, 2017 5:46 pm
Full Name: Michael Kee
Contact:

Re: Veeam and Zerto do not play nice

Post by MikeK »

Thanks for the responses. Makes sense the MoRef is used. It may be more of a VMware/Zerto issue but essentially if we perform a Move operation and commit in Zerto, the source side VMs will be removed from inventory and new MoRefs will be created when added :-\

Zerto is asynchronous replication providing RPOs that are only seconds old. It is widely used for DRAAS and when service providers tout their DRAAS/Gartner top right quadrant capabilities they are all undoubtedly leveraging Zerto. For us it complementary to Veeam. Veeam replication would not meet our requirements from an RPO/RTO perspective.

The only solutions we have really been able to come up with is fundamentally changing our DR failover process or possibly some unsupported workaround: http://robvit.com/veeam/backup_replicat ... not-found/
Again, Veeam and Zerto are really complementary products to us but this is a real challenge that we're struggling with and that is forcing us to evaluate our backup architecture.
jon.france
Veeam Software
Posts: 1
Liked: never
Joined: May 23, 2017 8:12 pm
Full Name: Jon France
Contact:

Re: Veeam and Zerto do not play nice

Post by jon.france »

What happens if you use a folder (or even a datastore) to add your VMs to your Veeam backup job instead of adding the VMs individually by name?

When Zerto, performs its second Move operation to create the VMs at the primary site again, will it place them back in the original folder? If so, I would expect the Veeam backup job to pickup those 'new' VMs for you without requiring that you manually add them.
FrenchBlue
Expert
Posts: 138
Liked: 23 times
Joined: Mar 18, 2021 6:04 pm
Contact:

Re: Veeam and Zerto do not play nice

Post by FrenchBlue »

Hello,

Sorry, a bit of digging there, but very same issue 4 years later. Has anyone found a solution to this? Even in V10, Zerto can preserve UUID, but not MoRef ID.
FrenchBlue
Expert
Posts: 138
Liked: 23 times
Joined: Mar 18, 2021 6:04 pm
Contact:

Re: Veeam and Zerto do not play nice

Post by FrenchBlue »

Update: there's no way to preserve the MoRef ID on Zerto's side when a move or a failover are committed.

Is there a way in Veeam to force it to re-attach a "new" VM to an existing backup chain?

Thanks.
Mildur
Product Manager
Posts: 10050
Liked: 2673 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Veeam and Zerto do not play nice

Post by Mildur » 1 person likes this post

Hi Frenchblue

A new VM has a new MoRef ID and cannot be manually attached to an existing backup chain of a foreign VM.

In one case Veeam preserves the backup chain. If you use Veeam Quick Migration to migrate a VM.
If the target VM is successful in the heartbeat test after the migration, we will replace the MoRefID in the Veeam database with the new target VM. Backup Chain will continue with incremental backups.
https://helpcenter.veeam.com/docs/backu ... ml?ver=120

In a quick migration scenario, we can read all the data (source and target metadata) required to verify that we map the backup chain to the correct VM MoRef ID.
Manual re-mapping through a backup administrator require additional checks we don't have today. Therefore we don't have such feature implemented. We will research this topic and what can be done at one point in the future. But no ETA I can provide today.

Best,
Fabian
Product Management Analyst @ Veeam Software
FrenchBlue
Expert
Posts: 138
Liked: 23 times
Joined: Mar 18, 2021 6:04 pm
Contact:

Re: Veeam and Zerto do not play nice

Post by FrenchBlue »

Hello,

Thanks for the answer. But to do the failback we use Zerto's automatic reverse replication. So at the moment there's simply no workaround for this issue, we'll have to do with it.
Mildur
Product Manager
Posts: 10050
Liked: 2673 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Veeam and Zerto do not play nice

Post by Mildur »

Yes.
Unfortunately there is no workaround available.

Best,
Fabian
Product Management Analyst @ Veeam Software
harrycarter
Lurker
Posts: 2
Liked: never
Joined: Jan 29, 2024 12:15 pm
Full Name: Harry C
Contact:

Re: Veeam and Zerto do not play nice

Post by harrycarter »

Hello

Is there any update from Veeam as to whether this is on the roadmap? 2025 and still the same issues when failing back.
Mildur
Product Manager
Posts: 10050
Liked: 2673 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Veeam and Zerto do not play nice

Post by Mildur » 1 person likes this post

No update regarding the Zerto use case.

But we have now an officially supported PowerShell cmdlets to update the MoRefID for vCenter migrations scenarios.
However, this command is designed for one-time migration of an entire vCenter where the VMs are not changed (just managed by a new vCenter) and the old vCenter will not be used anymore by the backup server.

Best,
Fabian
Product Management Analyst @ Veeam Software
tyler.jurgens
Veeam Legend
Posts: 418
Liked: 242 times
Joined: Apr 11, 2023 1:18 pm
Full Name: Tyler Jurgens
Contact:

Re: Veeam and Zerto do not play nice

Post by tyler.jurgens » 1 person likes this post

I was thinking those PowerShell cmdlets would work here - The DR vCenter that the Zerto VMs get created on will create a new VM during a failover and destroy the VM after the failover. That said, the DR vCenter isn't really the concern here, because its transient and the Zerto customers may or may not be using Veeam to backup their VMs while on the destination vCenter. If they are backing up the VMs during a failover, the PowerShell cmdlets, in theory, should work fine.

However its more the fail back scenario that gives me pause. Specifically around:
Old vCenter must not be used by Veeam Backup & Replication after migration.
Can the old vCenter never be used again for any reason other than a concern around possible duplicate MoRefIDs? I would like to know more.

Worth testing, but *if* the "old" vCenter can be reused (Aka, the production vCenter remains):
1) Before running the Zerto failover, get the MoRefIDs of the existing VMs
2) Perform the Zerto failover.
3) Fail back the Zerto VMs
4) Use the PowerShell cmdlets to map the MoRefIDs from the old VMs to the "newly" created VMs that Zerto will deploy during the fail back.

The PowerShell cmdlets always reference "Old" and "New" vCenters - I am not sure if they can be the *same* vCenter instance - which is what you would need in this case. It would essentially be the same as cloning a VM in vCenter and wanting to map the backup chains to the cloned VM. I haven't tested this myself, but if this is possible in the PowerShell cmdlets then it should work fine for Zerto failover/failback.

Or just use VeeamCDP. :lol:
Tyler Jurgens
Veeam Legend x3 | vExpert ** | VMCE | VCP 2020 | Tanzu Vanguard | VUG Canada Leader | VMUG Calgary Leader
Blog: https://explosive.cloud
Twitter: @Tyler_Jurgens BlueSky: @explosive.cloud
Post Reply

Who is online

Users browsing this forum: Asahi and 109 guests