Configuration files for Jitterbit private agents
Overview
When a private agent starts, it authenticates with Harmony and joins an agent group using the registration information provided during installation.
When a private agent is running, it uses these configuration files:
File | Service |
---|---|
jitterbit.conf | Private agent |
jitterbit-agent-config.properties | Private agent |
httpd.conf | Apache server |
CleanupRules.xml | File cleanup |
Of these, the key file is jitterbit.conf
. You can edit this on the host, or remotely in the Management Console. (Only this file can be edited remotely. All others must be edited on the host.) When you have multiple agents in a group, remote editing is faster and easier, and ensures that all agents are configured the same way.
Remote configuration
Prerequisites
To remotely edit an agent group's configuration files, you must have a role with Admin permission for the organization your agent group belongs to.
Enable
To enable remote editing, follow these steps:
-
Select Management Console > Organizations.
-
Select the active organization in the table to open its Organization Policies pane.
-
In the Agent Management tab, enable Remote agent configuration.
Edit
All agents' statuses must be Running before you can remotely edit an agent group's configuration. When you do, Harmony keeps a master copy that it uses to overwrite the values in the jitterbit.conf
files of all active agents in the group. (Only values are overwritten; comment lines are unaffected.)
To edit an agent group's configuration files remotely, follow these steps:
-
Select Management Console > Agents.
-
Click the Jitterbit configuration button for the agent group.
-
Click Edit configuration.
-
In the dialog that opens, read the information text, then click the Continue button.
-
Change values, or enable or disable settings, then click Submit.
-
Read another Confirmation Message dialog, then click OK to continue.
-
When the configuration is received by an agent, the following appears in the
log/jitterbit-agent.log
file:Jitterbit.conf file is modified on the disk. Please restart Agent services manually for the effect to take place
-
Restart the private agent:
From the Windows Start menu, select Jitterbit Agent > Stop Jitterbit Services, then Jitterbit Agent > Stop Jitterbit Services.
jitterbit restart
docker exec NAME jitterbit restart
NAME
: the container name or ID.
Important
If the agent was started with environment variable
AUTO_REGISTER_DEREGISTER_ON_DRAINSTOP=true
,deregisterAgentOnDrainstop: true
inregister.json
, orDeregisterAgentOnDrainstop=true
in theAutoScaling
section ofjitterbit.conf
, the agent restarts but won't re-register. In this case, open a shell on the container and perform initial configuration again. To do this, runjitterbit-config
, respond to the prompts, then runjitterbit restart
. The container's agent re-registers with Harmony with a different agent name.
Add
To add a key to the configuration, follow these steps:
-
Select Management Console > Agents.
-
Click the Jitterbit configuration button for the agent group.
-
Click Add configuration. In the dialog that opens, read the information text, then click the Continue button:
-
A new row appears in the table. Enter values for Section, Key, and Value, set the Enabled status on or off, then click Save:
-
Restart the agent.