Defining Agent Groups

The steps for defining an Agent Group (HOSTG) are the same as any other Automic object. This section describes the settings that are specific to only agent group objects. For general information about the purpose of an agent group object, see Agent Groups (HOSTG).

An agent group definition is made up of the following pages:

Agent groups of client 0 can also be used in other clients provided the administrator has set the relevant rights for the agent group. The client's agent group is used if the client 0 contains an agent group of the same name.

An agent group of client 0 does not necessarily supply the same agent in each client. Agents obtain client authorizations after installation which can differ from each other.

Defining an Agent Group consists of the following:

  1. Specifying the Agent Group specific settings
  2. Assigning agents to the group
  3. Arranging the agents in the group

Once you have created them in the Process Assembly perspective, you can also access and edit them in the Administration Perspective.

First Define the Agent Group-Specific Settings

In the Platform and Mode section you define the environment and the agents in the group in which the tasks should be executed.

  1. Select the Platform.

    You can only assign individual agents to a group if they all have the same platform.

    This list is disabled as soon as you start assigning agents to the group. You can only change the platform definition if you first remove all the agents assigned to the group.

    Please note that Platform and OS are not the same. For example, an agent group in which the WINDOWS platform has been defined can only contain Windows agents. However, an SAP agent that runs on Windows cannot be assigned to this group, since in this case SAP is the platform.

  2. In Mode you specify the method that the agent group will use to evaluate which agent should be used to process each task:

    Field Description
    Any Any agent with enough resources is assigned for processing the task.
    First On the first available agent, depending on the order defined in the Assigned Agents table
    Next listed

    On the next active agent according to the order specified in the Assigned Agents table.

    In case of multiple tasks using the same agent group, a round robin system is applied. Thus, task A would start running on the first agent and task B, which is started later, would run on the second agent, and so on.

    Load dependent On the agent with the lowest workload in the group according to the data delivered by the resources allocation.

    The following is taken into consideration:

    • Preference is given to agents without resource limits.
    • The agent with the lowest workload is used if there are resource limits for all agents in the group.

    In both cases, if agents have the same resource limits, the agent with the fewest active tasks is used.

    The criterion to select an agent to execute a task is the start time defined for the task. You specify this on the Attributes Pages of Executable Objects of the executable object:

    You have two possibilities:

    • Late agent assignment: Generate at runtime

      If you select this option, the agent group evaluates the available resources and assigns an agent to the task only if it has enough resources. If this is the case, the resources are reserved immediately; if not, the agent group evaluation waits and the status of the task switches to Waiting for the host of an AgentGroup (1688).

    • Generate at activation time

      The start time of the task is used for agent selection. The status of the task switches to Waiting for resource in case no sufficient resources are available on the agent at that moment. It waits until processing is possible again. It does NOT change the agent even if a different one had enough resources.

    All active On all active agents

    All active and inactive

    On all agents
    Parallel tasks

    If tasks in this group are to be executed in All active or in All active and inactive agents, you can also specify

    • whether tasks can run in parallel and, if so, how many
    • whether you want to prevent this group from processing tasks. Activate the Suspend task processing option for this purpose.

Then Assign Individual Agents to the Group

In this section you pick the individual agents from the Available Agents list and insert them in the Assigned Agents one, where you can then rearrange them to meet the order of the agents in the group. The order is important if you have previously selected Next listed as mode.

Field Description
Name Name of the agent.
Version Version of the agent, including its hotfix level.
Hardware Hardware information such as system type, number of processors, processor type.
Software The OS.
Software Version Version of the OS.
Archive 1/2

Archive keys are keywords you assign to the object. Later on you can perform searches or you can filter objects using them:

  • Archive Key 1 is limited to max. 60 characters
  • Archive Key 2 is limited to max. 20 characters
Role Role of the agent. The system administrator can determine roles for each agent, which are stored in the UC_EX_HOST_ROLE agent variable.

To Assign Agents to Groups

  1. Optionally, select the Mode, that is, the agent in the group on which the task will be executed.

    For details see the description on the first table above.

  2. Refresh the list of Available Agents to make sure that it is up-to-date.

    The list displays all agents that are available for the current client.

  3. If necessary, you can restrict the number of agents displayed in the list to only those that are relevant for this group.

    For this purpose, enter the name of the agent in the search box.

    The content of the agent list diminishes dynamically as you type.

  4. You can select agents individually or in bulk. Do one of the following:
  5. Click Assign selected The agent is inserted at the bottom of the Assigned Agents list.

Do not forget to define the proper order of the agents in the group if you have selected First or Next listed above.

You can also use the following script functions to assign agents:

Finally, Arrange the Agents in the Group

You do it in the Assigned Agents list.

To edit a row you must first click its checkbox to activate it. You have then the following options:

Option

Description

Inserts a new row at the bottom of the table

Deletes the row

Removes the entry from the list and pastes it to the clipboard. Click Paste to add it to the bottom of the table.

Duplicates the entry. Click Paste to add it to the bottom of the table.
Moves the selected row in the table one position up.
Moves the selected row in the table one position down.
Activates all rows in the table.

See also: