Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The synch levels determine how data is synchronised between the conponents components of the live system. Please check all non-forecasting timeseries sets are assigned a synch level. Note that when the synchlevel is omitted, it defaults to 0, so only for scalar forecasting timeseries the synchlevel can optionally be left out.


The different synch levels which should be assigned to time series sets are described here section A.5.


2.

...

Maintenance workflows


There are a number of maintenance tasks which should be scheduled on the live system through the admin interface (this is described in detail here. These include the rolling barrel workflow for the forecasting shell machine.


This workflow should be created which include two "dummy" module instances:

...

Code Block
<workflow 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" version="1.1">
	        <!--RollingDelete records barrelpending workflowdeletion-->
	<activity>
		<runIndependent>true</runIndependent>
		<moduleInstanceId>RollingBarrel<<moduleInstanceId>MarkedRecordManager</moduleInstanceId>
	</activity>
	<!--DeleteRolling recordsbarrel pending deletionworkflow-->
	<activity>
		<runIndependent>true</runIndependent>
		<moduleInstanceId>MarkedRecordManager<<moduleInstanceId>RollingBarrel</moduleInstanceId>
	</activity>
</workflow>

...

Code Block
        <moduleInstanceDescriptor id="RollingBarrel">
		<description>Ensures the forecasting shell performs the rolling barrel on exit<<description>Removes all the rows in the cache files that are no longer in the database. For msaccess the database is also compacted. 
Optionally cleans-up the optional warm states blob dir from zip files that have no matching row in the database.</description>
		<moduleId>RollingBarrel</moduleId>
	</moduleInstanceDescriptor>
	<moduleInstanceDescriptor id="MarkedRecordManager">
		<description>Records pending deletion</description>
		<moduleId>MarkedRecordManager</moduleId>
	</moduleInstanceDescriptor>

...

Code Block
	<moduleDescriptor id="RollingBarrel">
		<description>Export Reports from Local Datastore</description>
		<className>nl.wldelft.fews.system.plugin.rollingbarrel.RollingBarrelModule</className>
	</moduleDescriptor>
	<moduleDescriptor id="MarkedRecordManager">
		<className>nl.wldelft.fews.system.plugin.purge.MarkedRecordManager</className>
	</moduleDescriptor>

...