Add Cisco UCS drivers to Windows Server 2012 Hyper-V ISO Image

Windows Server 2012 Logo

I already did a post how you can add the Cisco UCS drivers to a Windows Server 2008 R2 Hyper-V Image using dism and imagex. With Windows Server 2012 you cannot use the command line tool imagex anymore but you have a new Windows PowerShell module for dism which allows you basically the same with. In this tutorial I will add the Cisco UCS drivers to a Windows Server 2012 ISO image or a Microsoft Hyper-V Server Image.

First I created three new folders:

  • Drivers – which includes all the extracted drivers for Windows Server 2012 (I removed all the drivers which are not related to Windows Server 2012)
  • ISO – This includes the extracted Windows Server 2012 ISO image
  • Mount – This is a empty folder which will be used to mount the WIM files

PowerShell Dism Folders

First we have to check in which Windows edition we want to add drivers. We can do this by using the Get-WindowsImage cmdlet:

 Get-WindowsImage -ImagePath .\ISO\sources\install.wim 

Get-WindowsImage

This will show you all the Images which are included in this WIM file.

After we have seen the Index numbers we can now mount the Windows Image our Mount folder. In my example I use Image Index 3 which is the Windows Server 2012 Datacenter Core Edition

 Mount-WindowsImage -Path .\Mount -ImagePath .\ISO\sources\install.wim -Index 3 

Mount-WindowsImage

After the image is mounted we can now add the drivers from the Drivers folder.

 Add-WindowsDriver -Path .\Mount -Driver .\Drivers -Recurse 

When all drivers are added to the Image you can dismount the image and save it.

 Dismount-WindowsImage -Path .\Mount -Save 

Dismount-WindowsImage

We have now added the drivers to the Install image, you should also added the drivers to your boot image. To do this just do the same steps to the .\ISO\sources\boot.wim.

After that you can create a ISO file


oscdimg -n -m -bc:\temp\ISO\boot\etfsboot.com C:\temp\ISO C:\temp\mynew.iso 

Cisco C200 M2 SR-IOV for Hyper-V

In my lab I am using three Cisco C200 M2 rack mount server for my Windows Server 2012 Hyper-V hosts. Windows Server 2012 Hyper-V brings support for SR-IOV which didn’t really work on my C200 M2 servers. Today I updated my Cisco servers to the latest firmware Release 1.4(3p).

After the update I checked the BIOS settings and found a new setting which allows to enable SR-IOV.

SR-IOV Cisco C200 M2

It’s great to see that vendors are bring support for the new features which are supported in Windows Server 2012.

Cisco UCS supporting Windows Server 2012 Hyper-V

Windows Server 2012 Logo

Today I had the chance to visit Cisco Switzerland and got some great news for all Hyper-V and Cisco UCS customers, with the latest release of the Cisco UCS Firmware 2.0.4 Cisco brings support for Windows Server 2012 and Windows Server 2012 Hyper-V.

Check out the release notes for Cisco UCS Software and the Hardware and Software Interoperability Matrix for Firmware release 2.0(4).

SCVMM 2012 Hyper-V Bare-Metal Deployment on Cisco UCS C200

System Center Logo

System Center Virtual Machine Manager brings a cool new feature called Bare Metal Deployment. This feature allows deploying new Hyper-V hosts via Out-of-Band Management (IPMI or SMASH) with the Virtual Machine Manager. In my lab environment I use Cisco UCS C200 M2 servers as my Hyper-V servers but this guide will also work with servers from other vendors such as HP, IBM or Dell.

Deployment Process

 

  1. SCVMM boots up Bare-Metal Server via OBM
  2. Send PXE Boot requests
  3. WDS asks SCVMM for authorize PXE boot
  4. SCVMM approves
  5. Boot Windows PE
  6. Run pre GCE scripts to configure Raid and other settings
  7. Copy the VHD from VMM Library
  8. Get drivers
  9. Run post GCE scripts to do additional configurations
  10. Doing post configuration
  11. Domain join
  12. Adding server to the resource pool

Continue reading

Monitoring Cisco UCS via System Center Operations Manager 2012

CISCO UCS

My college Stefan Roth (Private Cloud Architect at itnetx) wrote a blog series about how you can monitor you Cisco UCS with System Center Operations Manager 2012.

He covers how you can setup the UCS Emulator for your test environment and how you install and deploy the UCS Management Pack for System Center Operations Manager.

Finally checkout his blog (http://blog.scomfaq.ch) about Microsoft Private Cloud solutions focused on SCOM.

 

Cisco UCS C200 M2 – Microsoft Hyper-V

Cisco UCS C200 M2 Hardware

For my Lab I could buy some Cisco UCS C200 M2 rack servers. Of course I am running Hyper-V on my lab servers to get the most out of it, and I am very happy with the performance of the Cisco UCS standalone servers.

C200 BIOS Settings

 

But still I did some changes in the BIOS settings to get some more performance.

Processor Configuration:

  • Intel Turbo Boost Technology: enabled
  • Enhanced Intel Speedstep Technology: enabled
  • Intel Hyper-Threading Technology: enabled
  • Number of Enabled Cores: All
  • Execute Disable: Enabled
  • Intel Virtualization Technology: enabled
  • Intel VT for Directed IO: enabled
  • Intel VT-d Interrupt Remapping: enabled
  • Intel VT-D Coherency Support: enabled
  • Intel VT-d Address Translation Services: enabled
  • Intel VT-d PassThrough DMA: enabled
  • Direct Cache Access: enabled
  • Processor C3 Report: disabled
  • Processor C6 Report: disabled
  • CPU Performance: High Throughput
  • Hardware Prefetcher: enabled

Memory Configuration:

  • NUMA Optimized: enabled

Windows Server 2008 R2 Blackscreen after enabling Hyper-V Role on Cisco UCS

Hyper-V R2 SP1

Today I had a strange problem on a Cisco UCS installation. After you enabled Hyper-V on a Windows Server 2008 R2 with SP1, you will get a black screen.

Cisco fixed this in the UCS Firmware version 2.0.1(t).

“After enabling Hyper-V in Windows 2008 R2 SP1 then rebooting, the server no longer shows a black KVM screen and a failure of windows startup and login.”

Release Notes for Cisco UCS Software, Release 2.0