Wednesday, June 6, 2012

Avaya CMS Supervisor Error <429> with XenApp 6.5

When Avaya CMS supervisor used to be launch within XA hosted desktop error used to throw <429?

image

This require specific permission per forum. Create folder C:\Program Files\Avaya if this does not exit .  Give authenticated users full control on the folder:

C:\Program Files\Avaya  and C:\Program Files (x86)\Avaya.

image

Now Avaya CMS is launching fine

image

Monday, June 4, 2012

Configuring Reporting Service on SQL 2008 Cluster for EdgeSight

After installing reporting service on SQL 2008 windows cluster , I was getting error HTTP 404 page not found when ever I tried to access the URL

image

I found that port was set to 80 by default for virtual directory and URL was not the blue.

image

I changed the port to 8080 as suggest by Google uncle and then this URL turned into blue

image

Now after this I was able to open the web page but now got some other error message. The report server installation is not initiated. (rsReportServerNotActivated) 

image

Even EdgeSight server was giving me different error stating that report server installation is not initialized.

image

What I found that Report Manager URL had yellow marked . After clicking on apply that went off and url appeared.

image 

This also did not helped then I checked scale out deployment and found that one server has status to be joined. Did cluster failover and connected and joined the server.

image

After that configuration of reporting service was straight forward . Typed the username password and it started configuring ES reporting database without any issue . CTX130967 is a great article to follow for installing EdgeSight.

image

Wednesday, May 30, 2012

Can I expand ISCSI HBA connected to XenServer 6.0.2 online ?

Yes you can and CTX 120865 works like a charm. Make sure from the storage system the lun has been expanded to the desire size. Now ensure all the VM's on that lun is power off to be on safer side.  Below example where SR is expanded from 1 TB to 2TB

1. Run the xe sr-list and note down the UUID for the SR as shown below

clip_image001

2. Now perform the following steps as shown below. Unplug/Replug/resize/rescan

clip_image002

3. Xencenter will show the correct size of SR now. Power on all the VM’s

clip_image003

Hidden Ghost Network Driver on VM running over XenServer

When the network interface is removed or VLAN is changed this can create ghost network driver. When you try to IP the nic it will throw error message "Multiple Default Gateways are intended to provide redundancy ". These are common with VM's running on different hypervisor . 

This can be removed by setting nonpresent devices to show. Run exactly as shown belowimage

Check "Show hidden devices" and this will show all the ghost nic driver . Uninstall and  reboot the VM

image

Friday, May 18, 2012

Citrix Provisioning Service (PVS) and Windows 7 KMS- A जुगलबंधी

जुगलबंधी- means Combination or entwined twins Source wiki. If you want PDF format then click Here

Finally I left my work early and decided to author this article as I myself struggle which is not my domain :)  Much discussed and written several times , tons of blog and articles are  available on Internet so why the hell Vikash decided to blog and waste his time. I just wanted to clarify few points with which people are still confused .

1. Should I uses KMS or MKS when using Citrix Provisioning Service ?

2. How many client do I need?

3. Will office 2010 which goes into base image is also supported?

In the below example I have used PVS 6.1 and XD 5.6 along with windows 7

So what provisioning service (PVS) does that KMS become so difficult to implement. Well PVS provide read only image to multiple targets. What it means , once image (Windows 7 or windows 2008) is provided it will be in read mode. So after reboot all the change will be vanish.

Situation: You have VDI initiative going on and as per best practice KMS is recommended for all the image since it will be streamed via PVS. So these will first KMS deployment in the environment which will be service office 2010 and windows7 as well as windows 2008.

What kind of KMS should I go with Windows 2008R2/Windows7? It does matter because you cannot use windows7 KMS to activate windows 2008.

Now the question raised do we need 25 virtual or 25 physical devices to activate or else it will throw error 0xC004F038

clip_image001[4]

The answer is you need just 25 PVS streamed VM which can be destroyed latter if you need less than that and it is KMS count to reach 25 and above.

From MS link

image

Installation of KMS is very easy . Download the KMS from MS and activate the OS on which it has been installed. Always use KMS key while activating as listed here

image

I have used following version of activation tool

clip_image006

Make sure the DNS TCP has this SRV record for KMS server. This may need to be created manually with highlighted setting. Make sure firewall is either made ON or necessary exception is added.

clip_image007

Now answering other question: Do I need windows 7 professional/Enterprise /Ultimate. So answer it does not matter for PVS which edition you are running on VM.

How to proceed :

1. Install OS and everything which is required on base OS.

2. Capture the OS using imaging wizard and make sure it becomes your golden image.

3. Now boot the image in private mode and make sure following is selected under private image

clip_image008

4. Now make sure you rearm the OS by running following command and when it prompt to reboot shut down the OS

clip_image010

5. Once target is shut down make sure you choose KMS under vDisk properties and mount it as standard

clip_image011

6. Once image is in standard mode , create atleast 30 machine using XenDesktop setup wizard. Login to any machine and run slmgr /dlv and it should show up like this. This mean machine is getting unique CMID . If not then grace period will be something different which I will explain latter.

clip_image012

7. While you run the same command slmgr /dlv on KMS server you will see the count starting from 1 and slowly increase. This counter increase over 60sec. So patience .

clip_image013

Add all the machine into VAMT console .

clip_image014

Once all the machine added update the status of machine. This scan PC using WMI for install MS product .If office is installed it will update the same

clip_image016

This will show all the office and windows 7 product

clip_image018

Now we need to activate all the product office as well as

clip_image020

If counter is reached to above 25 then for sure all the OS instance will be activated.

clip_image021

And you will see this message under windows properties

clip_image022

And on KMS server this is what you got

image

There is no separate setting for Office 2010 and it just worked without any count for 25 or anything :)

image '

 

TROUBLESHOOTING:

If the counter is not increasing then you need to check if all the CMID are unique or not .If not then following blog from askcore

clip_image024

Also make sure you are using correct product key which is listed here.

Make sure you follow CTX128276 line by line . I spend two days because I did not follow following highlight

image