使用 Simulation Compute Manager 的步骤

如果您计划在瘦客户端上使用 Simulation Compute Manager,并且计算机的本地防火墙处于活动状态,请打开此 TCP 端口以使连接成功。

更改瘦客户端的临时工作文件路径的步骤

以下过程将更新 Simulation Compute Manager 的临时工作路径的位置。在此示例中,新位置将称为 /tmp/scmWorking

使用上述特性创建新位置。

  1. 使用 curl localhost:43500/terminatecurl <hostname>:43500/terminate 停止任何现有 Simulation Compute Manager 实例。

  2. 留出足够时间以供进程彻底退出。

  3. 确保通过调用 /sbin/pidof SimulationCompute 终止 SimulationCompute 进程。如果返回进程 ID,则使用 kill -9 '<process ID>' 终止所有进程。

  4. 确保通过调用 /sbin/pidof fs-harness 终止 fs-harness 进程。如果返回进程 ID,则使用 kill -9 '<process ID>' 终止该进程

  5. 设置环境变量:

export -x SCM_WORKING=/tmp/scmWorking
  1. 使用以下命令启动 Simulation Compute Manager:
$INSTALL_ROOT/opt/Autodesk/simulation-compute/bin/SimulationCompute

更改瘦客户端的 Simulation Compute Manager 存储路径的步骤

更改 Simulation Compute Manager 存储路径位置的环境变量是 SCM_DATAPATH。必须先设置环境变量,然后再启动 Simulation Compute Manager。在此示例中,新位置将称为 /tmp/newlocation

  1. 使用上述特性创建新位置。

  2. 使用 curl localhost:43500/terminatecurl <hostname>:43500/terminate 停止任何现有 Simulation Compute Manager 实例。

  3. 留出足够时间以供进程彻底退出。

  4. 确保通过调用 /sbin/pidof SimulationCompute 终止 SimulationCompute 进程。如果返回进程 ID,则使用 kill -9 '<process ID>' 终止所有进程。

  5. 确保通过调用 /sbin/pidof fs-harness 终止 fs-harness 进程。如果返回进程 ID,则使用 kill -9 '<process ID>' 终止该进程

  6. 设置环境变量:

export -x SCM_DATAPATH=/tmp/newlocation
  1. 使用以下命令启动 Simulation Compute Manager:
$INSTALL_ROOT/opt/Autodesk/simulation-compute/bin/SimulationCompute