diff --git a/doc/install-guide/section_cinder-controller.xml b/doc/install-guide/section_cinder-controller.xml
index 9e3745668e..9308932ebb 100644
--- a/doc/install-guide/section_cinder-controller.xml
+++ b/doc/install-guide/section_cinder-controller.xml
@@ -35,29 +35,13 @@
- The Block Storage Service stores volume information in a database.
+
+ The Block Storage Service stores volume information in a database.
The examples in this section use the same MySQL database that is used by other OpenStack services.
-
-To create the Block Storage Service database and tables and a cinder database user, run the openstack-db command.
+ Configure the Block Storage Service to use the database.
Replace
CINDER_DBPASS with a
password of your choosing.
- # openstack-db --init --service cinder --password CINDER_DBPASS
-
-
- The Block Storage Service stores volume information in a database.
- The examples in this section use the same MySQL database that is used by other OpenStack services.
- Using the password that you set in the previous example, log in as root to create a cinder database.
- # mysql -u root -p
-mysql> CREATE DATABASE cinder;
-mysql> GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'localhost' \
-IDENTIFIED BY 'CINDER_DBPASS';
-mysql> GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'%' \
-IDENTIFIED BY 'CINDER_DBPASS';
-
-
-
- Configure the Block Storage Service to use the created database.
# openstack-config --set /etc/cinder/cinder.conf \
database connection mysql://cinder:CINDER_DBPASS@controller/cinder
Edit /etc/cinder/cinder.conf
@@ -69,7 +53,25 @@ IDENTIFIED BY 'CINDER_DBPASS';
connection = mysql://cinder:CINDER_DBPASS@localhost/cinder
...
-
+
+
+
+
+ To create the Block Storage Service database and tables and a
+ cinder database user, run the
+ openstack-db command.
+
+ # openstack-db --init --service cinder --password CINDER_DBPASS
+
+
+ Using the password that you set in the previous example, log in as root to create a cinder database.
+ # mysql -u root -p
+mysql> CREATE DATABASE cinder;
+mysql> GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'localhost' \
+IDENTIFIED BY 'CINDER_DBPASS';
+mysql> GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'%' \
+IDENTIFIED BY 'CINDER_DBPASS';
+
Create the database tables for the Block Storage Service.