Ask Your Question
0

openstack trove instances

asked 2016-04-21 08:42:45 -0500

bardhi232 gravatar image

updated 2016-04-21 08:43:14 -0500

Hello I am experimenting with the new release Mitaka and i want to try DbaaS. I can get the service installed and working, but i am having a hard time creating the DbaaS instances with dib. In the official documentation it says that the tool works but i could not get it to work in any way. Could someone please help me on how to create a trove instance? Thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-06-02 04:01:31 -0500

Lili Zhang gravatar image

I guess your problem is not about creating Trove instances but building a Trove guest database image. Once we have Trove guest database image ready for use, we can launch a Trove instance with that.

My experiences tell me that it may be faster to build a customized database guest image manually instead of using dib. A customized database guest image can be a snapshot of a Nova instance which has trove-guestagent and database software package installed and configured on it. With that idea in mind, we can build a customized database guest image and use it with following steps roughly. Note that there are more detailed issues to take care of in the process.

  1. Launch a Nova instance.
  2. Prepare environments of the above Nova instance for trove-guestagent, specifically, appropriate ubuntu repository for OpenStack version you have deployed.
  3. Install and configure trove-guestagent on the above Nova instance.
  4. Install database software package on the above Nova instance.
  5. Shutdown the above Nova instance.
  6. Take a snapshot of the above Nova instance. Note this snapshot is an image on OpenStack. This snapshot is the Trove database guest image.
  7. Create a Trove datastore for your database.
  8. Add the above snapshot as a version of Trove datastore created in Step 7.
  9. Launch a Trove instance with the datastore version created in Step 8.

Do you think the above workflow makes sense? Feel free to let me know if you have any confusion.

Hope this is helpful.

edit flag offensive delete link more

Comments

Thanks Lili Zhang, i want to know how to config The trove-guestagent

yaoshenshen+1 gravatar imageyaoshenshen+1 ( 2016-12-09 21:03:13 -0500 )edit

For the configuration of trove-guestagent and other components, please refer to this post.

Lili Zhang gravatar imageLili Zhang ( 2016-12-16 14:43:29 -0500 )edit

Thanks very much Lili Zhang

yaoshenshen+1 gravatar imageyaoshenshen+1 ( 2016-12-16 19:27:43 -0500 )edit

Hello Lili Zhang,How about send me a sucessful mysql qow2 images,the url http://tarballs.openstack.org/trove/images/ (http://tarballs.openstack.org/trove/i...) is not login and the images mysql is not working. how about send me your useing images for me,my mailbox is 532741480@qq.com,thank you very much

yaoshenshen+1 gravatar imageyaoshenshen+1 ( 2016-12-16 19:55:57 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-04-21 08:42:45 -0500

Seen: 184 times

Last updated: Jun 02 '16