To start and stop the Job Manager via the command line

Users on Linux machines can control certain job manager features from the command line.

The Job Manager determines whether you have a Thinclient or Workstation version installed, automatically, and sets the environment variables accordingly, before executing the requested solver.

The configuration files for the two versions are found here:

Workstation: /etc/opt/Autodesk/ami{YYYY}-{RR}

Thinclient: $INSTALLATION/mfclient.env

These two files contain a number of value=variable settings that you should only alter if you are an experienced administrator.

Storage Folder

The default storage location for database files and temporary files is:

  • Workstation - /var/opt/Autodesk/dssp
  • Thinclient - /var/tmp/sjmTemp-<username>/

Change this location by setting the environment variable, UJM_JOB_SERVER_STORAGE_PATH, to a different location before starting the job manager. We recommend that you set a minimum mode of 0755 on any folder used for this purpose.

Workstation

To call the control script via the command line, type:

/etc/init.d/dssp_jobserver {option}

where {option} is one of the following:

Option Effect
start

Starts the Job Manager

stop

Stops the Job Manager

status

Queries whether or not the Job Manager is running

restart

Stops, then restarts the Job Manager. This command is useful when you need to force a reread of the configuration files.

By default, the Job Manager is configured to start automatically, for run levels 2, 3, 4 and 5. When the machine is restarted, the Job Manager also restarts, automatically.

Thinclient

The Thinclient job manager is installed in a child directory of the chosen installation directory ($INSTALLATION ).

To start the Job Manager, type:

$INSTALLATION /autodesk-dssp-20YY-thinclient-XXX/bin/dssp_jobserver

Tip: By default, the Job Manager (dssp_jobserver) runs as a daemon; it forks its process into the background and returns to your shell immediately.

To stop the Job Manager when running as a background process, type either

killall dssp_jobserver, or

kill -9 'pidof dssp_jobserver' and then kill -9 'pidof fs-harness' to terminate it immediately.

To stop the Job Manager from forking into the background, type on the command line:

$INSTALLATION /autodesk-dssp-20YY-thinclient-XXX/bin/dssp_jobserver run

Tip: When running in this fashion use Ctrl-C on the command line to kill the Job Manager.