Initializing the Trove database

After the configuration changes have been made, we will initialize the Trove database by executing the commands.

trove-manage db_sync
trove-manage datastore_upgrade mysql

This pushes the schema to the Trove database that was created during the installation phase. If we were to log in to the MySQL database that we created for Trove and take a look at it, we will now see that the tables are populated as shown in the following screenshot:

Initializing the Trove database

Restarting the services

Once the configuration has been completed, we need to restart all the services.

sudo service trove-api restart
sudo service trove-taskmanager restart
sudo service trove-conductor restart

This method will add the Trove project to an existing production installation running on the Ubuntu OpenStack distribution.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset