avanti's TaskMaster
®
User Submitted Sample Task
|
|
Background
We needed to replace NRS to replicate a single 9Gb volume on a source server to multiple destination servers. The source server houses all NAL delivered applications on a volume called ADMIN, each destination server has a volume named ADMIN and each ADMIN volume must be identical to allow roaming users to use any application they require when at any of our sites. Due to the importance of the synchronisation of the applications, all steps of the task require logging with enough history to backtrack and determine if/when a problem occured.
The Task Files
The main task is called REPLICAT.TSK, this is called by a seperate
task (1 per destination Server).
The calling task (CEDAR.TSK in this example) passes only enough
information to REPLICAT.TSK to allow it to perform the SYNC and
create the necessary log files.
This allows only 1 main task to require administering/updating.
Output of the logfiles can be located anywhere on the source Server
and is defined by variables within REPLICAT.TSK.
The history of the logfiles are defined within the calling task
(CEDAR.TSK) and are kept based on 'how many log files are kept'
(e.g., if %2 in the calling task is 14, then the last 14 log files
are kept, NOT the last 14 days).
This value can be set to whatever value required.
The Calling Task
(
The Main Task
(
The Output Files
CEDAR.OK = indicates the last SYNC to CEDAR-UK
was sucessful.
CEDAR.RUN = indicates the SYNC to CEDAR-UK is still running.
CEDAR.WAR = indicates there were some warnings last time
the SYNC ran.
CEDAR.ERR = indicates there were some errors last time
the SYNC ran.
These text files also contain a little more information within them,
so it is a good idea to associate the extensions to Notepad.
We also change the icon for each type (green tick for *.OK,
Red cross for *.ERR, etc. ...)
The individual log files for each Server are within the directory
defined as:
These file have the extension *.LGG and is associated to Notepad.
Additional Information
|