Putting it all together

Now that you have understood the architecture and terminologies, we will take a look at the general steps that are followed:

  1. Horizon/Trove CLI requests a new database instance and passes the datastore name and version, along with the flavor ID and volume size as mandatory parameters. Optional parameters such as the configuration group, AZ, replica-of, and so on can also be passed.
  2. The Trove API requests Nova for an instance with the particular image and a Cinder volume of a specific size to be added to the instance.
  3. The Nova instance boots and follows these steps:
    1. The cloud-init scripts are run (like all other Nova instances).
    2. The configuration files (for example, trove-guestagent.conf) are copied down to the instance.
    3. The guest ...

Get OpenStack Trove Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.