Citrix License Server 11.11.1 and (Xen)Desktop Studio

August 24, 2013 3 comments

Yesterday i ran into an issue with Citrix License Server 11.11.1 which i was upgrading to remediate an Apache vulnerability that was discovered in 11.10. After upgrading the License Server, i was unable to see my XenDesktop license information in Desktop Studio. I could verify the connection to the License Server in Desktop Studio and could see by running Get-BrokerSite from Powershell that i was not in Grace period for licensing, but i kept getting the message “Cant get licensing info – Cannot connect to the Citrix Licensing Configuration Service” or something similar. Then after rolling back to 11.10 and pondering for a while, i discovered this from the About Citrix Licensing Server 11.11.1 eDoc: 

“Known Issues – 

  • Older Desktop Studio releases (prior to XenDesktop 7 Studio) using this version of the license server do not display license usage information or manage the license server using the Licensing Node. This version of the license server is fully compatible with XenDesktop and can serve licenses for any Citrix product deployment. If you continue to use an older Desktop Studio, use the License Administration Console that ships with the license server to display license usage, manage license server users, and upload licenses. If you are using a version of XenDesktop prior to the XenDesktop 7 and you upgrade from earlier versions of Citrix License Server for Windows to version 11.11.1, you might see the following warning:

    Warning: Installing this update removes the Licensing Configuration Service. As a result, all versions prior to this release of Studio provide only limited licensing information.”

So it shows that reading the release notes can save time and also save those worrying few minutes/hours trying to work out whether all your systems are about to go into Grace period.

Advertisements
Categories: Citrix

Licensing a Netscaler

Go to MyCitrix Portal

Allocate the Citrix Netscaler [Standard, Enterprise etc] Edition Appliance License and download .lic file.

Then Allocate the Citrix Access Gateway Platform License, configuring a HOST ID to match the Hostname of the netscaler for example NETSC1SYD and download .lic file.

Then select your Citrix XenDesktop Per User licenses and download.

Go to the Netscaler and bind/import the licenses using the Manage Licenses button under the System node

Modify rc.conf on the netscaler with the host ID used in the allocation of the access gateway license, make sure you type the hostname correctly as it is case sensitive.

Under the Access Gateway node, select Global Settings > Change Authentication Settings and modify the maximum number of users to the amount licensed for.

Categories: Citrix

vDisk Access Denied

A simple thing to forget when using PvS is to allow the stream service security permissions on the vDisk files. This will cause an access denied message when adding the vDisk to the store. To overcome this you need to add the account that runs the stream service (in my case Network Service – But good practice is to use a service account) to the VHD and PVP files. It is easiest to apply these permissions to the parent folder so when new files are added, they automatically inherit the account.

Categories: Citrix

Changing the XML Port on XenDesktop Controllers

Recently we ran into some issues with the XML service in our XenDesktop farm and to troubleshoot, i wanted to be able to adjust the XML port quickly to check communication. Setting this via policy would not have been desirable as we had users unable to connect to desktops and need to troubleshoot quickly. I am familiar with changing the XenApp XML port at the command line using ctxxmlss.exe, but have not needed to adjust this on XenDesktop before. The terminolgy is slightly different as the tool to change XML is called BrokerService. The way to check your XML settings:

 

Open a command prompt on the DDC, type C:\ then CD “Program Files\Citrix\Broker\Service\

Brokerservice.exe /show will display the current settings

Brokerservice.exe -wiport 80 would set the XML port to port 80.

 

 
Image

Categories: Citrix

Citrix – Changing The DS Farm Credentials

We have had a recent problem where by a Citrix admin was using his domain credentials to join new farm servers to the existing DS Database. This was picked up early but could have been a problem when the account password is changed or the account disabled. What we did to rectify the issue was create an AD service account (In this case called XenAppServers) and made it an owner of the MF20 Database and the master Database, we then ran the folllowing command on the farm servers:

 

DSMAINT CONFIG /user:Domain\Username /pwd:Password

 

Then restart the IMA service!

Categories: Citrix

Removing a Desktop Group using Powershell

February 19, 2013 Leave a comment

If you have ever run into the problem of a empty desktop group not being able to be deleted from Desktop Studio, you’ll appreciate tthe following command. Just remember to make sure no machines are assigned or in the catalog. 

 

Remove-BrokerDesktopGroup –Name DesktopGroupName –Force

Categories: Citrix

Powershell – Exporting Members of an AD Group to CSV

October 17, 2012 1 comment

In moving users from one group to another or trying to determine who is a member of a particular group, there is a great command in Powershell that can be run using the Active Directory Module. The command is:

C:\Windows\system32> Get-ADGroupMember “Citrix Test Users” | Get-ADUser | Select-Object Name, mail | Export-Csv -Path “C:\Temp\Output.csv” -NoTypeInformation

Categories: Microsoft