openstack-manuals/doc/install-guide/section_trove-verify.xml
Christian Berendt ba64b6b0e7 Standardize usage of client arguments (install-guide)
Like documented at https://wiki.openstack.org/wiki/Documentation/Conventions#Client_arguments:_.22--option_ARGUMENT.22
we prefer to use '--option ARGUMENT'.

Change-Id: Ib1806e86f11b3f2d5fba0035bb4f4094ee8f3d1c
2014-09-09 09:35:53 +02:00

40 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="5.0"
xml:id="trove-verify">
<title>Verify the Database service installation</title>
<para>To verify that the Database service is installed and
configured correctly, try executing a Trove command:</para>
<procedure>
<step>
<para>Source the <filename>demo-openrc.sh</filename> file.</para>
<screen><prompt>$</prompt> <userinput>source ~/demo-openrc.sh</userinput></screen>
</step>
<step>
<para>Retrieve the Trove instances list:</para>
<screen><prompt>$</prompt> <userinput>trove list</userinput></screen>
<para>You should see output similar to this:</para>
<screen><computeroutput>+----+------+-----------+-------------------+--------+-----------+------+
| id | name | datastore | datastore_version | status | flavor_id | size |
+----+------+-----------+-------------------+--------+-----------+------+
+----+------+-----------+-------------------+--------+-----------+------+</computeroutput></screen>
</step>
<step>
<para>
Assuming you have created an image for the type of
database you want, and have updated the datastore to
use that image, you can now create a Trove instance
(database). To do this, use the trove
<command>create</command> command.
</para>
<para>This example shows you how to create a MySQL 5.5
database:</para>
<screen><prompt>$</prompt> <userinput>trove create <replaceable>name</replaceable> 2 --size=2 --databases <replaceable>DBNAME</replaceable> \
--users <replaceable>USER</replaceable>:<replaceable>PASSWORD</replaceable> --datastore_version mysql-5.5 \
--datastore mysql</userinput></screen>
</step>
</procedure>
</section>