summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-10-12 19:23:46 +1300
committerLingxian Kong <anlin.kong@gmail.com>2020-10-12 19:23:46 +1300
commite3429a5b53ab661d21289367500e31b155e203d2 (patch)
tree688407430904197c87308e6f7f4ececa548fe2d2 /doc
parentddea7c5831af48488f4b903aef6f2dc894413593 (diff)
downloadtrove-e3429a5b53ab661d21289367500e31b155e203d2.tar.gz
Add resource quota description for production guide
Change-Id: Id51ec601e84a3fcf9cfe2ab206a91126a4af9321
Diffstat (limited to 'doc')
-rw-r--r--doc/source/admin/run_trove_in_production.rst26
1 files changed, 20 insertions, 6 deletions
diff --git a/doc/source/admin/run_trove_in_production.rst b/doc/source/admin/run_trove_in_production.rst
index 7f0120a7..5bdf36d9 100644
--- a/doc/source/admin/run_trove_in_production.rst
+++ b/doc/source/admin/run_trove_in_production.rst
@@ -71,10 +71,11 @@ services.
Service Tenant Deployment
~~~~~~~~~~~~~~~~~~~~~~~~~
In production, almost all the cloud resources(except the Swift objects for
-backup data) created for a Trove instance should be only visible to the Trove
-service user. As DBaaS users, they should only see a Trove instance after
-creating, and know nothing about the Nova VM, Cinder volume, Neutron management
-network and security groups under the hood. The only way to operate Trove
+backup data and floating IP addresses for public instances) created for a Trove
+instance should be only visible to the Trove service user. As DBaaS users, they
+should only see a Trove instance after creating, and know nothing about the
+Nova VM, Cinder volume, Neutron management network and security groups under
+the hood. The only way to operate Trove
instance is to interact with `Trove API
<https://docs.openstack.org/api-ref/database/>`_.
@@ -341,8 +342,8 @@ Command examples:
Quota Management
~~~~~~~~~~~~~~~~
The amount of resources that could be created by each OpenStack project is
-controlled by quota. The default resource quota for each project is set in
-Trove config file as follows unless changed by the cloud administrator via
+controlled by quota. The default trove resource quota for each project is set
+in Trove config file as follows unless changed by the cloud administrator via
`Quota API
<https://docs.openstack.org/api-ref/database/#update-resources-quota-for-a-specific-project>`_.
@@ -352,6 +353,19 @@ Trove config file as follows unless changed by the cloud administrator via
max_instances_per_tenant = 10
max_backups_per_tenant = 50
+In the meantime, trove service project itself also needs quota to create cloud
+resources corresponding to the trove instances, e.g.
+
+.. code-block:: console
+
+ openstack quota set \
+ --instances 200 \
+ --server-groups 200 \
+ --volumes 200 \
+ --secgroups 200 \
+ --ports 400 \
+ <trove-service-project>
+
Trove Deployment Verfication
~~~~~~~~~~~~~~~~~~~~~~~~~~~~