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