VMware Cloud Community
suhana_zoho
Contributor
Contributor

How to check if a vm is a replica using MOB

I am working on discovery tool that uses MOB to get ESX info. I donot want to add the information of replica vms.
Is there a way to identify if a virtual machine is a replica using MOB.

Tags (3)
Reply
0 Kudos
5 Replies
lucasbernadsky
Hot Shot
Hot Shot

Hi suhana_zoho.

What do you mean for replica? Are you using vsphere replication, Veeam or another 3rd party tool?


I think Veeam just creates a new VM and customizes all the needed data from vSphere perspective. From vsphere replication, I am not really sure if a replicated VM is different from the source VM. Maybe filtering by the VM name would help, since usually these VMs has the suffix "_replica"

Regards

Reply
0 Kudos
DominikWeglarz
Enthusiast
Enthusiast

Reply
0 Kudos
DominikWeglarz
Enthusiast
Enthusiast

suhana_zoho I've just checked for you.

Here is how it looks on primary site :

vm1.png

And here how it looks on secondary (destination site) :

vm2.png

Reply
0 Kudos
suhana_zoho
Contributor
Contributor

DominikWeglarz

I am afraid this isn't correct

This virtual machine is not a replicated vm but has repconfig unset

pastedImage_1.png

Reply
0 Kudos
DominikWeglarz
Enthusiast
Enthusiast

suhana_zoho​ what I wrote was right.

Relplicated VM will have value of this parametr "Unset". Other VMs that are not replica will have the same value.

That is why you have to identify source VM of replication first and than check VM on destination host.

Reply
0 Kudos