Monthly archives "January 2013"

Identify WWN through Powershell

Run this command from Powershell

$nodewwntmp = Get-WmiObject -class MSFC_FCAdapterHBAAttributes -Namespace “root\wmi” |select NodeWWN

And then

$NodeWWN = (($nodewwntmp[1].NodeWWN) | ForEach-Object {“{0:x}” -f $_}) -join “:”

The variable $nodeWWN will have the WWN listed.



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 !



SCVMM 2012 SP1 – Installation guide – Part 2

After completing the per-requisites which I mentioned on my last post – scvmm-2012-sp1-installation-guide-part-1 , I moved further with the System Center Virtual Machine Manager 2012 Sp1.

Mount the ISO image for SCVMM 2012 Sp1

Run Setup.exe

SCVMM 2012 SP1 Installation - 1

Click on Install

SCVMM 2012 SP1 Installation  - 2

Select the features to install

SCVMM 2012 SP1 Installation - 3 - Product Registration

Read the license agreement :) and accept the terms and conditions.

SCVMM 2012 SP1 Installation - 4 - Agreement

License – Terms and Conditions

If you wish, Opt for Customer Experience improvement Program (CEIP)

SCVMM 2012 SP1 Installation - 5 CEIP


Configure Microsoft update for SCVMM.

SCVMM 2012 SP1 Installation - 6 - Microsoft Update

Microsoft Update

Select the installation path

SCVMM 2012 SP1 Installation - 7 - Installation Path

Choose Installation Location


Enter the SQL Server name, Instance name and DB Name. In my case, I was already having an instance name which was used for the SCVMM 2012 SP1 Beta. On the same instance, I opted for a new DB.


SCVMM 2012 Sp1 Database Configuration

Database Configuration

Configure Service account and the DKM location.


SCVMM 2012 SP1 Installation

SCVMM 2012 SP1 Installation – Configuring Service Account and Distributed Key Management

Configure the port details. The default ports will be listed out and if you want to make it into custom, you can change it here.


SCVMM 2012 SP1 Installation - Configuring Custom Ports

SCVMM 2012 SP1 Installation – Configuring Custom Ports

Configure Virtual Machine Manager Library. If you already have one, you can choose it. Else, the same server will be configured as a library server.

SCVMM 2012 SP1 Installation - Choose VMM library or Create a new library

SCVMM 2012 SP1 Installation – Choose VMM library or Create a new library

Verify the settings and click on Install

SCVMM 2012 SP1 Installation

Installation Summary

Installation will start and you can see the components getting installed

SCVMM 2012 SP1 Installation - 15 - Installation Progress

And finally we will get the Completion note.

Installation Completed Successfully

Installation Completed Successfully

Go ahead with opening the SCVMM console.


SCVMM 2012 SP1 Installation - 17 - Console

SCVMM 2012 Sp1 Console launch

SCVMM 2012 Sp1 Console

SCVMM 2012 Sp1 Console


Few errors/warning if you don’t have the prerequisites

Windows Assessment and Deployment kit not installed

SCVMM 2012 SP1 Installation -Error-ADK

SQL Commandline utilites not installed

Warning  - SQL Commandline Utilities not installed

Warning – SQL Commandline Utilities not installed

Service Account used for SCVMM is not a local administrator on the sever

Service Account not local administrator

Service Account not local administrator

Distributed Key Management – Delegation incorrect

Service Account dont have privilege on AD

Service Account dont have privilege on AD





SCVMM 2012 SP1 – Installation guide – Part 1

I got System Center 2012 Sp1 downloaded today. The next immediate thought is why should I wait – So I did the installation immediately.

Before we start the installation – Please take care of the below mandatory points

  • Windows patch updates
  • Windows Assessment and Deployment tool kit
  • SQL 2008 /SQL 2012 Command line utilities
  • Service Account for SCVMM
  • Create specific container in AD for Distributed Key Management
  • Delegate rights for SCVMM service account on the Distributed Key Management OU

Windows Assessment and Deployment tool kit

Download the installation files from the below location.

Start the installation

BeforeStart-ADK Installation

Chose the Installation path.

BeforeStart-ADK Installation2

Select the required features.

Click on Install – This whole process took 30 minutes for me to complete.

BeforeStart-ADK Installation - Completed

SQL Command Line Utilities

The first step is to install SQL Native Client.

For downloading SQL 2008 R2 –

For downloading SQL 2012 –

BeforeStart-SQLCMDLineUtility-Nativ Client

After SQL native client installation, Proceed with SQL  Command Line utilities.

For downloading Microsoft® SQL Server® 2008 R2 Command Line Utilities  –

For downloading Microsoft® SQL Server® 2012 Command Line Utilities  –


Service Account and Permission Delegation on Distributed Key Management OU

Create a service account

Create an OU to for Distributed Key Management

Right click the OU and click on properties

On Security tab, Click on Add

Select the Service Account and Click on OK

Assign Read, Write and Create Child Items for the service account


I will detail you on the installation step on my next post.

Cheers !



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


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.


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 *


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


At last, to disable resource metering

Disable-VMResourceMetering -VMName VM

Hope that helps !