Menu

HOW TO CREATE CLUSTER USING HYPER-V

Hyper –V can be used to create virtualized computers to improve the hardware efficiency. In this blog post I will try to cover how to create windows failover cluster using Hyper-V with out using multiple physical computers. Cluster we are building can be used to install Clustered SQL Server and similar cluster aware applications.

1. We will create a Domain controller

2. We will create two member servers which will act as two nodes of the cluster.

We will start the installation by Turning on window feature Hyper-V.

To enable Hyper-V Open control panel—>Programs –>Get Programs->Turn windows features on or off –>Enable Hyper-V as shown in picture below

Once the Hyper-v feature is enabled open the hyper v manager and follow the below steps one by one.

Before creating virtual machine create virtual switch to configure network access between the computers which will create and name it.

Select the type of virtual switch for your virtual machines.

Give the name for your Virtual switch and click ok.

Now create New virtual machine by Right clicking SQLPC –>New->Virtual machine.

2.New virtual machine wizard will appear.Click Next to continue.

Specify the name for your virtual machine.Let us Create domain controller as DC.

Create a new folder or use the existing folder to store the virtual machine.Specify that location in location tab.Click Next

Specify the amount of memory you want to allocate for this machine.Then,click Next.

Inorder to do OS installation ,Connect to virtual hard disk and specify the size for it.Click Next

Then install an Operating system from CD or as image file which you have in your system.

Browse and select the file for installation.Click open.

Now,click finish and complete the virtual machine wizard.

Similarly,Follow the above steps and create two cluster nodes as clusternode1 and clusternode2 .

Now Hyper –V manager will have three virtual machines which we created one as DC and others as clusternodes.

Right click DC->Start->connect.(similarly do for all)

Cluster nodes will start running.

DC virtual machine connection window will appear,click next.

Installation window will appear,click install now to start installation.