When you configure an anti-affinity rule for an application pool, View Connection Server attempts to launch the application only on RDS hosts that have sufficient resources to run the application. This feature can be useful for controlling applications that consume large amounts of CPU or memory resources.
About this task
An anti-affinity rule consists of an application matching pattern and a maximum count. For example, the application matching pattern might be autocad.exe and the maximum count might be 2.
View Connection Server sends the anti-affinity rule to View Agent on an RDS host. If any applications running on the RDS host have process names that match the application matching pattern, View Agent counts the current number of instances of those applications and compares the number to the maximum count. If the maximum count is exceeded, View Connection Server skips that RDS host when it selects an RDS host to run new sessions of the application.
Prerequisites
Create the application pool. See "Creating Application Pools" section in the Setting Up Desktop and Application Pools in View document.
Become familiar with the constraints of the anti-affinity feature. See Anti-Affinity Feature Constraints.