4.6. director 설치
다음 단계에 따라 director를 설치하고 몇 가지 기본적인 설치 후 작업을 수행합니다.
절차
다음 명령을 실행하여 언더클라우드에 director를 설치합니다.
[stack@director ~]$ openstack undercloud install이 명령은 director 설정 스크립트를 실행합니다. director는 추가 패키지를 설치하고,
undercloud.conf의 설정에 따라 서비스를 구성하고, 모든 RHOSP 서비스 컨테이너를 시작합니다. 이 스크립트를 완료하는 데 몇 분이 걸립니다.이 스크립트는 다음 두 개의 파일을 생성합니다.
-
/home/stack/tripleo-deploy/undercloud/tripleo-undercloud-passwords.yaml- director 서비스에 대한 모든 암호 목록입니다. -
/home/stack/stackrc- director 명령줄 툴에 액세스할 수 있도록 지원하는 초기화 변수 세트입니다.
-
RHOSP 서비스 컨테이너가 실행 중인지 확인합니다.
[stack@director ~]$ sudo podman ps -a --format "{{.Names}} {{.Status}}"다음 명령 출력은 RHOSP 서비스 컨테이너가 실행 중임을 나타냅니다(
최대).memcached Up 3 hours (healthy) haproxy Up 3 hours rabbitmq Up 3 hours (healthy) mysql Up 3 hours (healthy) iscsid Up 3 hours (healthy) keystone Up 3 hours (healthy) keystone_cron Up 3 hours (healthy) neutron_api Up 3 hours (healthy) logrotate_crond Up 3 hours (healthy) neutron_dhcp Up 3 hours (healthy) neutron_l3_agent Up 3 hours (healthy) neutron_ovs_agent Up 3 hours (healthy) ironic_api Up 3 hours (healthy) ironic_conductor Up 3 hours (healthy) ironic_neutron_agent Up 3 hours (healthy) ironic_pxe_tftp Up 3 hours (healthy) ironic_pxe_http Up 3 hours (unhealthy) ironic_inspector Up 3 hours (healthy) ironic_inspector_dnsmasq Up 3 hours (healthy) neutron-dnsmasq-qdhcp-30d628e6-45e6-499d-8003-28c0bc066487 Up 3 hours ...stack사용자를 초기화하여 명령줄 툴을 사용하려면 다음 명령을 실행합니다.[stack@director ~]$ source ~/stackrcOpenStack 명령이 언더클라우드에 대해 인증되어 실행됨을 나타내는 프롬프트 메시지가 표시됩니다.
(undercloud) [stack@director ~]$
director 설치가 완료되었습니다. 이제 director 명령행 툴을 사용할 수 있습니다.