...
- Copy the RTR_RESTARTMC2.xml file to the incoming folder by the next path on the backend server.
In the example below, TPE_FOLDER is the path to the tpe folder.
[TPE_FOLDER]/data/msgcenter/in/XML/eagle_ml-2-0_extract_service_control_message/incoming.
Configuration
To enable/disable the restart of MC2, Use the camel route restartmc2 property in eagle/estar/tpe/cfg/eaglemc2s/extractservice/application.yml. By default, the MC2 restart is enabled.
Code Block language xml eagle: enable: restartmc2: true
You can use the restart MC2 command to execute the restart after a defined delay. The default delay is 90 seconds.
Code Block language xml eagle: restartmc2: restartdelay: 90
When restart requests go through a IIS server, only Admin users can restart MC2. However, there is also the denyemptyusername property available that allows non-authenticated users to make requests directly to LB.