Verify operation¶
Verify operation of the Database service.
Note
Perform these commands on the node where you installed trove.
Source the
admintenant credentials:$ . admin-openrcCheck the
openstack database instance listcommand should work.$ openstack database instance listAdd a datastore to trove:
Create and upload trove guest image. 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:
$ trove-manage datastore_update mysql "" $ trove-manage datastore_version_update mysql 5.7 mysql $imageid "" 1
Create a database instance.