In this part, I will be covering the below topics.
- Adding Hyper-V hosts to SCVMM 2012 R2
- Creating Hyper-V cluster through SCVMM 2012 R2
- Configuring Logical switch on the Hyper-V hosts from SCVMM 2012 R2
In the last part, we prepared the servers, assigned storage, configured Host Groups and configured the fabric.
Adding Hyper-V hosts to SCVMM 2012 R2
From VMM Console, Go to Fabric -> Host Group
Right Click on the Host Group where this server will be a part of and sedlect Add Hyper-V Hosts and Clusters
Select the Servers which needs to be added on SCVMM and Click on Next.
Review the activities and proceed.
This step will usually takes few minutes and the progress can be checked by verifying the Running Jobs on SCVMM Console.
Once the job is successful, You may receive a warning which says that “A restart is required to complete the multi-pathing I/O devices on the host hostname.domainname.com. Hence, I prefer to get the nodes rebooted.
At this stage, The Servers should be properly communicating with SCVMM and the host status should be OK.
Creating Hyper-V cluster through SCVMM 2012 R2
Now we have the Host servers added to SCVMM. However, these are standalone HyperV hosts. The next step is to build a cluster through SCVMM.
Go to SCVMM -> Fabric -> Create -> Hyper-V Cluster
Select the appropriate host group where we have the Hyper-V Hosts. Once the correct host group is selected, the HyperV hosts will be visible in Available Hosts.
Skip Cluster Validation test – Please always uncheck this. Cluster validation test will perform all mandatory tests with respect to each Host, OS, Network, Storage etc to ensure that the cluster created out of these nodes will work like a HERO 😀 – provided all test result must be green.
Select the Hosts which are required for the cluster and Click to Add > to move the hosts to “Host to Cluster” box.
Now we need to select the DISKS which will be used in the CLUSTER.
All the remote storage connected to the hosts will be displayed now.
SCVMM detects the smallest disk of the group and reserve if for “Witness Disk”.
I have assigned another 500 GB disk, which will be used as a CSV. This disk needs to be formatted as NTFS and converted to CSV.
We have different check boxes for each disk.
Quick Format – As the name states – this option will preform a quick format. The same option available while trying to do a Format from OS.
Force Format – If the selected disk already contain some data – Then we need to select this so that SCVMM will forcefully do the format
CSV – This option will convert the disk into a CSV disk once cluster is created
The next option is to select Virutal Swithc – Which we will skip now and create it once the cluster is created.
Review the activities and click on Finish.
To get the detailed progress, Review the running job for “Install Cluster”.
Unfortunately, This attempt got failed as the cluster validation process detected some errors. Lets quickly go through the error and fixt it.
To get the detailed report, Go to any of the Host and navigate to C:\Windows\Cluster\Reports. Open the latest report mentioned on the above error.
Now I got it. I have multiple NICs on each server.
1 For Management
1 For Live Migration
2 for HyperV-Data
I have assigned IP only for Management and Live Migration. The interfaces for HyperV Data will be used to create a team while we configure Virtual Switch on each server from SCVMM. So I planned to keep these interfaces disabled, however one NIC DATA-2 was left out. Data-2 got a APIP IP and the validation wizard detected that both servers are having one each interface on the same IP range, however not able to communicate each other which is a serious problem. 😉
I disabled the Data-2 interface on both server and proceeding with cluster creation now.
To Restart a failed job,
SCVMM -> Jobs -> History
Identify the failed job and right click. Select Restart.
And now I verified the Cluster Validation report and see all green 😀
The progress can be reviewed from the running Jobs. And once the Job is completed, The Cluster will be visible in the SCVMM Console.
Configuring Logical switch on the Hyper-V hosts from SCVMM 2012 R2
Now we have the HyperV Hosts which is part of a cluster. The next step is to assign the Logical Switch to the Hosts.
SCVMM – > Fabric -> Host Group -> Cluster -> Node -> Right Click and select properties
Select Virtual Switches
Click on New Virtual Switch and select New Logical Switch
Add both Physical Adapters – DATA-1 and DATA-2.
Add the appropriate port profile – In this example “Port Profile – Prod – DC1″
Click on OK.
Do the same steps on the second host.
Thats it ! You are done. You can create a VM now and try assigning the Logical Switch.
Note – These posts needs more description and some more final updates which are on its way. Visit this space again.