From 3cf1b23b0e58d55d817dca0d7b80a470cc3759e3 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Tue, 1 May 2012 13:57:40 +0900 Subject: [PATCH] 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 Signed-off-by: FUJITA Tomonori --- doc/source/step_by_step.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 -p + + Then create the quantum db and allow the agents to access it:: + + mysql> CREATE DATABASE ovs_quantum; + mysql> GRANT USAGE ON *.* to @'yourremotehost' IDENTIFIED BY 'newpassword'; + mysql> FLUSH PRIVILEGES; + + Where the database name, ovs_quantum, the 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 @'%' IDENTIFIED BY 'newpassword'; + #. Make sure all nova, quantum, ryu and other openstack components are installed and running