You must configure the APM server for all the scheduled jobs if you have deployed APM in a clustered environment and you want to dedicate a machine to run all the scheduled jobs.
Procedure
- On the APM Server machines that you want to put in standby mode, navigate to the folder C:\Program Files\Meridium\ApplicationServer\scheduler.
- Access the file appsettings.json.
- When APM is deployed on multiple servers, you can enable the background jobs in selected servers by setting this flag. See the following example of the modified line of code:
"scheduler": {
"turnOff": true,
Note: By default, the value of the key turnOff is set to false. In your cluster environment, the value of the key turnOff should be set to false in at least one server.
- Save the file.
The APM server is configured for all the scheduled jobs.