To install an SCM update on a Linux thin client
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 SimulationComputeIf any process IDs are returned, stop any existing Simulation Compute Manager instances by typing
curl localhost:43500/terminateor
curl <hostname>:43500/terminateNote: Allow sufficient time for the processes to exit cleanly. Notice that it returns the terminated process id.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-harnessNavigate to your install directory, for example software/autodesk/opt/Autodesk/simulation-compute2/bin/, by typing
cd <your install location>Note: Your install location may be different.Check the contents of the directory to confirm that it contains the ComputeProvisioner.config.json file by typing
lsReturn 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
lsUnzip 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
lsConfirm the version of SCM by typing
cat version.jsonStart the Simulation Compute Manager by typing:
sudo ./SimulationCompute --daemonConfirm that the SCM is running by typing
ps -ef | grep Simulation
