InstallationThis section describes how to install the Sawmill software package. This package serves as the majority of the Report Service for the PDS 2010 system. The following topics can be found in this section: System RequirementsThe software that makes up this project consists of a commercial package that is available for download and installation. The current version of the Sawmill package is 8.1.7. If installing the package in Web Server Mode, there are no further system requirements. If installing the package in CGI Mode, the following software is required to be installed on the host machine:
Software InstallationThis section details the download and installation of the Sawmill software package. At this time, the CGI Mode installation is preferred but if we procure a dedicated machine for this service in the future the Web Server Mode installation will be the best approach. Download SoftwareThis section details how to download the software package from the Sawmill web site.
CGI Mode InstallationThis section details the CGI mode installation. In CGI mode, Sawmill runs as a CGI program under another web server. The instructions that follow specify this installation for an Apache Tomcat application server.
Note: These XML blocks are already included in the default Tomcat web.xml and only need to be uncommented. If so, be sure to add the executable parameter in the Servlet Definition): <!-- ================== Built In Servlet Definitions ==================== --> <servlet> <servlet-name>cgi</servlet-name> <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>cgiPathPrefix</param-name> <param-value>WEB-INF/cgi</param-value> </init-param> <init-param> <param-name>executable</param-name> <param-value></param-value> </init-param> <load-on-startup>5</load-on-startup> </servlet> <!-- ================ Built In Servlet Mappings ========================= --> <servlet-mapping> <servlet-name>cgi</servlet-name> <url-pattern>/cgi-bin/*</url-pattern> </servlet-mapping> <Context privileged="true"> . . . </Context> % mkdir $CATALINA_HOME/webapps/ROOT/WEB-INF/cgi % cp (installation-directory)/sawmill (cgi-bin)/sawmill.cgi % cp -r (installation-directory)/LogAnalysisInfo (cgi-bin) Web Server Mode InstallationThis section details the web server mode installation. In web server mode, Sawmill runs its own web server, and serves statistics using it.
|