• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3049
  • Last Modified:

Hyper-V Replica Vs Hyper-V cluster

Dear All,
I have Hyper-V replicas configured in 2 windows2012 R2 server for a VM
I need to setup VM in Node1 failover to VM in Node2 automatic.

I tried Hyper-V replica first as one of my friend told me replica will do your job.
Now I came to know replica will not do automatic failover.

Does anyone think Hyper-V cluster will do my job?
Server is like fileserver as our application is based on flat file system
0
MAS (MVE)
Asked:
MAS (MVE)
  • 10
  • 9
3 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Hyper-V Replica, is simple, it copies/mirrors a VM to another Host, if your Host A VMs, fail, you can turn on your replicas. (no requirement for shared storage) on Host B, and you will have lost all the changes since last replication.

Hyper-V Cluster using shared storage supports Live Migration and HA, in the event, a Host fails, VMs will be restarted automatically on other hosts.

So yes it will do it, but there will be small amount of downtime, e.g. less than 2 minutes, whilst the VM is restarted again. (with all your data saved).

You will need to configure Shared Storage and Cluster Shared Volumes, and Failover Clustering.

So it's a small amount of downtime, ok?
0
 
MAS (MVE)Technical Department HeadAuthor Commented:
-->You will need to configure Shared Storage and Cluster Shared Volumes, and Failover Clustering.
I am not clear about shared storage and shared volumes.

As of now both the nodes has its own HDD.

Is it mandatory to have a SAN or NAS?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You need shared storage, this can be a NAS, SAN or recently with Windows 2012, this could be SMB3 CIFS share. (which is supported for VMs and Clustering)
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
MAS (MVE)Technical Department HeadAuthor Commented:
Is it possible to use Hyper-v Replica broker to failover automatic?
If yes how?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Hyper-V replica needs to be manually failover and failed back.

It's poor mans' DR!
0
 
MAS (MVE)Technical Department HeadAuthor Commented:
I request to keep this question open as I saw in a place with automatic failover.
I am  trying to accomplish the same here
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Failover Clustering will provide that function.
0
 
MAS (MVE)Technical Department HeadAuthor Commented:
Can you provide a URL to configure step by step?

Is it mandatory to have a shared storage?
0
 
MAS (MVE)Technical Department HeadAuthor Commented:
I have 2 windows2012 R2 servers . Is it possible to have automatic failover using the above URl?
if yes please send which is relevant for my req
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, it is possible.

ALL URLs are relevant.

You need to

1. Build a Failover Cluster.
2. Using SMB3 for storage of virtual machines.

Do you have a third Windows 2012 R2 Server that can act as the SMB3 file share?
0
 
MAS (MVE)Technical Department HeadAuthor Commented:
I have only 2 servers which is 2012R2

Is there any workaround if I have only 2 servers.
bcz I saw a video in Youtube it fails over automatic
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you only have two servers, it's difficult because you have no shared storage, in Windows 2012 R2 you can use a Windows SMB3 share as shared storage, but it's no point, creating shared storage on a host which could fail.

So we are back to no shared storage no cluster, no failover.
0
 
MAS (MVE)Technical Department HeadAuthor Commented:
What will happen if the storage fails?

I think that is a single point of failure.
Am I right?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
That's correct.

All VMs will fail because that is where they are stored.
0
 
MAS (MVE)Technical Department HeadAuthor Commented:
I think manual failover is better than the one I am trying to achieve.
What is your suggestion?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
With the hardware you currently have, manual Failover, is all that you will be able to achieve.

Which is better than none at all.
0
 
MAS (MVE)Technical Department HeadAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 166 points for hanccocka's comment #a40004142
Assisted answer: 167 points for hanccocka's comment #a40003801
Assisted answer: 167 points for hanccocka's comment #a40014176
Assisted answer: 0 points for abbasiftt's comment #a40014509

for the following reason:

Thanks a lot
0
 
MAS (MVE)Technical Department HeadAuthor Commented:
Thanks Andrew
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell┬« is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 10
  • 9
Tackle projects and never again get stuck behind a technical roadblock.
Join Now