Richard Parmiter

Virtualisation blog and Knowledge Base

  • You are here: 
  • Home
  • Citrix

Speed up the launch of the XenDesktop Delivery Services Console (DSC)

Posted on September 2nd, 2010

Sometimes the Delivery Services Console takes a long time to launch. This is due to a .NET delay in the authenticode signature component as described in Microsoft Article Q936707.

The following config file can be added to speed up the lauch of the Delivery Services Console.

  • mmc.exe.config

Ensure the contents of the file contain the following:

<?xml version=”1.0″ encoding=”utf-8″?>
<configuration>
<runtime>
<generatePublisherEvidence enabled=”false” />
</runtime>
</configuration>

Copy this file to the following locations:

  • 32-bit server – c:\windows\system32
  • 64-bit server – c:\windows\sysWOW64

Tags: , , , , , , , ,
Filed under Citrix XenApp, Citrix XenDesktop | No Comments »

Use a different name for the XenDesktop Controllers Group

Posted on August 24th, 2010

During the initial instalation of XenDesktop, an Active Directory Controllers group is created and populated with the DDC servers in the farm. This group is named ‘controllers’.

For any subsequent installation of XenDesktop a new controllers group is added for each XenDesktop installation with a different name based on controllers – such as ‘ControlA0D3′

If there will be multiple XenDesktop instances in the same Active Directory it may be best to use a controllers group that reflects the business unit, project name or farm name to destinquish it from the others.

The process to do this is detailed in the following Citrix Article: CTX120451

However, the following points are worth noting when following this article.

  • Create a new group in the same OU as the original ‘controllers’ group called: <farm_name>_Controllers
  • Add the DDC controller objects to this group
  • Enable advanced features in the ‘Active Directory Users and Computers’ tool (View | advanced features)
  • Right click the new group | properties | Attribute Editor
  • Locate the objectGUID entry

NOTE: you need the GUID as displayed here. If you open the entry by double clicking to copy/paste the value this mirrors some sections of the GUID as detailed in the Citrix article mentioned above.

  • When entering the GUID into the registry key it needs to be in the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  • Restart all DDC servers
  • Run the AD Configuration wizard again from one DDC and it will now use the GUID entered in the regkey as the controllers group rather than the default. It appears to also update the SCP information with the details of the new group.

This registry key does not need to be applied to the virtual desktops as they get information about the controllers groups from the AD SCP configuration, which has just been updated from the AD config wizard.

Restarting the virtual desktops (VDA agents) now gives a sucessful registration with the farm.

Note: don’t forget to also update the settings for ‘Access this device over the network’ to include the new controllers group if this applies in your configuration.

Tags: , , , , , ,
Filed under Citrix, Citrix XenDesktop | 1 Comment »

use xe.exe to start/shutdown vm’s on XenServer

Posted on July 27th, 2010

I wanted to stress test a Citrix XenServer 5.6 computer to see how it copes with a number of simultaneou startup and shutdown requests.

I also wanted to see the IOPS passed to back end storage where the virtual machine hard drives are stored.

Rather than manually selecting the machine in XenCenter and shutting down or starting I wrote a script to perform the same action which made it a little quicker and easier when performing this task many times.

I wanted to perform the actions on a specific list of vm’s listed in a text file

List of VM’s – vm.txt

Name-of-VM1

Name-of-VM2

Name-of-VM3

Remember they are case sensitive and the same name you see in XenCenter. It can also be acheived with UUID’s of the VM’s but this is less friendly, so the names were used.

Startup VM’s

This is a simply dos batch script

set XenServer=[server name or IP]
set XenUser=[username]
set XenUserPwd=[password]

for /F %%1 in (vm.txt) do (
start “start %%1″ “c:\program files (x86)\Citrix\XenCenter\xe.exe” -s %XenServer% -u %XenUser% -pw %XenUserPwd% vm-start name-label=%%1
)

I have used the start command to open a seperate dos box for each VM so they are done in parallel. Without this the command waits for each VM to start before starting the next one. Running them all in parallel is *much* better for a stress test of a boot storm simulation!

Shutdown VM’s

set XenServer=[server name or IP]
set XenUser=[username]
set XenUserPwd=[password]

for /F %%1 in (vm.txt) do (
start “shutdown %%1″ “c:\program files (x86)\Citrix\XenCenter\xe.exe” -s %XenServer% -u %XenUser% -pw %XenUserPwd% vm-shutdown name-label=%%1
)

I will no doubt be working on some updates to these scripts in the near future and will share them soon.

Tags: , , , , , ,
Filed under Citrix XenServer, Scripts/Reg | No Comments »

Customize Page title & favicon on Citrix Web Interface 5.x

Posted on July 13th, 2010

The defaut page title and fav icon logo appear on the browser tab when connecting to the Citrix Web Interface Site.

Shown here:

It is possible to replace the logo with your own one and change the text to be more appropriate.

Logo

The logo is:  ..\inetpub\wwwroot\Citrix\{site name}\media\IcaComboAll.ico

replace with your own .ico file but keep the same file name

Browser Title text

This is picked up from the following file:

..\inetpub\wwwroot\Citrix\{site name}\languages\common_strings.properties

Near the top of the file look for the sections:

DefaultProductName=Citrix XenApp
DesktopProductName=Citrix XenDesktop

and change to your own name.

the bit after the common name cannot be changed in the same way (i.e. the -Applications bit in the above screen grab). This changes depending on the screen you are in from the WI site (Applications, Messages, Preferences, session settings etc)

Tags: , , , , , ,
Filed under Citrix Web Interface | No Comments »

Customize logos on Citrix Web Interface 5.x

Posted on July 13th, 2010

This was done on Citrix Web Interface 5.2.0 but should work on any 5.x version

White theme

This is detailed in several places but most notably here: CTX119509

This gives the default logon screen in white.

Identify the images used

Here is a screen shot of the default view and list of the associated images & resolutions

There are 3 main images:

Image Filename Dimensions CAG Ent filename
1 CitrixLogoHeader.gif 265 x 62 CtxHeader01.bmp
2 HeaderBlack.gif 1175.62 CtxHeader02.bmp
3 CitrixWatermark.gif 115 x 62 CitrixWatermark.gif

These are similar, but not the same, as the images for the Citrix Access Gateway Enterprise. The similar names are also listed. I have found it best to simply use the same images for both sites but just saved as different filetypes.

There is also the one moment please screen to consider

Image Filename Dimensions CAG Ent filename
4 ProgressWindow.gif

ProgressWindows.png

As original ProgressWindow.gif

ProgressWindows.png

Simply open the ProgressWindow images and change the colour

File Locations

The Images are located in

..\inetpub\wwwroot\Citrix\{site name}\media

Simply copy the new images to this location and overwrite the old ones.

There are other ways to ammend these image details, by selecting the web site appearance options within the Web Interface console, but I find it easier and quicker to just overwrite the files.

Just make sure you keep the same dimensions for each image as this means you don’t need to edit any other files.

Tags: , , , , , , , , ,
Filed under Citrix Web Interface | No Comments »