6.6. Launch the Block Storage Services
To bring up the Block Storage functionality at least one instance of each of the three services must be started:
- The API service (
openstack-cinder-api). - The scheduler service (
openstack-cinder-scheduler). - The volume service (
openstack-cinder-volume).
The services do not need to be located on the same system, but must be configured to communicate using the same message broker and database instance. Once the services are running, the API will accept incoming volume requests, the scheduler will assign them as appropriate, and the volume service will action them.
Procedure 6.11. Launching Block Storage Services
Starting the API Service
Log in to each server that you intend to run the API on as therootuser and start the API service.- Use the
servicecommand to start the API service (openstack-cinder-api).#service openstack-cinder-api start - Use the
chkconfigcommand to enable the API service permanently (openstack-cinder-api).#chkconfig openstack-cinder-api on
Starting the Scheduler Service
Log in to each server that you intend to run the scheduler on as therootuser and start the scheduler service.- Use the
servicecommand to start the scheduler (openstack-cinder-scheduler).#service openstack-cinder-scheduler start - Use the
chkconfigcommand to enable the scheduler permanently (openstack-cinder-scheduler).#chkconfig openstack-cinder-scheduler on
Starting the Volume Service
Log in to each server that Block Storage has been attached to as therootuser and start the volume service.- Use the
servicecommand to start the volume service (openstack-cinder-volume).#service openstack-cinder-volume start - Use the
servicecommand to start the The SCSI target daemon (tgtd).#service tgtd start - Use the
chkconfigcommand to enable the volume service permanently (openstack-cinder-volume).#chkconfig openstack-cinder-volume on - Use the
chkconfigcommand to enable the SCSI target daemon permanently (tgtd).#chkconfig tgtd on
The volume service is running and ready to begin allocating volumes as they are requested.