更新
VMware Aria Automation
的 DNS 指派

管理員可以更新
VMware Aria Automation
的 DNS 指派。
  1. 透過使用 SSH 或 VMRC 登入任何
    VMware Aria Automation
    應用裝置的主控台。
  2. 執行下列命令。
    vracli network dns set --servers DNS1,DNS2
  3. 使用
    vracli network dns status
    命令確認新 DNS 伺服器已正確套用至所有
    VMware Aria Automation
    節點。
  4. 執行下列命令集,以關閉所有叢集節點上的
    VMware Aria Automation
    服務。
    如需有關關閉
    VMware Aria Automation
    的相關資訊,請參閱啟動和停止 VMware Aria Automation
    /opt/scripts/svc-stop.sh sleep 120 /opt/scripts/deploy.sh --onlyClean
  5. 重新啟動
    VMware Aria Automation
    節點,並等待其完全啟動。
    如需重新啟動
    VMware Aria Automation
    的相關資訊,請參閱啟動和停止 VMware Aria Automation
  6. 使用 SSH 登入每個
    VMware Aria Automation
    節點,並確認是否在
    /etc/resolv.conf
    中列出了新的 DNS 伺服器。
  7. 在其中一個
    VMware Aria Automation
    節點上,執行下列命令以啟動
    VMware Aria Automation
    服務:
    /opt/scripts/deploy.sh
VMware Aria Automation
DNS 設定將按指定的方式進行變更。