See also more Hyper-V pages
When you are running Hyper-V in a failover cluster, you should always create the VMs in Failover Cluster Manager. If you create the VMs with Hyper-V Manager, you need to specify the location of the VMs configuration and virtual hard disk so they are located on a clustered shared volume.
Hyper-V Server 2012, Powershell and SMB: http://blogs.technet.com/b/keithmayer/archive/2012/12/12/step-by-step-building-a-free-hyper-v-server-2012-cluster-part-1-of-2.aspx
Step by Step, 2012 R2: http://blog.augustoalvarez.com.ar/2014/03/27/step-by-step-creating-a-windows-server-2012-r2-failover-cluster-using-starwind-iscsi-san-v8/
http://kristiannese.blogspot.com/2010/10/how-to-make-your-existing-vms-highly.html
http://technet.microsoft.com/en-us/library/hh831579
http://v-enfra.blogspot.com/2012/09/failover-cluster-feature-in-microsoft.html
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 |
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
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:
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.
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:
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.
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
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: