Close-up of Vikash's eyes behind his favourite dark-rimmed glasses About Roy

Change DataBase location for System Center VMM 2012

I wanted to provide CNAME as a DB connection for SCVMM rather than actual server name. The reason for doing so was to make sure incase of mirrored DB goes down, I can make DNS changes and that can take care of SCVMM rather than making registry or application level changes.There are many ways to do so but one registry hack can also make changes.

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Server\Settings\Sql " and update following changes

Change DataBase location for System Center VMM 2012 — screenshot 1

Restart System Center service and this will update SCVMM as well.

Change DataBase location for System Center VMM 2012 — screenshot 2

  Change DataBase location for System Center VMM 2012 — screenshot 3

This node is an active node in a failover cluster - Windows 2008R2

When I was trying to add node into existing cluster it throws the error message "The computer is joined to a cluster." I also found that cluster service was not started.

This node is an active node in a failover cluster - Windows 2008R2 — screenshot 1

Hence I decided to remove feature  failover cluster but then it throws the message "This server is an active node in a failover cluster. Though this node were not visible under fail over cluster

This node is an active node in a failover cluster - Windows 2008R2 — screenshot 2

This seems to issue with stale connections . In order to clear this run PS command clear-clusternode

This node is an active node in a failover cluster - Windows 2008R2 — screenshot 3

And finally it will allow to remove failover clustering feature.

 This node is an active node in a failover cluster - Windows 2008R2 — screenshot 4

DDC setup does not showup virtual machine storage?

While performing configuration of Citrix XenDesktop we found that there were no storage resource available to assign for virtual machine manager. Here we are trying to integrate System Center Virtual Machine Manager 2012 with XenDesktop 5.6

DDC setup does not showup virtual machine storage? — screenshot 1

So there are few pre-requisite for storage to showup and this need to configured via SCVMM and Hyper-V host. Here we need to insure that for EVERY host placement is defined as show below

 DDC setup does not showup virtual machine storage? — screenshot 2

And for same path which is under placement sharing is enabled

DDC setup does not showup virtual machine storage? — screenshot 3

Once this done you can view storage under virtual machine storage.

DDC setup does not showup virtual machine storage? — screenshot 4

Source : http://blog.itvce.com/?p=675

How to setup Quorum for fail over cluster for Hyper-V

While configuring quorum for Hyper-V fail over cluster

How to setup Quorum for fail over cluster for Hyper-V — screenshot 1

It gave message that "No quorum witness has been configured for the cluster"

How to setup Quorum for fail over cluster for Hyper-V — screenshot 2

This was because quorum disk which was presented were not formatted . So formatted and assigned the drive letter Q

How to setup Quorum for fail over cluster for Hyper-V — screenshot 3

As soon it was added under cluster manager ->  storage, it was available

How to setup Quorum for fail over cluster for Hyper-V — screenshot 4

Now when I ran cluster configuration again it shown up under storage

How to setup Quorum for fail over cluster for Hyper-V — screenshot 5

Finally this configuration will finish

How to setup Quorum for fail over cluster for Hyper-V — screenshot 6

Hyper V VM high availability grayed out

I came across situation where VM created via non SCVMM had HA grayed out (Currently below screenshot is for reference)

Hyper V VM high availability grayed out — screenshot 1

While doing migration it was throwing error 23001 - cannot create or update a non highly available storage.

Hyper V VM high availability grayed out — screenshot 2

To fix this perform the migration again using following box "Make this VM highly available"

Hyper V VM high availability grayed out — screenshot 3

After migration this will become highly available.