Oracle® Solaris에서 OpenStack(Kilo) 설치 및 구성

인쇄 보기 종료

업데이트 날짜: 2016년 6월
 
 

블록 저장소 노드를 구성하는 방법

이 절차에서는 블록 저장소의 일반적인 구성을 설명합니다. 저장소 구성요소 구성을 위한 기타 옵션은 Cinder 구성 및 배치 옵션을 참조하십시오.

  1. NTP 클라이언트를 구성합니다.

    NTP 클라이언트 구성을 참조하십시오.

  2. /etc/cinder/cinder.conf 파일에서 매개변수를 설정하거나 주석 처리를 해제하여 Cinder를 구성합니다.
    [DEFAULT]
    san_is_local=true
    volume_driver=cinder.volume.drivers.solaris.zfs.ZFSISCSIDriver
    my_ip=$VOLUME_IP
    glance_host=$CONTROLLER_ADMIN_NODE
    zfs_volume_base=cinder/cinder
    
    [database]
    connection = mysql://cinder:service-password@$CONTROLLER_ADMIN_NODE/cinder
    
    [keystone_authtoken]
    auth_uri = http://$CONTROLLER_ADMIN_NODE:5000/v2.0
    identity_uri = http://$CONTROLLER_ADMIN_NODE:35357
    admin_user = cinder
    admin_password = service-password
    admin_tenant_name = service
    
    [oslo_messaging_rabbit]
    rabbit_host=$CONTROLLER_ADMIN_NODE
    
  3. /etc/cinder/api-paste.ini 파일에서 매개변수를 설정합니다.
    [filter:authtoken]
    admin_tenant_name = service
    admin_user = cinder
    admin_password = service-password
    
  4. Cinder 서비스를 시작합니다..
    storage# svcadm enable -rs cinder-db cinder-volume:default cinder-volume:setup
    storage# svcadm enable -rs iscsi/target