The Server may be started and detached like any system daemon using the qosserver.init script in the qosserver base directory. It takes one of three arguments:
Starts the Server.
Kills any running Server.
Stops the Server, then starts it again.
The Server logs to the file /var/log/qosserver.
To start the Server, run:
# sh qosserver.init start
For debugging, the Server may be started and left in the foreground. To start the server this way, change into the server's directory then run:
# python qos_server.py /usr/local/qos/qosserver
Replace /usr/local/qos/qosserver/ with the path to the Server's installation directory.
The qosagent.init script controls the operation of the Agent. This script works like any standard boot-time rc script. It takes one of three arguments:
Starts the Agent and backgrounds once the initial connection to the server succeeds.
Kills any running Agent.
Stops the Agent, then starts it again.
The Agent logs to /var/log/qosagent which tracks Agent activity and logs any Agent exceptions.