For sh and bash users the file will have to be modified. Change lines from:-
set switch valueto:-
switch=value
export switch
( on bash you can abbreviate this to:
export switch=value )
The local configuration file starts by defining a set variables that define:-
### Load the configuration file.
replacing them with the code you need to set up MINOS.
local config also defines :-
The remainder of the configuration file contains the following entries to configure DBMauto:-
After changing the --Table option you should review the
analyse_checksum.filterof the Distribution Validation System
For export mode dbm_command_options should be set to a string containing a comma separated list of tables to be exported e.g.:-
top_dir/work
Here is a typical .context file:-
Hearbeat No: 19 Update No: 146
run_export.sh scripts also use .context files although these have a further two lines. For example-
Heartbeat No: 19 Update No: 146 Export last date: 2003-01-09 12:32:24 Export previous date: 2003-01-09 11:18:15
DBMauto supports a second type of Heartbeat: clock synchronised, that reports at a specified time of day rather than after a specified number of program executions. The advantage is that it appears at the same time day even if, for some reason, the cron job has run less frequently (or more frequently). This format looks like:-
Heartbeat No: At: 01:00:00 Next: 2006-05-20 01:00:00It gives the time of day (At:) and when the next report is due (Next:). To switch to this form simply change your context file to this format but follow the data and time syntax exactly or it will not be recognised and will continue to use program execution counting.
Note that date/times all are in UTC.
After priming or repriming the database change the update number to the value corresponding to the priming update set you used.