6.6. rhsm 구성 가능 서비스로 전환
Overcloud 등록을 처리하는 bash 스크립트를 실행하는 rhel-registration
메서드입니다. 이 메서드의 스크립트 및 환경 파일은 /usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/
의 코어 Heat 템플릿 컬렉션에 있습니다.
다음 절차에서는 rhel-registration
방법에서 구성 가능
서비스로 전환하는 방법을 설명합니다.
절차
rhel-registration
환경 파일을 향후 배포 작업에서 제외합니다. 대부분의 경우 다음과 같은 파일이 됩니다.-
rhel-registration/environment-rhel-registration.yaml
-
rhel-registration/rhel-registration-resource-registry.yaml
-
-
향후 배포 작업에 환경 파일 for
rhsm
composable 서비스 매개변수를 추가합니다.
이 메서드는 rhel-registration
매개변수를 rhsm
서비스 매개변수로 교체하고 다음과 같이 서비스를 활성화하는 Heat 리소스를 변경합니다.
resource_registry: OS::TripleO::NodeExtraConfig: rhel-registration.yaml
다음으로 변경합니다.
resource_registry: OS::TripleO::Services::Rhsm: /usr/share/openstack-tripleo-heat-templates/extraconfig/services/rhsm.yaml
rhel-registration
메서드에서 rhsm
메서드로 세부 정보를 전환하는 데 도움이 되도록 다음 표를 사용하여 매개변수 및 해당 값을 매핑합니다.