In order for the master controller (and Forecasting Shell Server) to run properly a several workflows must be scheduled:
- MC:MarkedRecordManager – Removes records marked for deletion. This removes static entries only.
- MC:Synchronisation – Syncronise between several master controllers, only needed on duty standby systems
- MC:RollingBarrel – Removes expired records from the MC database (e.g. timeseries, model states etc)
- RollingBarrel_FSS00 (one for each FSS) – Removes expired records from the FSS database
For each workflow to be scheduled in the Administrator Interface a properties file should be made. Examples are attached to this page.
MC:MarkedRecordManager
Suggested scheduling interval: Every 30 minutes, depending on the needs of the system.
Contents of the workflow
<?xml version="1.0" encoding="UTF-8"?><Blank/>
MC:Synchronisation
Suggested scheduling interval: Every 5 minutes, depending on the needs of the system.
Contents of the workflow
<?xml version="1.0" encoding="UTF-8"?><Blank/>
MC:RollingBarrel
Suggested scheduling interval: Every 30 minutes, depending on the needs of the system.
Contents of the workflow
<?xml version="1.0" encoding="UTF-8"?><Blank/>
RollingBarrel_FSS00
Suggested scheduling interval: Every 1440 minutes, depending on the needs of the system.
Contents of the workflow
<?xml version="1.0" encoding="UTF-8"?> <workflow version="1.1" xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/workflow.xsd"> <!--Rolling barrel workflow--> <activity> <runIndependent>true</runIndependent> <moduleInstanceId>RollingBarrel</moduleInstanceId> </activity> <!--Delete records pending deletion--> <activity> <runIndependent>true</runIndependent> <moduleInstanceId>MarkedRecordManager</moduleInstanceId> </activity> </workflow>