a2d662d600
The XML root element of Docbook XML files should match the following format: <ELEMENT 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="THE_XML_ID_OF_THE_ELEMENT"> Change-Id: I1e0804e2c5021bd78b77483f3156c5b069453555
40 lines
2.0 KiB
XML
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>
|