Setup Windows Server 8 Hyper-V Cluster

Windows Server 8

This week Microsoft released the Windows 8 Consumer Preview and the Windows Server 8 Beta. You can get the software here:

Windows Server 8 brings a lot of new features to Hyper-V and Clustering. I will try to get some more information and how-to’s about the new features in the next couple of days.

Here is a small guide how you can setup a basic Windows Server 8 Hyper-V Clsuter via iSCSI. This covers only basics and should help users to setup a Hyper-V Cluster for testing very quickly.

Basic Hyper-V

Setup the Hyper-V Hosts

  1. Configure the Hyper-V hosts with Hostname, IP Address, Domain
    I still create the Cluster with the following Network Adapters

    Network AdpaterTraffic
    ManagementDomain, RDP,…
    VMNETNetwork for Virtual Machine traffic
    LiveMigrationLive Migration traffic
    CSVCSV traffic
    ISCSI01iSCSI traffic
    ISCSI02iSCSI traffic
  2. Add the Hyper-V role, the Failover Cluster Feature and the MPIO feature.
    You can do this via Server Manager or via Powershell
  3. Install the latest patches via Windows Update
  4. Configure the Hyper-V Virtual Switch for your Virtual Machine Network. (You can do this via Hyper-V Manager or PowerShell.
    image
  5. Enable MPIO support for iSCSI devices
    image
  6. Connect the iSCSI storage via iSCSI (This works like in Windows Server 2008 R2)
    image
  7. Format the disk via Computer Management, diskpart or PowerShell.
    With the PowerShell command “Get-Disk” you can list all availible disks and with Get-Command –Module Storage you can list all storage related PowerShell cmdlets.
    image

Create Cluster

  1. Now you can you can open the Failover Cluster Manager to create your Cluster
    image
  2. Click on “Create Cluster” and select the your cluster nodes
    image
  3. Now you run the Cluster Validation Wizard
    image
  4. In Windows Server 8 the Validation Wizard does also test the Hyper-V Configuration of your nodes.
    image
  5. After you have passed all the test you can go to the next step and create your Cluster. If the Validation Report shows some Warning and Errors you should fix them first.
    image
  6. Now enter the Cluster Name and Cluster IP Address
    image
  7. Now if very thing worked out, you can now start to work with your Cluster
    image
  8. Now you can add the Available Storage to the Cluster Shared Volumes, so you can add Virtual Machines to the storage
    image
  9. With a right click on Roles you can create a Virtual Machine
    image
  10. Now when you create the Virtual Machine you have to choose one of the Cluster Shared Volumes. The Cluster Shared Volumes are availible on every Cluster node on C:\ClusterStorage\*
    image

This is a very small how to how you can create a Hyper-V Cluster with Windows Server 8 beta. Basically it is not really different to Windows Server 2008 R2 or Hyper-V R2, but it brings a couple of great new features to Hyper-V and Failover Clustering.