다음 절차는 부트스트랩 노드에서 제어부 플랫폼에 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
이 페이지가 도움이 되었나요?