더북(TheBook)

14. 설치가 완료되면 /etc/cinder/cinder.conf 파일을 열어 다음과 같이 환경설정을 합니다. 오픈스택 공식 매뉴얼을 참고해 데이터베이스 정보, 메시지 Queue 정보, Keystone 인증 정보, IP 정보를 설정합니다. 이때 my_ip에는 컨트롤러 노드의 관리용 IP를 입력합니다.

root@controller:~# vi /etc/cinder/cinder.conf
[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes

rpc_backend = rabbit my_ip = 192.168.56.101

[database] connection = mysql+pymysql://cinder:cinderdbpass@192.168.56.101/cinder

[oslo_messaging_rabbit] rabbit_host = 192.168.56.101 rabbit_userid = openstack rabbit_password = rabbitpass

[keystone_authtoken] auth_uri = http://192.168.56.101:5000 auth_url = http://192.168.56.101:35357 memcached_servers = 192.168.56.101:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = cinder password = cinderpass

[oslo_concurrency] lock_path = /var/lib/cinder/tmp

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.