vSphere Replication

 View Only
  • 1.  vSphere Replication - Single vCenter - Failover & Failback

    Posted Apr 05, 2017 08:33 AM

    Hi Everyone,

    I'm hoping someone can educate me with a problem I am having in a test lab I am using to demo vSphere replication.  I have a proposed design I have asked to implement in a lab comprising:

    2 Sites - connected via redundant GB links - all vLAN's stretched between the two locations

    3 vLAN's deployed - Public (Management and VM traffic), vMotion and Replication

    Both sites having a two node cluster (vSphere 6.5)

    vCenter residing at a third site (vCenter 6.5)

    I have deployed the vCenter, sites, clusters and the vRA's and can successfully replicate a test VM and fail it back and forth between the two clusters.  However,  when testing more of a true disaster I was a bit surprised at the result.  I killed the primary site ESX host along with the vRA and found that I was unable to recover the VM in the DR site.  I don't even get the option within vCenter to recover the VM and refreshing the incoming/outgoing replications screen I just get greeted with a 503 notification within vCenter.  My theory at that point was that there was some sort of dependency on the first vRA deployed.  To test this I Fired up the host and vRA again and vMotioned the first vRA deployed to the DR site and vice versa the second vRA to the primary site.  When I then repeated the test I was able to recover the VM despite the primary sites host and vRA being offline.  This suggests to me there is some sort of dependency on the first vRA deployed.  My expectations with having two vRA's deployed was that recovery would be possible being that I have no SPOF.

    My gut tells me that I must be doing something wrong and that there cannot be a SPOF whereby the first vRA is required to recover a VM.  Is this scenario I am testing even architecturally possible? Are my expectations of how vSphere Replication works misplaced?

    Many thanks in advance for all comments and advice.



  • 2.  RE: vSphere Replication - Single vCenter - Failover & Failback

    Broadcom Employee
    Posted Apr 07, 2017 04:56 PM

    VR requires a vCenter and the VRMS (the first VR appliance which contains the management components) to function. Usually in a DR scenario (eg. when using SRM) you would have a 2 vCenters, 2 SRM servers and 2 VRMS so that there wasn't a SPOF and each site was completely separate from the other.

    See this blog post for details about availability with VR and what to expect: vSphere Replication Appliance Failure Prevention and Recovery - VMware vSphere Blog



  • 3.  RE: vSphere Replication - Single vCenter - Failover & Failback

    Posted Apr 10, 2017 07:19 AM

    Thanks ever so much for taking the time reply.  I completely understand what you're saying with regards to the 2 vCenter solution.  However in this case I only have one vCenter and having one vCenter is a supported solution.  It sounds like there are only two options, 1 - 2 vCenters or 2 - Deploy your first VR into your DR site.  There is still a small risk to replication of course should your DR site fail but in my case that risk should be relatively modest being that there is also a cluster proposed in the DR site.

    Thanks again for your reply, really appreciate it.