summaryrefslogtreecommitdiffhomepage
path: root/doc/source
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2012-05-01 13:57:40 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-05-07 15:57:25 +0900
commit3cf1b23b0e58d55d817dca0d7b80a470cc3759e3 (patch)
tree88432b186744a96faebd59a8a5d7c7c890ca39ca /doc/source
parentfc02e997a69f6b697e6ce0bc9188867dc5260025 (diff)
doc/source/step_by_step.rst: add item to setup quantum db
The step to create quantum db was missing. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/step_by_step.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/source/step_by_step.rst b/doc/source/step_by_step.rst
index 9e85fb3d..3305cc9a 100644
--- a/doc/source/step_by_step.rst
+++ b/doc/source/step_by_step.rst
@@ -61,6 +61,27 @@ The more openstack way is possible, though.
$ sudo nova-manage db sync
+#. setup quantum data base
+
+ Use mysql command to connect mysql server::
+
+ $ mysql -u <admin user name> -p
+
+ Then create the quantum db and allow the agents to access it::
+
+ mysql> CREATE DATABASE ovs_quantum;
+ mysql> GRANT USAGE ON *.* to <user name>@'yourremotehost' IDENTIFIED BY 'newpassword';
+ mysql> FLUSH PRIVILEGES;
+
+ Where the database name, ovs_quantum, the user name, <user name>, and
+ its password, newpassword, are the one defined in the ryu plugin
+ configuration file, ryu.ini.
+
+ If you are using multiple compute nodes, the GRANT sentence needs to
+ be repeated. Or wildcard, %, can be used like::
+
+ mysql> GRANT USAGE ON *.* to <user name>@'%' IDENTIFIED BY 'newpassword';
+
#. Make sure all nova, quantum, ryu and other openstack components are
installed and running