컨트롤러 노드 설치와 설정

컨트롤러 노드 설치와 설정

이 섹션에서는 코드네임 cinder라 불리는 블록 스토리지 서비스를 컨트롤러 노드에 설치하고 설정하는 방법을 설명합니다. 이 서비스는 볼륨을 인스턴스에 재공할 최소한 한대의 추가 노드를 요구합니다.

구성요소 설치 및 구성

  1. 패키지를 설치하십시오:

    # apt-get install cinder-api cinder-scheduler
    

    debconf 프롬프트에 응답합니다.

  1. /etc/cinder/cinder.conf 파일을 편집하여 다음 작업을 완료합니다:

    • [DEFAULT] 섹션에서, 컨트롤러 노드의 관리 인터페이스 IP 주소를 사용하기 위해 my_ip 옵션을 구성합니다:

      [DEFAULT]
      ...
      my_ip = 10.0.0.11
      

Compute에서 블록 스토리지 사용 구성

  • /etc/nova/nova.conf 파일을 수정하여 다음을 추가합니다:

    [cinder]
    os_region_name = RegionOne
    

설치 마무리

  1. Compute API 서비스를 재시작합니다:

    # service nova-api restart
    
  2. 블록 스토리지 서비스를 재시작합니다:

    # service cinder-scheduler restart
    # service cinder-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.