Failover setup using two servers and one NAS

Milan 41 Reputation points
2021-05-18T10:07:55.913+00:00

Is it possible to set up an automatic failover configuration using two Windows Server 2019 servers and one NAS as common storage, without any third-party software? Is Hyper-V replica one of the possible solutions?

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Xiaowei He 9,936 Reputation points
    2021-05-19T02:39:10.553+00:00

    Hi,

    If the Windows Server 2019 machines are in domain, then it's possible to use only two Server 2019 and one NAS server to create failover cluster. If you don't have domain environment, it's recommended to set a DC server before creating the cluster. Or you may choose workgroup failover cluster.

    Hyper V replication is different from failover cluster:

    Hyper V replication can do between two standalone Hyper V hosts, don't need to create a cluster. VM can replicate from Hyper V server 1 to Hyper V 2 server, and we will have two VM files. When S1 has issues, we can start VM on S2.

    While in the failover cluster, the VM files are stored on shared storage, when S1 has issues, the ownership of the VM will failover to S2, S2 will get data of the VM in shared storage.

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Alex Bykovskyi 2,241 Reputation points
    2021-05-20T17:56:05.98+00:00

    Hey,

    As mentioned, Hyper-V replication and Failover Cluster are different technologies. Depending on the hardware you have you can use both. In case you have storage in your servers, you can use it with some kind of software-defined storage to create a Failover Cluster and leave your NAS as a backup target. Couple examples.
    S2D examples:
    https://techblog.ptschumi.ch/windows-server/storage-spaces-direct/deploy-storage-spaces-direct-on-two-node-cluster-with-windows-server-core/
    StarWind VSAN:
    https://www.starwindsoftware.com/resource-library/starwind-virtual-san-for-hyper-v-2-node-hyperconverged-scenario-with-windows-server-2016/

    If your NAS can share storage via iSCSI, you can use it as a shared storage to create Failover Cluster.

    Cheers,

    Alex Bykovskyi

    StarWind Software

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.