下列程序會從啟動程序節點將 Omnissa Access 部署至控制平面平台,並讓您驗證平台服務的健全狀況。
操作程序:
-
執行下列命令以部署平台服務:
cd /root/<cluster_name> nohup wso cp deploy & # Output [1] 2471 nohup: ignoring input and appending output to 'nohup.out'部署時間:30 分鐘至 1 小時
-
在另一個終端機中建立 SSH 連線,然後執行下列命令以監控記錄:
tail -f nohup.out tail -f cp-cluster/control_plane.log**結果:**控制平面部署完成後,會顯示成功訊息。例如:
New Folder Hash: 02fb78a6be6f545e48e98d382d6a6461ff776d9cc7a0bfdfc4db23d865378a21 -
部署完成後,執行下列命令以驗證平台服務的健全狀況:
wso healthcheck # Output Checking Vault ....done Checking Consul .done Checking Nomad ..done Checking Services .done Platform Vault All server nodes up and running Consul Server All server nodes up and running Consul Client All client nodes up and running Nomad Server All server nodes up and running Nomad Client All client nodes up and running Services All services healthy
結果:
預期結果如下:
- Vault 狀況良好
- Consul 狀況良好
- Nomad 狀況良好
後續步驟:
在此階段,只有平台服務正在執行。
您可以執行下列命令來存取已部署於控制平面叢集中的元件 (Nomad、Vault 和 Consul),然後使用對應的位址進行存取,並使用權杖進行驗證:
cat /root/<cluster_name>/cp-cluster/cp-cluster.env
# Output
# cluster
CLUSTER_NAME=cp-cluster
DATACENTER_NAME=cp-cluster-dc
NOMAD_ADDRESS=https://10.0.0.X:4646
CONSUL_ADDRESS=https://10.0.0.X:8501
VAULT_ADDRESS=https://10.0.0.X:8202
CONSUL_HTTP_PORT=8500
NOMAD_TOKEN=xxxxxxx-xxx-6xxb7e-xxxx-xxxxx
CONSUL_TOKEN=xxxxxxx-xxx-6xxb7e-xxxx-xxxxx
VAULT_TOKEN=xxxxxxx-xxx-6xxb7e-xxxx-xxxxx
此頁面對您有幫助嗎?