trove/doc/source/install/verify.rst
Lingxian Kong dc0bfe1d39 Improve the doc
Change-Id: I41bf34cd482dcf880cd66c8bd123898f77c10056
2020-03-20 09:50:01 +13:00

42 lines
1.1 KiB
ReStructuredText

.. _trove-verify:
Verify operation
~~~~~~~~~~~~~~~~
Verify operation of the Database service.
.. note::
Perform these commands on the node where you installed trove.
#. Source the ``admin`` tenant credentials:
.. code-block:: console
$ . admin-openrc
#. Check the ``openstack database instance list`` command should work.
.. code-block:: console
$ openstack database instance list
#. Add a datastore to trove:
* `Create and upload trove guest image <https://docs.openstack.org/trove/latest/admin/building_guest_images.html>`_.
Create an image for the type of database you want to use, for example,
MySQL, MariaDB, etc.
* Create a datastore. You need to create a separate datastore for
each type of database you want to use, for example, MySQL, MongoDB,
Cassandra. This example shows you how to create a datastore for a
MySQL database:
.. code-block:: console
$ trove-manage datastore_update mysql ""
$ trove-manage datastore_version_update mysql 5.7 mysql $imageid "" 1
#. Create a database `instance
<http://docs.openstack.org/user-guide/create_db.html>`_.