Page tree
Skip to end of metadata
Go to start of metadata

There are a number of configuration aspects which must be considered when moving from a stand alone environment (i.e. workflows are executed on your local PC) to a live system (i.e. workflows are executed on a forecasting shell machine).


Please ensure that these steps are followed to avoid problems in a live system environment


1. Synch levels


The synch levels determine how data is synchronised between the components of the live system. Please check all 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.


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


<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">
        <!--Delete records pending deletion-->
	<activity>
		<runIndependent>true</runIndependent>
		<moduleInstanceId>MarkedRecordManager</moduleInstanceId>
	</activity>
	<!--Rolling barrel workflow-->
	<activity>
		<runIndependent>true</runIndependent>
		<moduleInstanceId>RollingBarrel</moduleInstanceId>
	</activity>
</workflow>


These modules do not need require configuration in the modules directory but they should be registered in the ModuleInstanceDescriptors file i.e.


        <moduleInstanceDescriptor id="RollingBarrel">
		<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>


These modules should also be included in the modules file (systemConfigFiles) where the link is made to the appropriate class:


	<moduleDescriptor id="RollingBarrel">
		<className>nl.wldelft.fews.system.plugin.rollingbarrel.RollingBarrelModule</className>
	</moduleDescriptor>
	<moduleDescriptor id="MarkedRecordManager">
		<className>nl.wldelft.fews.system.plugin.purge.MarkedRecordManager</className>
	</moduleDescriptor>
  • No labels