banner



Can Citrix Xen App Limit The Number Of Times You Run An Application

CTX135154

{{tooltipText}}

How to Limit an Application Instance at the Server Level

Article | Configuration | {{likeCount}} found this helpful | Created: {{articleFormattedCreatedDate}} | Modified: {{articleFormattedModifiedDate}}

Objective

This article describes how to restrict an application to run one instance per server. Additional different applications can still be run on the server. This is different from setting concurrent limits on the properties of a published application which allows for limiting an application instance on a per-user or per-farm basis.

Back ground

A customer had an in-house application that had a local database and client installed on a XenApp Server. Therefore only client could access the database at a time due to locking. This article lists the procedure to restrict an application to run one instance per server with the notepad application.


Instructions

Complete the following steps:

  1. Install the desired application.

  1. Publish the application across a minimum of 2 servers.

  1. Publish a second application to test that the non load managed application continues to launch after the load managed application has launched.

  1. Create a new load evaluator by right clicking load evaluators. SelectNew \ Add Load Evaluator.

  1. Provide a name for the Load Evaluator.

  1. Enter 1 inReport full load when the number of users for this application equals field.

  1. Select the published application with the Browse button and clickOK.
    User-added image

  1. Right-click the published application and selectOther Tasks \ Attach Application to Load Evaluator.

  1. Select the Load Evaluator you created and clickOK.
    User-added image

  1. Launch notepad (load managed application) with a testuser1 account on pc1.

    Determine which server testuser1 notepad has launched from within the Citrix Console.

  1. Launch notepad (load managed application) with a testuser2 account on pc 2.

    Determine which server testuser1 notepad has launched from within the Citrix Console.
    There should now be one notepad session on each server.

  1. Verify that the App Load is 10000.
    On one of the XenApp Servers, go to a cmd prompt and typeqfarm /app notepad(Note the application name is case sensitive) .
    On a separate third pc, try to launch notepad with testuser3 account.
    The third notepad launch attempt should result in the following error:
    User-added image

  1. Verify that the other apps continue to launch by using pc3 and testuser3 with wordpad application.
    The wordpad application launches.

  1. Restart the servers that have the load evaluator attached to published applications, if it does not work the first time.
    A full load is denoted by 10000.

    Configure Citrix group policy "Load Evaluator Name" then execute GPUPDATE /FORCE
    User-added image


Can Citrix Xen App Limit The Number Of Times You Run An Application

Source: https://support.citrix.com/article/CTX135154

Posted by: vasquezsubmis.blogspot.com

0 Response to "Can Citrix Xen App Limit The Number Of Times You Run An Application"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel