使用 Simulation Compute Manager

如果您計畫在精簡型用戶端上使用 Simulation Compute Manager,而且電腦的本端防火牆處於作用中,請開啟此 TCP 連接埠,才能成功進行連線。

(在以下說明中,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