Can Citrix Xen App Limit The Number Of Times You Run An Application
CTX135154
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:
-
Install the desired application.
-
Publish the application across a minimum of 2 servers.
-
Publish a second application to test that the non load managed application continues to launch after the load managed application has launched.
-
Create a new load evaluator by right clicking load evaluators. SelectNew \ Add Load Evaluator.
-
Provide a name for the Load Evaluator.
-
Enter 1 inReport full load when the number of users for this application equals field.
-
Select the published application with the Browse button and clickOK.
-
Right-click the published application and selectOther Tasks \ Attach Application to Load Evaluator.
-
Select the Load Evaluator you created and clickOK.
- Launch notepad (load managed application) with a testuser1 account on pc1.
Determine which server testuser1 notepad has launched from within the Citrix Console.
- 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.
-
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:
-
Verify that the other apps continue to launch by using pc3 and testuser3 with wordpad application.
The wordpad application launches.
-
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
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