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

The Citrix Credential Wallet service is not running

While doing storefront deployment we came across the error " The Citrix Credential Wallet service is not running"

The Citrix Credential Wallet service is not running — screenshot 1

It also had following error in the event log which point to some kind of timeout while starting the service.

The Citrix Credential Wallet service is not running — screenshot 2

We tried putting service into delay start mode to see if that fix the issue

The Citrix Credential Wallet service is not running — screenshot 3

While doing research we found that config file need to be modified if StoreFront server do not have Internet connectivity

The Citrix Credential Wallet service is not running — screenshot 4 

And change the value from true to false and finally service got started

The Citrix Credential Wallet service is not running — screenshot 5

Allocating Lun to Hyper-V host

There might be multiple ways to allocate lun to Hyper-V clusters but I follow below way . Once lun is allocated via storage system it will be available via disk management on one of the cluster node. Bring it online and format it without drive letter and partition name.

Allocating Lun to Hyper-V host — screenshot 1

Once drive is formatted open cluster manager and browse to storage right click to add the storage

Allocating Lun to Hyper-V host — screenshot 2

Once added it will show up as available storage

Allocating Lun to Hyper-V host — screenshot 3

Now we need to allocate this to cluster shared volumes

Allocating Lun to Hyper-V host — screenshot 4

Once this is allocated it will showup under cluster manager and under SCVMM

Allocating Lun to Hyper-V host — screenshot 5

Failover Cluster validation warning: No disk were found

While running cluster validation it keep throwing warning Failover Cluster validation warning: No disk were found — screenshot 1

Warning message says that "No Disks were found on which to perform cluster validation tests. To correct this,review that following possible causes:

Failover Cluster validation warning: No disk were found — screenshot 2

Here it clearly says that disk should be offline when running this cluster validation test. After bring quorum disk offline and run the validation test and it went through.

Failover Cluster validation warning: No disk were found — screenshot 3

Error 12700 VMM cannot complete host operation while creating Virtual Networks

While creating virtual networking on one of the Hyper-V 2008R2 host

Error 12700 VMM cannot complete host operation while creating Virtual Networks — screenshot 1

It was giving an error  12700 VMM cannot complete the host operation on <servername> server because of the error

Error 12700 VMM cannot complete host operation while creating Virtual Networks — screenshot 2

I tried rebooting/removing and reading back to cluster . But then it always throw an error while creating Virtual Network. Because of this I was not even able to create VM on the cluster . It was giving error "Error 20400  1 parallel subtasks failed during execution.

Error 12700 VMM cannot complete host operation while creating Virtual Networks — screenshot 3

Found MS KB 2486812 which explain how to fix and what is the root cause. Downloaded nvspbind and run it on problematic Hyper-V cluster.

 Error 12700 VMM cannot complete host operation while creating Virtual Networks — screenshot 4

And finally I was able to create Virtual Network

Error 12700 VMM cannot complete host operation while creating Virtual Networks — screenshot 5

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.  

Cannot create or update a non highly available VM -Error (23001)

This is the first time when I have created virtual machine using SCVMM. While creating VM it throws errorCannot create or update a non highly available VM -Error (23001) — screenshot 1

This seems like you can not use cluster resource till you define the resource as highly available. After checking  option "Make this virtual machine highly available" VM creation went through.

Cannot create or update a non highly available VM -Error (23001) — screenshot 2

Learning Hyper-V Lesson 10

Learning Hyper-V Lesson 9

I have discussed here how VLAN is created on HP virtual connect and then mapped to Hyper-V host. Once VLAN is created on virtual connect we need to use HP Network Configuration Utility to map this VLAN

Learning Hyper-V Lesson 9 — screenshot 1

Every VLAN which is created also create physical interface . Make sure you name it for better identification

Learning Hyper-V Lesson 9 — screenshot 2

Post this now we have to create logical interface on Microsoft VMM machine.  Select Fabric and then create a network site.

Learning Hyper-V Lesson 9 — screenshot 3

Now select each host and then choose virtual networks. Click on Add then choose network binding as "External" . Point this to the interface created on Hyper-V host

Learning Hyper-V Lesson 9 — screenshot 4

Now under hardware choose the interface and map it to logical interface

Learning Hyper-V Lesson 9 — screenshot 5

Learning Hyper-V Lesson 8

Previous lesson 7 we discussed about setting SQL mirroring but then I was not aware what I need to do to start with SQL mirroring.  I decided to blog SQL 2008R2 install steps. Remember I am doing this production for the first time in life :) So pop-in SQL 2008R2 CD/ISO and run the installer.

This will check all the prerequisite 

Learning Hyper-V Lesson 8 — screenshot 1

Next it will ask what feature we are trying to install. We are installing just SQL server .

Learning Hyper-V Lesson 8 — screenshot 2

We need to insure that we have choose "Integration Service" here

Learning Hyper-V Lesson 8 — screenshot 3  

This will check for all the dependencies for feature selected.

Learning Hyper-V Lesson 8 — screenshot 4

Go with default instance.

Learning Hyper-V Lesson 8 — screenshot 5

Now disk space will be calculated for above feature installation.

Learning Hyper-V Lesson 8 — screenshot 6

Configure all the service to run with service account.

Learning Hyper-V Lesson 8 — screenshot 7

Choose the correct authentication method which you want. Recommended is to use mixed mode.

Learning Hyper-V Lesson 8 — screenshot 8

If you wana to place data and log files on separate drives. Everytime when you create new database this will place MDF file and LDF file on respective drive.

Learning Hyper-V Lesson 8 — screenshot 9

One more check before installation begun.

Learning Hyper-V Lesson 8 — screenshot 10

Finally nice summary for what install is going to be done.

Learning Hyper-V Lesson 8 — screenshot 11

If install is successful it will present message with green.

Learning Hyper-V Lesson 8 — screenshot 12