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

StoreFront error : No certificate associated with this site

I was adding second server in the server group but it was throwing error while replicating configuration

Log Name:      Citrix Delivery Services
Source:        Citrix Configuration Replication Service
Date:          2/17/2014 6:13:06 PM
Event ID:      31
Task Category: (2801)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      XXXX
Description:
An error has occured during the all server configuration update process.
Citrix.DeliveryServices.ConfigurationReplication.Exceptions.ServerUpdateConfigurationException, Citrix.DeliveryServices.ConfigurationReplication, Version=2.4.0.0, Culture=neutral, PublicKeyToken=e8b77d454fa2a856
An error occured running the command: 'Add-DSFeatureInstances'
RemoteEndpoint: net.tcp://XXX/Citrix/ConfigurationReplication

Then we also saw following  message “No certificate associated with this site” though site was https. I tried several thing like renaming url but looks like it something else

StoreFront error : No certificate associated with this site — screenshot 1

Finally found that certificate was saved under “Web hosting   Certificate ” whereas it must be under “Personal – Certificate “

StoreFront error : No certificate associated with this site — screenshot 2

Once it was placed and binding were configured

StoreFront error : No certificate associated with this site — screenshot 3

All the sites were green

StoreFront error : No certificate associated with this site — screenshot 4

After we fixed this error replication went successfully

StoreFront error : No certificate associated with this site — screenshot 5

Autoconfiguration IPv4 on Hyper V VM

I configured on hyperV VM on SCVMM2012R2 and it was not able to communicate over the LAN. When I checked network property it had Autoconfiguration IPv4 enabled with APIPA ( Automatic Private Internet Protocol Addressing ) .

Autoconfiguration IPv4 on Hyper V VM — screenshot 1

Not sure what was causing it, tried googling but couldn’t find anything relevant. Checked for hidden nic but couldn’t find any. Finally changed IP address and that worked. Looks like above IP was somewhere on the network and this is enabling Autoconfiguration IPv4

Autoconfiguration IPv4 on Hyper V VM — screenshot 2

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3

In my previous  blog I explained how to install  the first node in this blog I will explain how to add the second node to the existing cluster.   Run the SQL setup and choose “Add node to a SQL Serverfailover cluster ”

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 1

This will run the check for prerequisite and validate it

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 2 

Don’t run the check for updates and then exist the steps. It will run again SQL cluster install rule

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 3

Next it will check for product key and then license term. Post which it will identify SQL cluster node and will populate the info

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 4

Then it will validate the network for fail over cluster

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 5

Next it will pick  account for which you must retype the password

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 6

Then it will prompt for error reporting which you can choose as per wish. Click next and proceed further where it will check for node rules

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 7

It will give beautiful summary to add the node.

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 8

Finally installation of SQL second node will be done

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 9

Finally node has been added and here is the summary

Adding second node to the virtual SQL cluster 2012 on Windows 2012R2 using VMM–Part 3 — screenshot 10

Thanks for reading my blog, today I configured DDC on fail over cluster

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2

Post windows cluster validation describe in part1, prerequisite like  .Net3.5 feature must be installed on all the SQL server. Other than it will be normal windows fail over cluster and then start SQL setup as follows.

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 1 

It will check for necessary support files and then validated it by running test

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 2

Next it will check for the latest update , uncheck it and click next

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 3

This will check install file post which it will run the validation for setup support rules

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 4

Setup rules will finish with some warning which can be ignored

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 5

Now this will ask for product key and if this has already downloaded with key then it will appear

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 6

For my Citrix XenDesktop deployment I just need following feature

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 7

Feature rules will test for cluster support

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 8

Here I am using  network name as CitrixSQL. It does not accept special character

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 9

Next it will check validate the space

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 10

Don’t worry about qualified as red . I spend lots of time figuring that out but next will explain why it was . So hit next here

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 11

Once hit next make sure select both the cluster disk. If you recall in my previous post, I did mention why labeling of disk is mandatory. This was the reason. Update the message with correct reference.

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 12

This cluster IP is for SQL cluster node name.

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 13

I usually run SQL service using specific account

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 14

Next we have server config  where I specify SA password

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 15

On the same option Data Directories tab is important. This will insure that database and logs stored separately. After changing click on next.

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 16I don’t want to do error reporting to MS so I hit next where it check for cluster installation rules.

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 17

With this we are ready to install and keep our finger crossed

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 18

For me SQL installation finish with the following error message

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 19

I followed article and manually created  the cluster resource under AD and then gave full control to windows cluster name. Post which all the resource came online.

How to setup virtual SQL 2012 cluster on windows 2012R2 VM using SCVMM2012R2 Part-2 — screenshot 20

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1

I wanted to setup Microsoft 2012 virtual cluster using SCVMM 2012R2. Current setup didn’t have option for  ISCSI lun so we have to either use passthrough  lun or use new feature of  windows 2012 R2 “ Shared the disk across the service tier” .

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 1

From the HyperV cluster option will looks like this

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 2

I couldn’t find option to create this using GUI. I followed PS command to create the disk and attached to the VM. For SQL fail over cluster , we need to setup windows cluster in such a way that disk are presented as available disk  and not as a CSV . We separated logs/Data and quorum disk. Now we need to create these 3 disk as shared disk.

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 3

Now make sure we attach this disk to both the SQL server which would be part of the cluster

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 4

Once these disk are attached it will showup under VM properties under VMM like this

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 5

Open diskmgmt.msc and scan for new disk. You will find all the disk. Disk should be initialize/format/assign drive letter and then offline. Once disk is offline

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 6

It is mandatory  that disk should be added in specific fashion with driver letter and stuff  like that or else SQL cluster validation will not go through. Rest of the cluster setup is same as normal but while running validation of cluster make sure that you uncheck option under storage “Validate Microsoft MPIO-based disks”

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 7

Until Cluster Validation is passed SQL cluster installation will not start

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 8

and it will throw error

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 9

Make sure NIC binding is set properly and domain NIC is first one in Advance network property . Here I am not dedicating separate NIC for HeartBeat

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 10

These clustered VM’s can not be storage motioned . To perform storage motion attached SCSI disk has be removed by following this post

Creating Microsoft virtual SQL cluster 2012 on SCVMM 2012 R2 Part-1 — screenshot 11

In the next series I will explain how to install SQL and then how to add SQL node. This will be 3 blog set Smile Stay tune