User Tools

Site Tools


virtualization:microsoft:hyper-v-cluster

Clustering with Hyper-V

Network Traffic Types

Network Recommendations, Windows Server 2012: http://technet.microsoft.com/en-us/library/dn550728.aspx

Management Provides connectivity between the server that is running Hyper-V and basic infrastructure functionality - Used to manage the Hyper-V management operating system and virtual machines
Cluster Used for inter-node cluster communication such as the cluster heartbeat and Cluster Shared Volumes (CSV) redirection
Live Migration Used for virtual machine live migration
Storage Used for SMB traffic or for iSCSI traffic
Replica Traffic Used for virtual machine replication through the Hyper-V Replica feature
Virtual Machine Access Used for virtual machine connectivity - Typically requires external network connectivity to service client requests

Default Hyper-V Storage Locations

Once your cluster is up and running and you have a Cluster Shared Volume (CSV), you must store your VMs in the CSV to make them highly available.

http://blogs.technet.com/b/canitpro/archive/2012/09/11/default-file-locations-in-hyper-v.aspx

Live Migration

http://blogs.technet.com/b/iftekhar/archive/2010/01/18/microsoft-virtualization-hyper-v-live-migration-network-configuration.aspx

Configuration Guide: http://technet.microsoft.com/en-us/library/ff428137%28v=WS.10%29.aspx

It's recommended to use Cluster Shared Volumes (CSV) for Live Migration storage for these reasons:

  1. All cluster nodes have concurrent access to shared storage
  2. Multiple VHDs can be stored on a single shared volume
  3. No drive letter problems
  4. Faster failovers

:!: Live migration will only use one TCP stream between any pair of hosts. For faster live migration, use 10GbE NICs or migrate to multiple destinations over multiple 1GbE NICs.

Basics

http://en.community.dell.com/dell-groups/dtcmedia/m/mediagallery/19861461/download.aspx

The Hyper-V Failover Cluster should be created in the following order:

  1. Configure physical NICs on both Hyper-V servers
  2. Configure storage resources on both Hyper-V servers
  3. Install Hyper-V role on each server
  4. Install Failover Cluster feature on each server
  5. Create the virtual networks used for the Virtual Machines
  6. Validate the cluster configuration
  7. Create the cluster

Step-by-step guide on Hyper-V Failover Clustering: http://technet.Microsoft.com/en-us/library/cc732181.aspx.

:!: Redundancy for iSCSI connections is typically done with MPIO, not with bonding/teaming.

:!: Physical NICs should be configured prior to creating the Hyper-V virtual network interfaces. The Virtual Networks can later be added using the Hyper-V Virtual Network Manager.

Hyper-V Server 2012

:!: You can configure and manage failover clustering and live migration by using Server Manager on a Windows Server 2012 computer.

get-windowsfeature | findstr /i cluster 

dism /online /get-features | more                                   #to list FeatureName

dism /online /enable-feature /featurename:[FeatureName]

Example:

Install-WindowsFeature -Name Failover-Clustering

Or you can install from remote using below command:

Install-WindowsFeature -Name Failover-Clustering –ComputerName [YourServerName]

After your installation, you can verify the feature installation using the Get-WindowsFeature command:

get-windowsfeature | findstr /i cluster

SMB

Cluster in a Box (CiB)

Reference Host

Install Windows Server 2012.

Install the OOBE feature:

dism /online /enable-feature /featurename:OEM-Appliance-OOBE

Install the Hyper-V role and the Failover Clustering feature:

virtualization/microsoft/hyper-v-cluster.txt · Last modified: 2019/05/20 11:29 by gcooper