This document describes how to upgrade the Sawmill software package for versions 8.5+. The current licenses apply to all 8.x.x.x versions.
See Download Software section of Installation for instructions on downloading the software.
This section describes the procedure for upgrading a previously installed version of Sawmill to a newer version.
Machine Name | Purpose |
---|---|
pdsrpt1 | operations |
pdsrpt2 | operations |
Note: The following procedure needs to be completed for pdsrpt1 only. The instructions will explicitly denote instructions for upgrading pdsrpt2.
% sudo su pds
% gunzip -c (sawmill.tar.gz) | tar xf -
A directory called sawmill is created containing the software and configuration.
% mv sawmill sawmill8.6.3.1
Kill all running sawmill processes.
% killall sawmill
Recreate a new symbolic link to the current installation:
% rm /usr/local/report/sawmill % ln -s /home/pds/sawmill8.6.3.1 /usr/local/report/sawmill
Run upgrade-sawmill to remove the Sawmill default configurations and copy the PDS Engineering-specific configurations from the old installation.
% # Usage: upgrade-sawmill <new-LogAnalysisInfo> % # - <new-LogAnalysisInfo> - the LogAnalysisInfo directory within the new installation % % ./upgrade-sawmill /usr/local/report/sawmill/LogAnalysisInfo
Note: This assumes /report_service/LogAnalysisInfo is home to load balanced LogAnalysisInfo config. Update the script if needed.
% cd /usr/local/report/sawmill % nohup ./sawmill -ws t -v e > /usr/local/report/sawmill_logs/<current_date_in_YYYYMMDD_formate>.log 2>&1&
Note: Be sure to modify this command, as needed for the shell being used, to ensure Sawmill runs as a daemon process and output is redirected into .
Perform the following in the bash shell:
% rm -fr /usr/local/report/sawmill/LogAnalysisInfo % ln -s /usr/local/report/LogAnalysisInfo /usr/local/report/sawmill/LogAnalysisInfo
Note: Modify directories as needed to reflect actual installation directories.