This document describes how to install the Sawmill software package for versions 8.5+. This software is the main component of the Report Service for the PDS 2010 system. The following topics can be found in this document:
This software will be installed with its own standalone web server, so there is no additional installations required. However, there are some general memory, CPU, and disk space requirements outlined in the Sawmill documentation.
This installation assumes /report_service is a mounted drive containing the configuration and node logs. A few directories and symbolic links are then assumed to be setup on the machine with pds as the owner:
% # Create report directory % mkdir /usr/local/report % % # Create symbolic link to logs % ln -s /report_service/logs /usr/local/report/logs % % # Create symbolic links to config % ln -s /report_service/LogAnalysisInfo /usr/local/report/LogAnalysisInfo % % # Create symbolic link to old configurations % ln -s /report_service/old_config /usr/local/report/old_config % % # Create directory for run logs % mkdir /usr/local/report/sawmill_logs
This section details how to download the software package from the Sawmill web site.
This section details the web server mode installation where Sawmill runs on its own standalone web server.
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
Create a symbolic link to the current installation:
% ln -s /home/pds/sawmill8.6.3.1 /usr/local/report/sawmill
Run install-sawmill to remove the Sawmill default configurations and checkout the PDS Engineering-specific configurations from the repository.
% # Usage: install-sawmill <new-LogAnalysisInfo> % # - <new-LogAnalysisInfo> - the LogAnalysisInfo directory within the new installation % % ./install-sawmill /usr/local/report/sawmill/LogAnalysisInfo
% 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: This command works in Bash shell. Modify accordingly for other shells.
ProxyPass / http://localhost.jpl.nasa.gov:8988/ ProxyPassReverse / http://localhost.jpl.nasa.gov:8988/ ProxyPass /picts/ http://localhost.jpl.nasa.gov:8988/picts/ ProxyPassReverse /picts/ http://localhost.jpl.nasa.gov:8988/picts/
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.