Configure Failover Clustering For Hyper-V Hosts On HP ProLiant
Configure Failover Clustering For Hyper-V Hosts On HP ProLiant
Configure Failover Clustering For Hyper-V Hosts On HP ProLiant
Executive summary
Hyper-V is a Microsoft hypervisor-based server virtualization product for 64-bit Microsoft
Windows Server 2008. Hyper-V helps IT customers consolidate servers, improve server utilization,
reduce energy consumption and lower total cost of ownership (TCO). In a Hyper-V based
infrastructure, virtual machines (VMs) are running on top of the physical host server. The physical host
server could be a single point of failure if it loses power or has a hardware failure. With a host server
failure, all VMs running on the host server will be out of service. To solve this problem, it is possible to
create a simple failover cluster with two cluster nodes and one witness disk.
In a step-by-step approach, this document describes how to use Microsoft Windows Server 2008
Failover Clustering feature, in conjunction with HP BladeSystem c-Class ProLiant server blades and an
HP StorageWorks All-in-One SB600c (SB600c) storage blade, to provide high availability to the
Hyper-V host servers or parent partitions.
Details on how to install Windows Server 2008 and Hyper-V on HP ProLiant servers can be found in
the HP documents Implementing Microsoft Windows Server 2008 on HP ProLiant servers and
Implementing Microsoft Windows Server 2008 Hyper-V on HP ProLiant servers at
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00710606/c00710606.pdf
and
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01516156/c01516156.pdf?ju
mpid=reg_R1002_USEN.
Target audience: The intended audience for this document includes, but is not limited to, solutions
architects, technical consultants and readers who are interested in obtaining information on Windows
Server 2008 and are interested in Hyper-V and Windows Failover Clustering. The document is also
intended for users needing a quick guide to installing Failover Clustering for Hyper-V host on server
blades with an SB600c storage blade.
System requirements
Hardware requirements
The hardware infrastructure is based on HP ProLiant c-Class server blades and an HP StorageWorks
All-in-One SB600c storage blade.
Two ProLiant BL465c G5 server blades with identical hardware configurations are deployed as
cluster nodes. Customers can create a similar cluster on ProLiant BL260c G5, BL460c, BL465c G5,
BL480c, BL495c G5, BL680c G5 or BL685c G5 server blades as well. The recommended server
configuration is dual quad-core processors or greater with a minimum of 8GB memory
(recommended 12 GB memory) and at least 70GB disk space.
The SB600c storage blade is an in-the-enclosure storage solution that provides iSCSI shared
storage service over IP networks.
HP BladeSystem c-Class c3000 or c7000 enclosure
Note
Microsoft Hyper-V and Windows Failover Clustering are not limited to
c-Class server blades. ProLiant servers with x64 Intel Virtualization
Technology (Intel VT) or AMD Virtualization (AMD-V) hardware-assisted
virtualization also support Hyper-V and Failover Clustering.
Software requirements
Server blades in the test environment have the following software installed:
Microsoft Windows Server 2008 Enterprise or Datacenter (x64)
Only Windows Server 2008 Enterprise and Datacenter (both 32-bit and 64-bit) support the
Windows Failover Clustering feature. Windows Server 2008 Enterprise or Datacenter (x64) cluster
supports up to the 16 cluster nodes with Fibre Channel, iSCSI or SAS shared storage disk
configurations.
Hyper-V Update for Windows Server 2008 x64 Edition (KB950050). This update can be found at
http://www.microsoft.com/downloads/details.aspx?familyid=F3AB3D4B-63C8-4424-A738BADED34D24ED&displaylang=en. Hyper-V requires 64-bit Windows Server 2008.
HP BladeSystem Firmware Deployment Tool v1.30 or later CD-ROM. This firmware CD-ROM can be
found at
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&
prodTypeId=3709945&prodSeriesId=1842750&prodNameId=3288156&swEnvOID=4024&swLa
ng=8&mode=2&taskId=135&swItem=MTX-37156367a830406295923e5423
HP SmartStart CD x64 version 8.10. This CD-ROM can be found at
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&
prodTypeId=3709945&prodSeriesId=1842750&prodNameId=3288156&swEnvOID=4024&swLa
ng=8&mode=2&taskId=135&swItem=MTX-a12b434edd8941f58e4e608c94
HP ProLiant Support Pack for Windows Server 2008 x64 Editions version 8.11 (A). This support
pack can be found at
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&
prodTypeId=3709945&prodSeriesId=1842750&prodNameId=3288156&swEnvOID=4024&swLa
ng=8&mode=2&taskId=135&swItem=MTX-60db08ae0a914c359406c839e8
On the StorageWorks SB600c storage device, each iSCSI virtual disk is a virtual disk file (VHD). Give
a VHD file name and specify which folder will hold this VHD file on the SB600c drives. In this case,
you create a virtual disk that stores all VM configuration and VHD files, enter E:\V-Cluster.vhd, and
click the Next> button to continue.
Enter the virtual disk size and click the Next> button to continue.
Enter the virtual disk description, and click the Next> button. On the next Access (add iSCSI Target)
page, click the Next> button again to skip. Then click the Finish button to complete.
The iSCSI Target right panel shows the newly created virtual disk without being accessed by any
iSCSI Target.
10
Repeat the above steps to create a 500MB quorum disk for the cluster. The virtual disk file name is
E:\V-Cluster-Quorum.vhd, and the virtual disk description is For Hyper-V Failover Clustering Quorum
Disk.
11
12
Specify the iSCSI Target name V-Cluster-Target and description Hyper-V Failover Cluster iSCSI Target
and click the Next> button to continue.
13
14
15
From the Identifier Type drop-down list, click IP Address to add the iSCSI Initiators IP addresses (or
the planned iSCSI Initiators IP addresses).
16
Enter the server node iSCSI IP address here for example, 12.0.0.211. Click the OK button to
complete.
17
Repeat the above step to add the second server blade iSCSI IP address 12.0.0.212. Click the OK
button and return to the previous iSCSI Initiators Identifiers page and click the Next> button. Then
click the Finish button to complete.
18
19
20
In the iSCSI Target console left panel, under iSCSI Targets, click iSCSI Target V-Cluster-Target; the
newly added 500MB quorum virtual disk shows as LUN0.
21
22
23
Click the Discovery tab and click the Add Portal button to add iSCSI Target portal.
24
Enter iSCSI Target IP address 12.0.0.101 and click the OK button to continue.
25
Click the Targets tab; in the Targets list, it shows the target name, and the status is Inactive. Click the
Log on button to continue.
26
In the Log On to Target, make sure Automatically restore this connection when the computer starts is
checked, and click the OK button to continue. When restarting the blade server, this option ensures
that Windows will automatically connect the iSCSI Target.
27
In the Targets list, the iSCSI Target status is changed from Inactive to Connected. Click the OK button
to continue and finish the iSCSI Initiator configuration.
28
29
30
The following steps only apply to the first server blade V-HOST1. Right click Disk 1 (iSCSI quorum
disk) again and click Initialize Disk.
31
32
Select New Simple Volume. . In the New Simple Volume Wizard; click the Next> button to
continue.
33
Specify the size of the quorum disk volume and click the Next> button to continue.
34
Assign a drive letter to the new iSCSI disk volume; for example, assign drive letter Q for quorum disk
volume. Click the Next> button to continue.
35
Assign a volume label to the iSCSI quorum disk. Click the Next> button to continue, and click the
Finish button on the next page.
36
The middle panel of Server Manager shows the newly configured Quorum disk volume.
37
38
In the Add Features Wizard, check Failover Clustering and click the Next> button to continue. On the
next page, click the Next> button to continue.
After installing the Failover Clustering feature on V-HOST1, repeat the same steps on V-HOST2.
Apply the Update for Windows Server 2008 x64 Edition (KB951308) on both server blades by
running Microsoft Windows Update. Restart the server blades after the installation of the update. This
Windows update provides Failover Cluster Management console more control and functionalities for
Hyper-V. This update also can be found at
http://www.microsoft.com/downloads/details.aspx?FamilyId=C614376D-477A-4BD9-85593C8B91F90998&displaylang=en.
39
40
In the Failover Cluster Management console, click Validate a Configuration to launch the Validate a
Configuration Wizard. Cluster validation test is not a must-run test but is highly recommended.
41
In the Enter name input box, enter the server blades name, V-HOST1, click the Add button, enter
V-HOST2, and click the Add button. Click the Next> button to continue.
42
Select Run all tests (recommended) and click the Next> button to run the test. Click the Next> button to
start the test. After the test is finished, the Wizard shows if the test is successful or failed. Click the
Finish button.
43
44
Enter the server blade name, V-HOST1, and click the Add button. Do the same to add the second
server blade name, V-HOST2, to the selected servers list. Click the Next> button to continue.
45
Enter the cluster name V-W2K8-Cluster and assign IP addresses 10.0.0.210 and 11.0.0.210 to the
cluster. Click the Next> button. On the next page, click the Next> button again to create the cluster.
When successfully finishing, click the Finish button.
46
The Failover Cluster Management console shows one cluster with Node and Disk Majority (Cluster
Disk 1).
47
48
On the first server blade, V-HOST1, repeat the Configure the iSCSI disk volumes section in Step 4,
bring the second disk online; initialize and format the second disk and assign drive letter V for the
disk.
49
Now you need to add disk V:\ to the cluster. On the Failover Cluster Management console left panel,
right click Storage and click Add a disk.
50
Check Cluster Disk 2 from the available disks list, and click the OK button to add the second disk to
the cluster.
51
After adding the second disk to the cluster, click Storage in the Failover Cluster Management console
left panel; the Cluster Disk 2 (Volume V) shows in the Summary of Storage in the middle panel.
52
Create a VM
On the first server blade, V-HOST1, launch the Hyper-V Manager by clicking Start, click
Administrative Tools and select Hyper-V Manager. In the left panel, right click the host name,
V-HOST1, and select New, and click Virtual Machine to launch the New Virtual Machine Wizard.
53
Enter the VM name VM1 and check Store the virtual machine in a different location. In the location,
enter V:\. Hyper-V stores all VM1s configuration files on the shared storage disk V. Click the Next>
button to continue.
54
Click the Next> button to accept the default memory size 512MB. Click the Next> button to accept the
default value of Configure Networking. On the Connect Virtual Hard Disk, click Create a virtual hard
disk and enter V:\VM1\ as the virtual hard disk location. Click the Finish button to complete.
55
In Hyper-V Manager, click V-HOST1 in the left panel; the newly created VM1 shows in the middle
panel and its status is Off.
56
57
On the Select Service and Application page, highlight Virtual Machine and click the Next> button.
58
The Select Virtual Machine page shows all available VMs. Check the VMs needed to be added to the
cluster and click the Next> button.
59
The Summary page shows whether adding the VM to the cluster was successful or failed. Click the
Finish button to complete.
60
In the Failover Cluster Management console middle panel, the VM shows Offline. Right click the VM
and click Bring this service or application online. Now you have the virtual machine running on top of
host cluster.
Summary
In a Hyper-V environment, configuring High Availability for Hyper-V hosts is a challenge. This
document provides detailed guidance on how to create and configure a Hyper-V host level cluster
using HP BladeSystem ProLiant servers and the StorageWorks All-in-One SB600c storage device.
61