次の手順では、ブートストラップ ノードから Control Plane プラットフォームに 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 は健全
次のステップ:
この段階では、プラットフォーム サービスのみが実行されています。
次のコマンドを実行し、アクセスに対応するアドレスと認証トークンを使用して、Control Plane で展開されたクラスタ コンポーネント(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
このページは役に立ちましたか?