Skip to content

ACM agents

An ACM agent is the Windows service which, on a remote machine, receives the requests of local applications and relays them to the platform. It is the only component of the ACM chain located outside the platform, and the only one to install.

An agent record holds three pieces of information: a name, which becomes the agent's identity in contracts and in its certificate; the machine it runs on; and a free description.

Declaration and deployment

Declaring an agent and deploying its service are independent, in both directions.

Creating the record installs nothing: it only registers a name and a machine. Conversely, removing the service remotely does not delete the record: the record remains and can serve a new deployment. The list does not indicate whether the service is actually running.

Service state not displayed

No column indicates whether the agent is installed, started or reachable. A declared agent whose service was never installed looks exactly like an agent in production. The request history shows which agents are active.

Service installation modes

The choice depends on whether the console can reach the target machine.

  • Remote deployment: the console asks an Edge Gateway to install the service, using an account allowed to install software on the machine. This is the standard mode; it handles several agents at once.
  • Configuration download: the console produces an archive to be carried manually onto the machine. This mode is used when remote installation is not possible.

Configuration archive contents

The archive holds the agent's client certificate, the certificate of the authority signing the ACM service, the list of addresses to reach, and a memo of the three operations to perform on the machine. That certificate authenticates the agent: it is not copied from one machine to another, and a renamed agent must obtain a new archive.

Gateway online required

The ACM service address written into the archive is requested from the Edge Gateway at generation time. If the gateway is unreachable, no archive is produced, and the error message does not indicate this cause.

Agent network traffic

The agent does not communicate with the console: it reaches the ACM service published by the Edge Gateways of the sites its contracts designate. This has two consequences:

  • the agent must be able to reach the site's gateway over the network, on the port where the ACM service is exposed;
  • as long as no contract names the agent, it has no address to reach. The agent can be deployed before its contract is created, but it remains silent until then.

Limits

  • The agent is a Windows service: there is no equivalent for other systems.
  • The agent name is unique within the tenant, and it is also its cryptographic identity: changing it invalidates the configuration archive already deployed.
  • An agent named by a contract cannot be deleted. Deleting a selection is not cancelled for all that: agents not named by any contract are deleted, the others are kept and listed in the error message.
  • Remote deployment requires an Edge Gateway with recording; the others are not offered.

The detail of the fields (list, forms, deployment, removal and configuration archive) is in the module reference.