You can configure environment variables to change the behavior of the agent.
About this task
Note: Environment variable setting will impact all the running agent instances in Linux
platform.
Procedure
- Stop all the agent instances.
- Locate the environment variable file.
- Linux platform:
Locate the
.vm.environment file by navigating to the
agent folder.
- Agent of 32-bit system: $CANDLEHOME/config
- Agent of 64-bit system: $CANDLEHOME/config
- Edit environment variable according to the requirement and save the file.
Example:
KV1_DATA_PROVIDER_CONNECTION_RETRY_COUNT=0
Note:
In the event of connection failure, if the environment variable
KV1_DATA_PROVIDER_CONNECTION_RETRY_COUNT is not configured or set to 0, the agent
will continuously attempt connection to data source every 30 seconds.
In the event of connection failure, user can limit the number of connection attempts by setting
the environment variable KV1_DATA_PROVIDER_CONNECTION_RETRY_COUNT to a valid
non-zero value.
- Start the agent instance.