vSphere 5.1 replication issue and workaround

Shares

Yesterday I tried to enable vSphere replication for my vCenter server and I couldn’t make it work. Always in replication status I got an error message

replication error: There is a storage issue with datastore path

replication storage issue

replication storage issue

Even if you configure replication again and again, it does not help. After deep dive into logs I found that path to target datastore was not reachable, that was weird cause target and source datastores were on the same host, both local.  From vSphere 5.1 Replication documentation first point states

vSphere Replication cannot access datastores through hosts with multiple management virtual NICs and postsDatastoreInaccessibleEvent in vCenter Server: vSphere Replication cannot access datastore.

If a host is configured with multiple virtual NICs and you select more than one NIC for management traffic, vSphere Replication registers only the first NIC and uses it to access target datastores. If the vSphere Replication server address is not on the first management network of the host, vSphere Replication does not communicate with the host.

Workaround: Use a host with a single virtual NIC selected for management traffic for datastores at the secondary site. You can also reconfigure the host networking so that the address of the first management virtual NIC is from a network that vSphere Replication can access.

Source: http://www.vmware.com/support/vsphere5/doc/vsphere-replication-51-release-notes.html#knownissues

Indeed, I had two vmkernel ports configured for management traffic, both to different subnets. When I disabled mgmt traffic on second vmkernel portgroup vSphere replication works like a charm. One can enable it back mgmt traffic on vmkernel portgroup after initial replication is done.

NOTE:  to successfully enable replication on VM, mgmt traffic has to be disabled on secondary vmkernel portgroup before initial replication.

vSphere 5.1 replication status

vSphere 5.1 replication status

0 0 votes
Article Rating

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

You may also like...

Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Mike

I am receiving this same error. I originally had two vmkernel vnics (in the same subnet). I then modified my host networking so now I only have one vmkernel vnic selected for management and replication traffic. It is my only vmkernel and we have a single subnet. Can you provide some more detail on how and what you changed and what your current configuration is? Where is the log file found to troubleshoot?
Thank you for your help.

1
0
Would love your thoughts, please comment.x
()
x

FOR FREE. Download Nutanix port diagrams

Join our mailing list to receive an email with instructions on how to download 19 port diagrams in MS Visio format.

NOTE: if you do not get an email within 1h, check your SPAM filters

You have Successfully Subscribed!

Pin It on Pinterest