Manage agent
You can manage the agents from the Agent Manager
Start/stop agent
In the Agent Manager choose a agent you want start/stop.
Select Stop if the agent is running but you want to stop the agent.
Select Start if the agent is stopped but you want to start the agent.
Export encryption keys
Once you install a agent its important that you export the the encryption keys and store them securely. To export the encryption keys,
In the Agent Manager select an agent and select Details.
Select Export Keys.
Store exported file securely.
Uninstall agent
In the Agent Manager select the agent you want to uninstall and select Details.
Select Uninstall.
Generate a new token in the Hub and paste it into the uninstaller. Make sure to select the correct agent group when generating the token. Generated tokens are valid for one week.
Select Uninstall to confirm.
Upgrade agent
In the Agent Manager select the agent you want to upgrade and select Details.

Select Upgrade.

Generate a new token in the Hub and paste it into the installer. Make sure to select the agent group that the agent belongs to when generating the token.
Select Upgrade to confirm.
If you encounter following error during the upgrade, retry the update operation once again.

Access agent logs
In the Agent Manager select an agent and select Details.
Select Open Folder. This is will open the local file folder where the agent is installed.

In the local installation folder you can find sub folder named logs.

Configure agent logs
By default agent logs are kept for 7 days where a log file is created for each day. You can configure how long the agent logs are kept.
In the Agent Manager select an agent and select Details.
Stop the agent if its in running state.
Select Open Folder. This is will open the local file folder where the agent is installed.
In the local installation folder find the file named
appSettings.jsonfile and open it in you favorite text editor.Modify the parameter RetainedFileCountLimit. This number is usually in days. Save the file.

Start the agent again.
Configure MaxConcurrentExecutions for a agent
By default, agents are configured to allow up to 50 concurrent sessions. You can override this setting by modifying the appSettings.json file. Keep in mind that increasing the MaxConcurrentExecutions value depends on the hardware capabilities of the machine or server where the agent is installed.
In the Agent Manager select an agent and select Details.
Stop the agent if its in running state.
Select Open Folder. This is will open the local file folder where the agent is installed.
In the local installation folder find the file named
appSettings.jsonfile and open it in you favorite text editor.Modify the MachineStepQueueSettings section to include the
MaxConcurrentExecutionsparameter.
"MachineStepQueueSettings": {
"ConnectionString": "",
"QueueName": "",
"MaxConcurrentExecutions": 100
}Last updated
Was this helpful?