이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 15. Install Database-as-a-Service (Technology Preview)
The OpenStack Database-as-a-Service (trove) allows users to easily provision single-tenant databases, and bypass much of the traditional administrative overhead involved in deploying, using, managing, monitoring, and scaling databases.
Warning
DEPRECATION NOTICE: Beginning in Red Hat OpenStack Platform 10, the OpenStack Trove service will no longer be included in the Red Hat OpenStack Platform distribution. We are working with a trusted partner to provide our customers with a production ready DBaaS service. Please contact your sales account manager to learn more about this option.
Warning
The OpenStack Database-as-a-Service is available in this release as a Technology Preview, and therefore is not fully supported by Red Hat. It should only be used for testing, and should not be deployed in a production environment. For more information about Technology Preview features, see Scope of Coverage Details.
15.1. Database-as-a-Service Requirements
The following steps are requirements for using the Database-as-a-Service:
- Update the admin user's password:
#
keystone user-password-update --pass ADMIN_PASSWORD admin
- Update the
/root/keystonerc_admin
file with the new password:export OS_USERNAME=admin export OS_TENANT_NAME=admin export OS_PASSWORD=ADMIN_PASSWORD export OS_AUTH_URL=http://keystone IP:5000/v2.0/ export PS1='[\u@\h \W(keystone_admin)]\$ '
- Load the environment variables and make sure the
admin
user has theadmin
role in theservices
tenant:#
source keystonerc_admin
~(keystone_admin)]#
keystone user-role-add --user admin --tenant services --role admin
~(keystone_admin)]#
keystone user-role-list --user admin --tenant services
+----------------------------------+-------+----------------------------------+----------------------------------+ | id | name | user_id | tenant_id | +----------------------------------+-------+----------------------------------+----------------------------------+ | 4501ce8328324ef5bf1ed93ceb5494e6 | admin | 4db867e819ad40e4bf79681bae269084 | 70cd02c84f86471b8dd934db46fb484f | +----------------------------------+-------+----------------------------------+----------------------------------+