공유 파일 시스템 옵션 2: 공유 서버 관리에 대한 드라이버 지원

공유 파일 시스템 옵션 2: 공유 서버 관리에 대한 드라이버 지원

For simplicity, this configuration references the same storage node configuration for the Block Storage service.

주석

이 가이드는 드라이버 공유 서버 모드 (DHSS)를 활성화한 상태에서 generic 드라이버를 사용하기 위해 공유 파일 시스템 서비스를 구성하는 법을 설명합니다. 해당 모드에서는 공유 서버 관리를 위해 Compute (nova), 네트워킹 (neutron) 및 블록 스토리지 (cinder) 서비스를 필요로 합니다. 공유 서버를 생성하기 위해 사용하는 정보는 공유 네트워크로 구성됩니다. DHSS 활성화한 상태에서의 제네릭 드라이버는 공용 라우터에 연결하기 위해 네트워크를 또한 필요로 합니다.

선행조건

계속 진행하기 전에, Compute, 네트워킹 및 블록 스토리지 서비스에 대한 동작을 검증합니다. 해당 옵션은 네트워킹 옵션 2에 대한 구현을 필요로 하며 스토리지 노드에서 몇몇 네트워킹 서비스 구성요소에 대한 설치를 필요로 합니다.

  • 네트워킹 서비스 구성요소를 설치합니다:

    # yum install openstack-neutron openstack-neutron-linuxbridge ebtables
    

구성요소 구성

주석

디폴트 구성 파일을 배포판에 따라 달라집니다. 기존 섹션 및 옵션을 변경하는 것 보다는 해당 섹션과 옵션을 추가해야 할 수도 있습니다. 또한 구성 내용 조각 중 생략 (...) 부분은 유지될 필요성이 있는 디폴트 구성 옵션을 가리킵니다.

  1. /etc/manila/manila.conf 파일을 수정하고 다음 작업을 진행합니다:

    • [DEFAULT] 섹션에, 제네릭 드라이버 및 NFS/CIFS 프로토콜을 활성화합니다:

      [DEFAULT]
      ...
      enabled_share_backends = generic
      enabled_share_protocols = NFS,CIFS
      

      주석

      백엔드 이름은 가상으로 되어 있습니다. 하나의 예로, 본 가이드에서는 드라이버의 이름을 사용합니다.

    • [neutron], [nova], 그리고 [cinder] 섹션에, 해당 서비스를 위한 인증을 활성화합니다:

      [neutron]
      ...
      url = http://controller:9696
      auth_uri = http://controller:5000
      auth_url = http://controller:35357
      memcached_servers = controller:11211
      auth_type = password
      project_domain_name = default
      user_domain_name = default
      region_name = RegionOne
      project_name = service
      username = neutron
      password = NEUTRON_PASS
      
      [nova]
      ...
      auth_uri = http://controller:5000
      auth_url = http://controller:35357
      memcached_servers = controller:11211
      auth_type = password
      project_domain_name = default
      user_domain_name = default
      region_name = RegionOne
      project_name = service
      username = nova
      password = NOVA_PASS
      
      [cinder]
      ...
      auth_uri = http://controller:5000
      auth_url = http://controller:35357
      memcached_servers = controller:11211
      auth_type = password
      project_domain_name = default
      user_domain_name = default
      region_name = RegionOne
      project_name = service
      username = cinder
      password = CINDER_PASS
      
    • [generic] 섹션에서, 제네릭 드라이버를 구성합니다:

      [generic]
      share_backend_name = GENERIC
      share_driver = manila.share.drivers.generic.GenericShareDriver
      driver_handles_share_servers = True
      service_instance_flavor_id = 100
      service_image_name = manila-service-image
      service_instance_user = manila
      service_instance_password = manila
      interface_driver = manila.network.linux.interface.BridgeInterfaceDriver
      

      주석

      서비스 인스턴스 credential을 위해 패스워드 인증방식 대신 SSH 키 또한 사용할 수 있습니다.

Finalize installation 으로 돌아갑니다.

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.