Occasionally you may need to update, or reinstall, the SCM on your Linux thin client when a new version is released.
Prerequisites:
You have extracted the simulation-computeX-thinclient.tgz file.
Steps:
Check that the SimulationCompute processes are terminated by typing
/sbin/pidof SimulationCompute
If any process IDs are returned, stop any existing Simulation Compute Manager instances by typing
curl localhost:43500/terminate
or
curl <hostname>:43500/terminate
If you had to terminate an instance, repeat step 1. to confirm all instances have been terminated and no ids are returned.
Confirm the fs-harness process is terminated by typing
/sbin/pidof fs-harness
Navigate to your install directory, for example software/autodesk/opt/Autodesk/simulation-compute2/bin/, by typing
cd <your install location>
Check the contents of the directory to confirm that it contains the ComputeProvisioner.config.json file by typing
ls
Return to the directory containing your downloaded simulation-computeX-thinclient.tgz file by typing
cd ~
Copy the ComputeProvisioner.config.json file from the install directory, in this example software/autodesk/opt/Autodesk/simulation-compute2/bin/, to the directory with your simulation-computeX-thinclient.tgz file, by typing
cp <your install location>/ComputeProvisioner.config.json .
Confirm the ComputeProvisioner.config.json has been copied to your current directory by typing
ls
Unzip the simulation-computeX-thinclient.tgz file to your install directory, for example software/autodesk/opt/Autodesk/simulation-compute2/bin, by typing
tar xzvf simulation-computeX-thinclient.tgz -d <your install location>
Type A to replace all the files in your install directory with those from the downloaded zip file.
Copy the ComputeProvisioner.config.json file you saved previously back to the install directory from the current directory, for example software/autodesk/opt/Autodesk/simulation-compute2/bin/ by typing
cp ComputeProvisioner.config.json <your install location>
Navigate back to your install directory by typing
cd <your install location>
Confirm that there is a ComputeProvisioner.config.json file in the directory by typing
ls
Confirm the version of SCM by typing
cat version.json
Start the Simulation Compute Manager by typing:
sudo ./SimulationCompute --daemon
Confirm that the SCM is running by typing
ps -ef | grep Simulation