Friday, June 21, 2013

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"

image

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

image

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

image

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

image 

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

image

Wednesday, June 19, 2013

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.

image

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

image

Once added it will show up as available storage

image

Now we need to allocate this to cluster shared volumes

image

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

image

Tuesday, June 18, 2013

Failover Cluster validation warning: No disk were found

While running cluster validation it keep throwing warning image

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

image

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.

image

Monday, June 17, 2013

Error 12700 VMM cannot complete host operation while creating Virtual Networks

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

image

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

image

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.

image

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.

 image

And finally I was able to create Virtual Network

image

Friday, June 14, 2013

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

image

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

image

  image

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.

image

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

image

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

image

And finally it will allow to remove failover clustering feature.

 image

Thursday, June 13, 2013

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

image

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

 image

And for same path which is under placement sharing is enabled

image

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

image

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

Tuesday, June 11, 2013

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

While configuring quorum for Hyper-V fail over cluster

image

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

image

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

image

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

image

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

image

Finally this configuration will finish

image

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)

image

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

image

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

image

After migration this will become highly available.  

Monday, June 10, 2013

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 errorimage

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.

image

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

image

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

image

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

image

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

image

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

image

Saturday, June 8, 2013

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 

image

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

image

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

image  

This will check for all the dependencies for feature selected.

image

Go with default instance.

image

Now disk space will be calculated for above feature installation.

image

Configure all the service to run with service account.

image

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

image

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.

image

One more check before installation begun.

image

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

image

If install is successful it will present message with green.

image