Ubuntu 14.04
Sponsored Link

OpenStack Icehouse : Configure Cinder#2 ( Service Node )2014/05/28

 
Install OpenStack Block Storage (Cinder).
For this example, Install Cinder API Server on Control Node which Keystone/Glance/Nova API are already installed, and Install Cinder-Volume on Block Storage Service Node.
                                      +------------------+
                             10.0.0.35| [ Storage Node ] |
+------------------+            +-----+   Cinder-Volume  |
| [ Control Node ] |            | eth0|                  |
|     Keystone     |10.0.0.30   |     +------------------+
|      Glance      |------------+
|     Nova API     |eth0        |     +------------------+
|    Cinder API    |            | eth0| [ Compute Node ] |
+------------------+            +-----+   Nova Compute   |
                             10.0.0.51|                  |
                                      +------------------+

 
Configure Block Storage Service Node on this section.
[1] Install Cinder Volume.
root@storage:~#
apt-get -y install cinder-volume python-mysqldb
[2] Configure Cinder Volume.
root@storage:~#
vi /etc/cinder/cinder.conf
# add at the last line

osapi_volume_listen = 0.0.0.0
osapi_volume_listen_port = 8776
# specify Glance server

glance_host = 10.0.0.30
glance_port = 9292
# specify iSCSI target (it's just the own IP)

iscsi_ip_address = 10.0.0.35
iscsi_port = 3260
rpc_backend = cinder.openstack.common.rpc.impl_kombu
# specify RabbitMQ server

rabbit_host = 10.0.0.30
rabbit_port = 5672
# RabbitMQ user for auth

rabbit_userid = guest
# RabbitMQ user's password for auth

rabbit_password = password
# auth info for MySQL DB

[database]
connection = mysql://cinder:password@10.0.0.30/cinder
# auth info for Keystone

[keystone_authtoken]
auth_host = 10.0.0.30
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = servicepassword
root@storage:~#
service cinder-volume restart

cinder-volume stop/waiting
cinder-volume start/running, process 3608
# show status

root@storage:~#
cinder-manage service list

Binary           Host           Zone             Status     State Updated At
cinder-scheduler dlp            nova             enabled    :-)   2014-05-28 17:23:45
cinder-volume    storage        nova             enabled    :-)   2014-05-28 17:23:48
Matched Content