We can use any method that we are comfortable with to create the Trove guest image. We need to just bear in mind some simple points:
Cinder volumes will be added to the instance
The partitioning of the new volume is also handled by Trove
The database mount points are moved to the Cinder volume
The software should be installed on the root volume
cloud-init is used to copy the guest_info
file and guest agent configuration file. More often than not, it has problems with replacing files, so avoid keeping similar-named files in the destination.
The next decision that we have to take is between smaller initial boot time and a large number of images or a longer boot time with fewer images in the repository.
In order to explain the preceding, consider the following example of having to support two different data stores (MySQL and MongoDB).
On the images, we need to install the databases themselves. If we pre-install these, the boot times will be less as the guest agent can...