이미지 서비스 측정 활성화하기

이미지 서비스 측정 활성화하기

Telemetry를 이용하여 이미지 서비스 사용량을 측정하고 모아 보여줍니다. Controller 노드에서 다음 단계를 수행합니다.

Telemetry를 사용하는 이미지 서비스 구성

  • /etc/glance/glance-api.conf/etc/glance/glance-registry.conf 파일을 편집하여 다음 작업을 완료합니다:

    • [DEFAULT][oslo_messaging_rabbit] 섹션에서 notification와 RabbitMQ 메시지 브로커 접근를 구성합니다:

      [DEFAULT]
      ...
      notification_driver = messagingv2
      rpc_backend = rabbit
      
      [oslo_messaging_rabbit]
      ...
      rabbit_host = controller
      rabbit_userid = openstack
      rabbit_password = RABBIT_PASS
      

      RABBIT_PASSRabbitMQ 에서 openstack 계정에 대해 선택한 암호로 변경합니다.

설치 마무리

  • 이미지 서비스를 재시작합니다:

    # service glance-registry restart
    # service glance-api restart
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

Search