Using LBDIAG with XenApp 6.0 and 6.5

The utility lbdiag.exe is a standalone support utility that can be added to your XenApp 6.0 or 6.5 servers to display which servers will be chosen to support application requests based on the current server load in the farm; additionally it can be used to test Worker Group Preference if this has been enabled through Load Balancing Policies.

To download lbdiag you will need to search for the Citrix Knowledge Base Article: CTX124446. Once downloaded add the executable to at least one XenApp Server. In the most simple usage of the command to display which servers would accept connections to the published application “Notepad”, (Display Name) then issue the command:

lbdiag Notepad

A list of servers configured for the application will display with their current load, the server displaying the lowest load value would accept the connection.

Lbdiag can also we used to test Worker Group Preference if this has been set up in a policy:

These load balancing policies can be used to have a single occurrence of the application assigned to all users and on all servers, but London based users will utilize all servers in London before failing over to Stevenage; all London servers would have to be unavailable or fully loaded for this to happen. Likewise, the reverse could be set up from Stevenage to london.

With the policy in place we will test this for London users and use a Stevenage client IP in the lbdiag query to test the  Stevenage to London policy:

lbdiag Notepad /user andrew /domain example /clientip /clientname test

The output should look something like this:

Watch the video to see this set up and more:


Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do

Você está comentando utilizando sua conta Sair /  Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair /  Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair /  Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair /  Alterar )


Conectando a %s