Assigning Clients to Agents

As an administrator user, once the Agents are installed and you have created the Clients, you must establish the connection between them and define which rights each Agent will have on which Client. Although you can grant Agents the necessary rights individually on their Authorizations Page, if you are dealing with many Agents, this is very time-consuming. With the Agent/Client Assignment object (HSTA) you optimize this process by collecting multiple Agents in one HSTA object and defining an authorization policy to specific Clients. HSTA objects can be created in the Process Assembly perspective in Client 0 only.

Object Definition

An HSTA object definition is made up of the following pages:

To Define the Authorization Policy

  1. In Client 0 open the Process Assembly perspective and add an Agent/Client Assignment (HSTA ) object. See Adding Objects.

    The Agent Authorization Policy page is displayed.

  2. In the Filter section, create the list of Agents to which you want to apply the authorization policy.

    1. Click the folder icon in the Agent Name cell to open the Select Agent dialog and choose one.

      Use the table toolbar to add as many Agents as you want and to arrange them in the list. The policy you define here will be applied to all of them.

      The columns in this table display the values entered in the Agent definition. For more information see Agents (HOST).

    2. Activate the Exclude checkbox if you want this Agent to be excluded from this authorization policy.

    See Working with Tables.

  3. The Authorizations section provides the list of all the available Clients in your system.

    1. Specify the individual rights that the Agents you have selected in the previous table should have on each Client:

      • File Transfer - Read

        The Agent can send files for transfer.

      • File Transfer - Write

        The Agent can receive files.

      • Execute Jobs

        The Agent can start Jobs.

    2. Activate the Apply checkbox to grant the selected rights to the Agents in the Filterlist.

      You can also activate this checkbox if no rights have been specified for a client.

      Example

      List of assigned Agents where 2 AGents have different rights.

      The agents depicted in this screenshot are assigned to clients 6, 25 and 27.

      • On client 27 they have full rights.
      • On client 25 they can only receive transferred files.
      • Although the are assigned to client 6, they cannot perform any of the actions associated to these rights.
  4. Before applying the rights policy on Clients to the collected Agents you can check whether your definition is correct. Click the Preview button to see the list of Agents to which you are about to grant rights.

    This does not trigger Agent assignment, it simply displays the effects that the agent assignment would have with this HSTA object.

    You can save and preview your definitions or only preview them. In any case, make sure that you save them before approving the policy.

  5. If you are satisfied with your settings, click the Apply Authorization Policy button on the toolbar.
  6. Activate the HSTA object.

    1. Open the Administration perspective.

    2. Expand Agents & Groups and select Agent Authorization Policies.

      The HSTA object you have just created is in the Inactive table. Select it and do one of the following:

      • Right-click and select Set Active.
      • Click the arrow to insert it in the Active table.
      • Drag and drop it in the Active table.

      You can also select multiple objects and activate them in bulk.

  7. As soon as you save the object, it is written to the UC_AGENT_ASSIGNMENT static Variable and, therefore, it is activated. See UC_AGENT_ASSIGNMENT - Agent Assignment.

Important Configuration Details

The order of objects in the Active table is relevant. This order is mirrored in the UC_AGENT_ASSIGNMENT Variable. For example, consider this list of active agents:

The UC_AGENT_ASSIGNMENT Variable is as follows:

The list is processed from top to bottom. If two objects contain contradictory definitions, the rights of the HSTA object that is listed last are applied.

Deleting an HSTA object in the Explorer of the Process Assembly perspective also removes the corresponding entry in UC_AGENT_ASSIGNMENT and in the Agent Authorization Policies page in the Administration perspective.

For performance reasons, rights are not assigned every time an Agent starts but only when it starts for the first time.

See also: