# Run an on-prem agent
An on-prem agent requires an active connection between the agent running within your network and Workato's On-prem group dashboard (opens new window).
You can temporarily disable this connection, such as when restarting or upgrading the on-prem agent.
Activate an agent through the installer
ALLOW TRAFFIC TO WORKATO FROM YOUR SERVER
Ensure traffic to Workato is allowed from your server to use OPA. Refer to security allowlists to add Workato to your allowlist.
# Disable on-prem agent
Complete the following steps to disable an on-prem agent:
Sign in to Workato. The Orchestrate platform displays by default.
Go to Tools > On-prem groups and select the on-prem group that contains the agent you plan to disable.
Go to the agent's Version column and click ... (ellipsis).
Click Disable.
Disable an agent in Workato.
Alternatively, for agents installed on Windows machines, you can stop the old agent by terminating the Workato Agent Windows service or the console-based agent.
# Re-establish connection with on-prem agent
To reconnect your on-prem agent to Workato, you have to do the following steps. Please follow the instructions according to your network's operating system.
# Run an agent on Linux
To start the agent service in the background, use:
systemctl start workato-agent.service
To enable the agent to start on system boot, use:
systemctl enable workato-agent.service
# Linux log files
Log files are stored in /var/log/messages
by default for on-prem agents operating as a Linux service through systemd
. Because this file also contains logs from other Linux services, you must use the journalctl
command to access OPA specific logs.
journalctl -u [name of the OPA service].service
The -u
switch filters the logs returned by the service that created them. Replace [name of the OPA service]
with the name you set for the OPA during installation.
You can further refine your log search using the following commands:
> [output-file]
: Exports the result ofjournalctl
to a file.--since
: Limits the generated logs to after a specific date and time.--until
: Limits the generated logs to before a specific date and time.
For example:
journalctl -u workato.service --since "2020-07-26 23:15:00" --until "2020-08-5 23:20:00" > OPALogs.txt
Refer to Loggly's Using journalctl (opens new window) guide for additional journalctl information.
OPA LOG CONTENTS
The level of detail included in your OPA logs depends on your agent configuration. Refer to the Workato logging levels section for more information.
# Running on Windows 64-bit
For on-prem agents installed in Windows, run the agent as a Windows console application or as a Windows Service.
You can activate the OPA by starting the Workato on-prem agent Windows service or using the activation script, depending on your setup.
# Using Windows Service
The installer automatically registers an agent (WorkatoAgent
) as a Windows service . However, the agent does not start automatically. Navigate to the service configuration (Control Panel → System and Security → Administrative Tools → Services → WorkatoAgent) to configure service auto-start or change user account.
# Windows log files
Log files are stored in %SYSTEMROOT%\System32\LogFiles\Workato
by default for on-prem agents operating as a Windows service. You can navigate to this file manually or use the shortcut in the Start menu under All apps > Workato.
Complete the following steps to change the log storage location:
Open the Windows Start menu.
Go to All apps > Workato.
Click Service Wrapper Configuration to open the configuration menu.
Go to the Logging tab.
Enter a new log storage location in the Log path field.
Click Apply, then OK.
OPA LOG CONTENTS
The level of detail included in your OPA logs depends on your agent configuration. Refer to the Workato logging levels section for more information.
# On-prem agent is reconnected
To finish re-establishing the connection, go to the On-prem group dashboard and connect to your on-prem agent.
Step | Description |
---|---|
Enable agent | From the Workato On-prem group dashboard, select Enable agent.![]() |
Connection established | Workato will send a request to your on-prem agent to establish a connection. If successful, the status will return to Active.![]() |
Last updated: 5/2/2025, 2:37:39 PM