Openstack Core Service -- Trove
Trove简介:
The Database service provides scalable and reliable cloud provisioning functionality for both relational and non-relational database engines. Users can quickly and easily use database features without the burden of handling complex administrative tasks. Cloud users and database administrators can provision and manage multiple database instances as needed.
Components:
trove-api component
Provides an OpenStack-native RESTful API that supports JSON to provision and manage Trove instances.
trove-conductor service
负责接收各Instance的状态变更消息,并更新到本地,从而实现数据库Instance的监控。
trove-taskmanager service
Instruments the complex system flows that support provisioning instances, managing the lifecycle of instances, and performing operations on instances.
trove-guestagent service
Runs within the guest instance. Manages and performs operations on the database itself.
在Openstack上启用Trove服务有两个要点。一个是要制作Trove的数据库实例运行的vm镜像,因为要把troveguestagent和相关的数据库引擎(比如mysql)打包进镜像,而且需要精简OS。另外,就是要有一个包含Trove服务的Openstack环境。幸好Trove项目有个子项目trove-integration,把这些工作都打包了,方便了开发者使用。
《Building Guest Images for OpenStack Trove》