Previous
Up
Next
3 Care and maintenance of a SARA server

3 Care and maintenance of a SARA server

This section describes how to install and run the SARA server on a UNIX installation. It does not include information about running the server locally, for example on a standalone MS-DOS machine.

Section 3.1 describes run-time options for the server program. Section 3.2 describes the parameter file used to initialize the server.

3.1 Running the server program

When the server program is executed from the Unix command line the following menu appears:

1. Test mode
2. Run server
3. Add user
4. Remove user
5. List users

On receipt of a number between 1 and 5 from the command line, the server switches to the appropriate mode from the list below:

Only one instance of SARA server can run at any time on any port. There is, however, no harm in starting a second server to perform other functions, for example to change user names or passwords.

3.2 Parameter file corpus.prm

The behaviour of the server is determined by the settings for a number of parameters which are read from the file corpus.prm at start-up time. This file contains a series of lines in the form parameter=value where parameter is one of the parameters described below.

The same parameter file is used by the indexing program used to build the SARA index. This is further documented elsewhere.


Previous
Up
Next