Creating Hyper-V Failover Cluster (Part 2)

by Marin Franković on 24 April, 2010

Hello again. In the previous post I have explained how to create iSCSI targets on Windows 2008 Storage server, how to create two node failover cluster and how to create highly available virtual machine. Later on, we demoed Live migration from one node to another using Failover Cluster Manager console. Now I am going to explain how to install SCVMM 2008 R2, how to add our cluster to it and how to invoke Live migration using SCVMM administrator console.

SCVMM 2008 R2 will be installed on NODE1. NODE1 should meet all installation prerequisites.

Install SCVMM 2008 R2

  1. Start SCVMM 2008 R2 installation on NODE1
    1. Use local service account as management acc (for demo purposes)
    2. Install SQL Express
  2. Install SCVMM 2008 R2 Administrator console

Adding cluster to SCVMM 2008 R2

Make sure that you cluster IP address is valid and that is registered in DNS (Part 1, Creating Hyper-V Failover Cluster, step 7).

  1. Open SCVMM Administrator Console
  2. On the Action pane, click Add host
  3. Enter administrator password (domain admin is used for purposes of this demo)
  4. In the host name field, enter name of one of the nodes (NetBIOS name)
  5. Do NOT select “Skip AD validation” (If you select this option only one node will be added and not your complete cluster)
  6. Click ADD (Dialog box will pop up saying that node is part of a cluster and it will ask you do you want to add all cluster nodes in SCVMM)
  7. Click Yes

Now wait couple of minutes until SCVMM adds and configures your cluster and virtual machines into console. Few minutes later, you will have your cluster and two nodes in it visible in an admin console.

Invoke controlled Live migration

  1. Select the node where your virtual machine is running
  2. Right click on your virtual machine and select Migrate
  3. Wizard will open and you should have option to Live migrate to another node
  4. Select that other node and click Migrate

And that is it! In just couple of hours we have installed, configured and tested Hyper-V Live migration scenario by using only Microsoft products. Bear in mind that this setup is for demo purposes only and it is not recommended to be used in production scenarios.

http://blog.frankovic.net/Download/2_Live_Migration_Full_Demo_SCVMM_2008_R2.flv

Next post will be dedicated to several methods of Windows Server 2008 R2 AD disaster recovery.

{ 7 comments… read them below or add one }

Paolo November 16, 2010 at 15:58

Hello,
i was reading your blog because searching around about clusters and Hyper-V and I found this two articles:
http://blog.frankovic.net/2010/04/creating-hyper-v-failover-cluster-part-1/
http://blog.frankovic.net/2010/04/creating-hyper-v-failover-cluster-part-2/

The solution you described is exactly the same i’ve relized. The only thing i’m missing is the storage server 2008 R2 clustering with storage redundancy.

Of course you know that the goal of a failover cluster is to remove single point of failure from the IT infrastructure, but if the cluster is based on a single point of failure storage system, you have not reached the target.
So my question is if you have worked on this problem.
I didn’t find a way to create a cluster with data replication for the windows storage server 2008 even if iSCSI target is clusterable.
Of course a good work around could be backing up the storage server via DPM2010 but this is not a business continuity solution.

Of course there are many different solutions to this problem starting from EMC, but the cost of this high avalaibility solution are too much expencive…
Open-e offer a redundacy solution with its VSS system. Not too expencive.
But my need is to use Microsoft Windows Storage Server 2008 R2 to integrate everithing in AD and DPM…

well.. still working on!

Thanks paying attention
Paolo

Reply

Marin Franković November 16, 2010 at 16:17

Hi Paolo,

I agree with you. One of the possibilities is to implement RAID-5 or any other fault-tollerant RAID onto storage server. Other solution is to build your own SAN by using Windows Server. Documentation on how to build your own SAN is here: http://www.scribd.com/doc/28250837/How-To-Build-a-SAN .

Reply

MUHAMMED MOHSIN KHAN February 26, 2011 at 8:03

this is very useful artical for me and i worked on it .
my question is that i will follow the same configuration for production environment if we have a iscsi storage.

Reply

Tilly September 26, 2011 at 9:33

Thanks for spending time on the cmopuetr (writing) so others don’t have to.

Reply

Marcelo October 3, 2011 at 12:33

Marin, thanks for this great tutorial. It helped me a lot in configuring a two node cluster (Dell PE2900 and R610) with a Dell MD3200 Storage.

Reply

Natesh July 16, 2012 at 11:55

How will you manage failover cluster if you have a hyper-v core instalation?

Reply

Marin Franković July 16, 2012 at 20:06

Hi Natesh,

you can install administration console on full OS instalation. Here is nice blog entry on Failover Cluster on core install od Windows Server 2008 R2 SP1, http://jeramythompson.blogspot.com/2012/05/hyper-v-clustering-on-2008-r2-server.html.

Reply

Leave a Reply

Previous post:

Next post: