Oracle® Solaris 11.2에서 OpenStack 설치 및 구성

인쇄 보기 종료

업데이트 날짜: 2015년 4월
 
 

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

  1. 적합한 패키지를 설치합니다.
    storage# pkg install cinder python-mysql mysql-55/client
  2. /etc/cinder/cinder.conf 파일에서 매개변수의 주석 처리를 해제하거나 매개변수를 설정하여 Cinder를 구성합니다.
    [DEFAULT]
    san_is_local=true
    my_ip=storage-IP
    rabbit_host=controller-fqdn
    glance_host=controller-IP
    zfs_volume_base=cinder/cinder
    
    [database]
    connection = mysql://cinder:service-password@controller-fqdn/cinder
    
    [DEFAULT]
    san_is_local=true
    my_ip=$VOLUME_IP
    rabbit_host=$CONTROLLER_ADM_NODE
    glance_host=$CONTROLLER_ADM_NODE
    zfs_volume_base=cinder/cinder
    
    [database]
    connection = mysql://cinder:cinder@$CONTROLLER_ADM_NODE/cinder
    
    [keystone_authtoken]
    auth_uri = http://$CONTROLLER_ADM_NODE:5000/v2.0
    identity_uri = http://$CONTROLLER_ADM_NODE:35357
    admin_user = cinder
    admin_password = service-password
    admin_tenant_name = tenant
    
  3. Cinder 서비스를 시작합니다.
    storage# svcadm enable -rs cinder-db cinder-volume:default cinder-volume:setup
    storage# svcadm enable -rs iscsi/target