15.10. 오버클라우드 생성 중 환경 파일 추가
배포 명령(openstack overcloud deploy)은 -e 옵션을 사용하여 환경 파일을 추가합니다. 이 섹션의 환경 파일을 다음 순서로 추가합니다.
-
SSL/TLS(enable
-tls.yaml)를 활성화하는환경 파일 -
DNS 호스트 이름을 설정할 환경 파일 (
cloudname.yaml) -
루트 인증 기관을 삽입할 환경 파일(
inject-trust-anchor.yaml) 공용 끝점 매핑을 설정하는 환경 파일은 다음과 같습니다.
-
공용 끝점 액세스에 DNS 이름을 사용하는 경우
/usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-dns.yaml을 사용합니다. -
공용 엔드포인트 액세스에 IP 주소를 사용하는 경우
/usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml을 사용합니다.
-
공용 끝점 액세스에 DNS 이름을 사용하는 경우
예를 들면 다음과 같습니다.
openstack overcloud deploy --templates [...] -e /home/stack/templates/enable-tls.yaml -e ~/templates/cloudname.yaml -e ~/templates/inject-trust-anchor.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-dns.yaml
$ openstack overcloud deploy --templates [...] -e /home/stack/templates/enable-tls.yaml -e ~/templates/cloudname.yaml -e ~/templates/inject-trust-anchor.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-dns.yaml