Show Table of Contents
5.2. Creating Affinity Groups
An Affinity Group sets a preference for which JBoss ON servers manage which JBoss ON agents. An affinity group only sets a preference for which server will manage the agent, not an absolute requirement. All agents are still managed within the JBoss ON server cloud, so any JBoss ON server can, theoretically, manage any JBoss ON agent based on the current load and performance.
Agents only have an affinity preference in high availability. This means that agents have a preference in which server they attempt to contact. JBoss ON uses two-way communication, therefore servers also contact agents. Servers — regardless of the partition or the agent affinity configuration — can contact any agent in JBoss ON even if the server is not in that agent's affinity group or if the server does not manage the agent.
The affinity groups page shows the number of agents and servers assigned to each affinity group.
An agent and a server can only belong to a single affinity group.
Procedure 5.1. Create an Affinity Group
To edit an affinity group, click its name, then manage it the same as creating a new affinity group.
- Click the Administrationtab in the top menu.
- Click .
- Click the Create New button.
- Enter a name for the new affinity group, and click Create New.
- In the Agent Members group, click the checkboxes by the agent names to add to the group, and click Update Membership.
- In the Server Members group, click the checkboxes by the server names to add to the group, and click Update Membership.
- Click the Return to Affinity Group Link.Once both servers and agents have been added to the affinity group, the group is fully configured.