2. 설치가 완료되면 /etc/manila/manila.conf 파일을 열어 다음과 같이 환경설정을 합니다. 컨트롤러 노드와 마찬가지로 데이터베이스 접속 정보, Keystone 인증 정보, 메시지 Queue 접속 정보를 설정합니다. 오픈스택 공식 매뉴얼을 참고해 설정합니다.
root@compute:~# vi /etc/manila/manila.conf [DEFAULT] rpc_backend = rabbit default_share_type = default_share_type rootwrap_config = /etc/manila/rootwrap.conf auth_strategy = keystone my_ip = 192.168.56.102 … [database] connection = mysql+pymysql://manila:maniladbpass@192.168.56.101/manila …
[keystone_authtoken] memcached_servers = 192.168.56.101:11211 auth_uri = http://192.168.56.101:5000 auth_url = http://192.168.56.101:35357 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = manila password = manilapass
[oslo_concurrency] lock_path = /var/lib/manila/tmp
[oslo_messaging_rabbit] rabbit_host = controller rabbit_userid = openstack rabbit_password = rabbitpass