To start and stop the Compute Manager via the command line
Users on Linux machines can control certain Compute Manager features from the command line.
The Compute 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
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 Compute 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 Compute Manager |
stop | Stops the Compute Manager |
status | Queries whether or not the Compute Manager is running |
restart | Stops, then restarts the Compute Manager. This command is useful when you need to force a reread of the configuration files. |
By default, the Compute Manager is configured to start automatically, for run levels 2, 3, 4 and 5. When the machine is restarted, the Compute Manager also restarts, automatically.
Thinclient
The Thinclient Compute Manager is installed in a child directory of the chosen installation directory ($INSTALLATION)
.
To start the Compute Manager, type:
$INSTALLATION
/autodesk-dssp-20YY-thinclient-XXX/bin/dssp_jobserver
To stop the Compute 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 Compute Manager from forking into the background, type on the command line:
$INSTALLATION
/autodesk-dssp-20YY-thinclient-XXX/bin/dssp_jobserver
run