Download DataGateway User Manual

Transcript
Chapter 3. System Maintenance
This chapter covers information relevant to the day to day maintenance of the DataGateway.
As the DataGateway was developed as an appliance form-factor system, with a custom-compiled operating system, there are relatively few regular tasks to be carried out by systems
admins. There are a number of resources which should be monitored to ensure that production is uninterrupted. In most cases, alert emails are sent out to systems admins as a
resource (such as local disk storage) is running low.
3.1. Local storage
The DataGateway provides local storage for log files, archive files and user-supplied PDF
forms. When the available storage drops below 20%, “persistent filesystem alerts” are sent
out to the main email alert list (as configured in System Settings > Email).
To clear unwanted files and free up space, connect to the system using SCP or SSH. Users
of Microsoft Windows can use WinSCP for file access using the SCP protocol. SSH is implemented by putty on Windows.
The following directories/folders will contain dated files. Old or unwanted files can be
archived off or deleted as necessary.
Warning
Do not remove files from any locations other than those listed here unless
specifically instructed to do so by your vendor. Removal of any other files may
affect the correct operation of your DataGateway.
• /etc/wml/log/ contains system log files and report files. The log files are named
with the formats YYYY-MM-DD-wmlpp_job.log and YYYY-MM-DD-wmlpp_sys.log.
The CSV reports which are generated from the logs have the format YYYY-MMwmlpp_report.csv or YYYY-MM-DD-wmlpp_report.csv. Outbatch logs may also be
present, which have the format YYYY-MM-DD_hh-mm-ss-QUEUENAME_ob.log.
• /etc/wml/archive/ contains archived print files. The format of these files will depend on the user-specified file naming for each queue (as set in Print Platform > Queue
Config > Archive). Each queue will have a sub-directory within /etc/wml/archive/.
• /etc/wml/cdlarchive/ (applicable only to systems which are licenced with the
CDL preprocessing module) contains archived data as received from the CDL software, before any processing by the DataGateway. A sub-directory for each CDLprocessing (or analysing) queue will be present containing files with the format
YYYYMMDD_hhmmss.raw
• /etc/wml/master/ (applicable only to systems which are licenced with the Appliance Manager module) contains firmware upgrade images which have been distributed to managed appliances. These have the format wmlpp-PRODUCT-kvm-sa51