Results for category "Hyper-V"

A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic

On my Windows 2012 R2 HyperV Cluster, The event 16945 was getting logged frequently.

MAC CONFLICT

MAC CONFLICT

The current setup has two network interfaces teamed and this teamed interface is used for creating the Virtual Switch.  The virtual switch, the teamed inteface and one of the team member are having the same MAC Address which is the base of this event.

 

ADAPTER AND MAC DETAILS

ADAPTER AND MAC DETAILS

In my observation, This event will go off if we unchecked the option “Allow management operating system to share this network adapter” from Virtual Switch Manager. By doing so will remove the virtual interface – vEthernet and have the  configuration directly on Virtual Switch.

 

VIRTUAL SWITCH MANAGER

Its recommended to have dedicated interfaces for Management, HyperV Data, LiveMigrationa and CSV. If you have a dedicated interface for Management, this you can go ahead with this option.

 

 

Adding a node to existing Windows Server 2012 R2 Hyper-V Cluster

I started working with Windows Server 2012 R2 cluster few weeks back. At the initial time, due to the lack of time – I started with a three node cluster and later made it as a four node cluster and now adding one more node. I thought of making a post on how to safely add a node to an existing production cluster.

I personally don’t encourage changing the Tyre while driving the car :D, however sometime the situation may demand it.

Before start

  • Ensure that the new server is on same patch level with other cluster nodes
  • Ensure that the server is on the same Firmware level with other cluster nodes
  • Ensure that Fail-over Cluster feature is installed
  • Ensure that Hyper-V role is installed and the Virtual Switch is configured with same name and settings as of other cluster nodes
  • Ideally, All cluster nodes should be identical – So I assume the new server is also having the same hardware as other cluster members
  • Ensure the Multipath software has installed as of other cluster nodes
  • Ensure that the Network interfaces are configured properly to meet the requirement for Hyper-V
  • Ensure that NICs dedicated for Live Migration, CSV, Heartbeat etc are able to ping to the respective IPs in other cluster nodes
  • Add an additional SAN disk of smaller size to be used along with validation test
  • Ensure SAN disks are visible in Disk Management of the new server. Just check, Don’t try to make it online.

    Check if DISKS are visible in Disk Management

    Check if DISKS are visible in Disk Management

 

I would definitely go through the validation tests every time I create/add nodes to the cluster. This will give us the confidence that everything is configured and working as expected before the activity starts. Since we are trying to add an additional node to the existing cluster, We should understand that validation test may interrupt the VMs hosted on other nodes as the CSV disks may go offline as part of the test. For this reason, I did assigned one more temporary disk and made it as a CSV so that we can select only this specific disk while performing the validation.

Go to Failover Cluster Manager – Nodes

Right click on Nodes and Select “Add Nodes”

Add node

Add node

 

 

Click next on the “Before you begin” page after reading :D.

On the “Select Server” page, Key In the server name and click on Add. Ideally, adding the node shouldn’t take more than ten seconds.

Adding the new node

Adding the new node

 

On the “Validation Warning” Screen, We need to choose the right option specific to running validation test. As I mentioned earlier, I prefer to run all test with a spare disk form storage which don’t have any production data. So select Yes.

Validation Warning

Validation Warning

 

Clicking Next will Switch on the Validation Configuration Wizard

The account used for running validation wizard should be a local administrator on all nodes.

 

Validation Wizard - Before Begin

Validation Wizard – Before Begin

The next screen is “Testing Options”. I prefer to run all tests. If you are re-running after identifying some issues, Its Ok to choose only that failed module by select “Run only tests I select”.

 

Testing Options

Testing Options

The next screen is important. We need to choose the right SAN disk which will be used for validation test. I already added a 1 TB disk and made it as a CSV disk – Name CSV-4. Chose the right disk and click on next.

Select the Storage which will be used for Validation test

Select the Storage which will be used for Validation test

 

Please read the warning at the bottom –  TO AVOID ROLE FAILURES, IT IS RECOMMENDED THAT ALL ROLES USING CLUSTER SHARED VOLUMES BE STOPPED BEFORE THE STORAGE IS VALIDATED.

In the Confirmation page, Have a look on the specific tests which are going to perform on each modules and click on NEXT

ValidationWizard-Confirmation

 

Click Next to start the Validation tests.

Validation Test in Progress

Validation Test in Progress

 

Once done, You can review the result by clicking “View Report”.

If any of the test got failed, the Wizard assumes that something is not correct, hence shouldn’t proceed with the next step with the blessing of wizard. However, Once you click on finish, You will go back to “Add Node Wizard”  where you will get Option to Run Validation test again or proceed without Validation test.

 

Validation Wizard - Result Summary

Validation Wizard – Result Summary

In my case, I am using NICs with trunking for HyperV Data traffic,  So while creating the Virtual switch – I haven’t assigned any IP to this interface which the validation wizard claims that its not good. As I am sure that this error is not going to make an issue, I am proceeding with the next Option.

 

ValidationWarning-ProceedwithoutChecking

In the next screen, Review the node to be added and click on NEXT.

Wait for the successful confirmation and that’s it.

Cheers

Shaba

 

Oracle Enterprise Linux on HyperV

One of the major limitation  I am having now is the VMs with non supported gust OS. Some of the tweaks which is found on the net works but however, not confident to try it out on production machines. With Windows Server 2012 R2, I see that Hyper-V will be improving its support specific to Linux VMs.

Yesterday, Microsoft and Oracle made announcements their joint partnership.

Customers should expect all Oracle products will be supported on Hyper-V as well as Azure soon.

Cheers !

Shaba

 

Windows Server 2012 R2 and Network Virtualization

Seems Microsoft heard the voice of customers.

Though network virtualization was introduced with Windows Server 2012, I really don’t think that any of the customer could adopt it and make a production network virtualized. The main road block was network virtualization gateway. As I mentioned in one of my previous post, lot many main stream networking giants are coming up with network virtualization gateway appliance for Hyper-V. But that could be an additional investment and may not be an easy option for everyone.

Even, We had unofficial information that Windows 2012 R2 will fix-up these mess. And seems its true. Windows Server 2012 R2 is coming up with an inbuilt gateway which is capable of Multi-tenant multi-site VPN gateway, NAT gateway for internet access and forwarding gateway for within the Datacenter.

Cheers !

 

F5 Big IP Announced NVGRE Support

F5 announced their road map on supporting network visualization for Hyper-V.

F5® BIG-IP® hardware will support NVGRE gateway functionality beginning the first quarter of calendar year 2014. Integration with Windows Azure is currently available on F5’s BIG-IP solutions.

For me, this seems to be an important move as one of the mainstream vendor will be coming soon to support the network visualization initiatives. Lets hope for the best !

Cheers,

Shaba

 

 

 

MPIO and Windows 2012 Server

I was trying to configure Multi-path software for a new cluster which is using Dell Compellent storage. Installed MPIO feature and was trying different options to get it configured. However, after each reboot, I still see two disk for each volume.

While trying to discover the Multipath from MPIO graphical interface, I noticed an error.

The program can’t start because MSVCR100.dll is missing from your computer

 

MPIO Error

If I click on OK, Configuration will continue and end up in a reboot prompt. After reboot, I will still see two disk for each volume.

At last, I got a write-up which gave me a clue that this is a generic error where VC++ redistributable is missing. So on the next node, I tried it and it was successful.

The first step before starting MPIO configuration was installaing Microsoft Visual C++ 2010 Redistributable Package (x64)

http://www.microsoft.com/en-us/download/details.aspx?id=14632

And then proceed with MPIO configuration. From MPIO control Panel, Select Discover Multi-Path and then select Compellent from the list of devices listed. After that, Click on Add. System will configure MPIO and may take few minutes to complete.

 

Configuring MPIO on Windows 2012 Server

Configuring MPIO on Windows 2012 Server

At the end of configurations, a reboot prompt will be displayed. To complete MPIO configuration, Proceed with a reboot.

 

 

Installing HyperV3 – Pre-Check

In the last six months, I did installed multiple HyperV clusters. One important issue which I faced in the initial days is outdated firmwares. This may not be specific to HyperV3, but this will become an issue once you enable HyperV3. I had issues while enabling HyperV role, sometimes while creating a cluster.

We are crossing 6+ months with Windows Server 2012. Most of the vendors has released the new firmwares for Windows Server 2012. I had issues where the specific driver was only available for Windows 2008 R2, where we cannot update it from a Windows 2012 OS. Installation will throw an error which says that incompatible OS.

Update Firmware

Update Firmware error

Its always better to check each components and get the latest firmware and drivers prior to the HyperV configurations. If Windows 2012 is supported, you can try using bootable ISO images if possible.

Another important aspect of firmware update is due to the support for latest features like SR-IOV and ODX. The hardware may be having this feature but until the firmwares are updated to the latest one, we may not be able to use this.

 

 

SCVMM 2012 Sp1 – Building a priviate cloud

I am very excited to let you all know that I am trying out a private cloud with SCVMM 2012 Sp1. Its almost three weeks I am playing around SCVMM 2012 Sp1. Still trying to understand the concepts and features. In the initial phase, I was in the assumption that configuration is something which I can do easily. Unfortunately, Fabric configuration made me into panic mode having sequence of issues. At-last, I landed safely by fixing all issues.

Another important note is on Roll-up 1. As you are aware, System Center 2012 Sp1 got a new Roll-up1 which got released on Jan 9th 2013. This rollup is intented to fix the below issues. I am yet to apply this roll-up, but scheduled for this weekend.

 

Virtual Machine Manager (KB2792925 – Console; KB2792926 – VMM Server)

Issue 1

When a logical unit number (LUN) is unmasked on an iSCSI array, the VMM service may crash.

Issue 2

When a node is put in maintenance mode, virtual machines in the cluster change to a status of “Unsupported Cluster Configuration.”

Issue 3

When an add-in that uses multiple DLL files is imported into the VMM console, the add-in is not imported. Additionally, you receive the following error message:

Add-in cannot be installed

Issue 4

When an add-in is imported into the VMM console on a server that is running Windows Server 2008 R2, the add-in is not imported.

Issue 5

When an add-in is imported into the VMM console, the console may crash.

Cheers !

Shaba

 

Measure-VM – Its just amazing !

Some times, its nice to see how a particular VM is performing through a commandlet. I am sure, you know this. Get-VM will give you a quick overview on the resource utilization at that moment.

Get-VM -ComputerName HyperVHostServver

Get-VM

How about getting an average performance report. Its possible in Windows Server 2012 HyperV. We can measure the average value of specific performance counters. The first step to achieve this is to enable resource metering.

By default, Resource metering is set as false for all VMs.

Get-VM-RM-Default

Resource Metering can be enabled for a specific VM or for all VMs on a server in one time. Once you enable Resource Metering, key counters are captured and will give use an option to generate an average utilization report.

To enable Resource Metering for a specific VM

Enable-VMResourceMetering -ComputerName HyperVHostName -VMName VMName

To enable for all VMs on a server

Enable-VMResourceMetering -ComputerName HyperVHostName-VMName *

Enable-RM

To check if a VM is configured with Resource Metering, Use Get-VM

Get-VM VMName |Select-Object ResourceMeteringEnabled

Get-VM Resource-Metering-Enabled

To check the total time duration resource metering is running, use Measure-VM with FL

Measure-VM

At last, to disable resource metering

Disable-VMResourceMetering -VMName VM

Hope that helps !

Shaba