Worker

The worker is one of the available communication methods used for sending/retrieving files and running commands in remote servers. The worker is a pull agent and is ideal for cases where the server where the worker is running is not directly reacheable from the Clarive server.

Workers are global resources managed in Admin > System > Workers, where administrators can register new workers, generate the global passkey, monitor status, execute commands via the REPL console, rename, disable or shut down workers and unregister them. Each worker is identified by a unique ID (default: user@hostname) and authenticated via a registration token.

On the remote host, the worker is operated through the cla-worker command line: administrators download a single binary, run cla-worker register with the passkey obtained from the admin panel and then start it with cla-worker run or install it as an OS service so it starts on boot.

The other common types of agents available are SSH, which does not require and additional software besides the preexisting SSH infrastructure, and ClaX, the Clarive push remote agent. Both of these require the server to be able to initiate the connection to the destination.