使用 Simulation Compute Manager 的步骤

在以下说明的 simulation-computeX 中,X 应替换为 SCM 主版本

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

以下过程将更新 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
  6. 使用以下命令启动 Simulation Compute Manager:

    $INSTALL_ROOT/opt/Autodesk/simulation-computeX/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
  7. 使用以下命令启动 Simulation Compute Manager:

    $INSTALL_ROOT/opt/Autodesk/simulation-computeX/bin/SimulationCompute

现有安装作为工作站

从计算机中删除任何现有的 Moldflow Insight 或 Simulation Compute Manager 安装,然后删除或移除 /var/opt/Autodesk/SimulationCompute/vX/config。要卸载、删除或移除此文件,您需要有根访问权限。