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:

  1. Check that the SimulationCompute processes are terminated by typing

    /sbin/pidof SimulationCompute
  2. If any process IDs are returned, stop any existing Simulation Compute Manager instances by typing

    curl localhost:43500/terminate

    or

    curl <hostname>:43500/terminate
    Note: Allow sufficient time for the processes to exit cleanly. Notice that it returns the terminated process id.
  3. If you had to terminate an instance, repeat step 1. to confirm all instances have been terminated and no ids are returned.

  4. Confirm the fs-harness process is terminated by typing

    /sbin/pidof fs-harness
  5. Navigate 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.
  6. Check the contents of the directory to confirm that it contains the ComputeProvisioner.config.json file by typing

    ls
  7. Return to the directory containing your downloaded simulation-computeX-thinclient.tgz file by typing

    cd ~
  8. 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 .
  9. Confirm the ComputeProvisioner.config.json has been copied to your current directory by typing

    ls
  10. 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>
  11. Type A to replace all the files in your install directory with those from the downloaded zip file.

  12. 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>
    
  13. Navigate back to your install directory by typing

    cd <your install location>
  14. Confirm that there is a ComputeProvisioner.config.json file in the directory by typing

    ls
  15. Confirm the version of SCM by typing

    cat version.json
  16. Start the Simulation Compute Manager by typing:

    sudo ./SimulationCompute --daemon
  17. Confirm that the SCM is running by typing

    ps -ef | grep Simulation
Note: The command returns information such as that shown in the animation when it is running.