Chapter 15. Running the NetSolve Server

Table of Contents
Starting a Server
The Server Configuration File

Starting a Server

After compiling the server as explained in the section called Installation on Unix Systems in Chapter 13, the executable of the NetSolve server is located in:
$NETSOLVE_ROOT/bin/$NETSOLVE_ARCH/server.
The proper command line for this program is

server [-f config_file] [-l logfile] [-k]

This executable uses a configuration file for initializing the NetSolve server. When invoked with no arguments as:
UNIX> server
the default configuration file located in $NETSOLVE_ROOT/server_config is used. This is the file that should be used for first experiments and for testing the system. However, it is possible to customize or expand the functionality of a server (the section called The Server Configuration File), or to specify another configuration file by calling the executable as in
UNIX> server -f /home/me/my_config
for instance.

The -l option specifies the name of a file to use for logging purposes.
UNIX> server -l /home/me/agent_logfile
This file is where the server logs all of its interactions (and possibly errors) since it is a daemon with no controlling terminal and therefore has no way to do this otherwise. If the -l option is not specified, the default log file is $NETSOLVE_ROOT/nsserver.log. Successive runs of the server with no specification of a log file will overwrite the original log file, so if the information is needed, it must be copied to another file!

NoteNote:
 

Multiple NetSolve servers can be running on a given machine if and only if they have a different NetSolve agent.

When the server has been compiled with the Kerberos libraries, the administrator has the option of having the server require clients to authenticate before rendering services. To mandate this authentication, the -k option must be used, otherwise no authentication will be asked for, and the server will be available to service requests to ANY client asking for services.

To terminate an existing server (or query an existing NetSolve system), the user should refer to the NetSolve management tools as outlined in Chapter 16.