b0ce83d945
Instead of declaring entities separately for each file, include the file common/entities/openstack.ent. Change-Id: I99f905be679eab34059a30311f11189c17b5498c
53 lines
2.5 KiB
XML
53 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE section [
|
|
<!ENTITY % openstack SYSTEM "../common/entities/openstack.ent">
|
|
%openstack;
|
|
]>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
|
xml:id="cli_set_quotas">
|
|
<?dbhtml stop-chunking?>
|
|
<title>Manage quotas</title>
|
|
<para>To prevent system capacities from being exhausted without
|
|
notification, you can set up quotas. Quotas are operational
|
|
limits. For example, the number of gigabytes allowed for each
|
|
tenant can be controlled so that cloud resources are optimized.
|
|
Quotas can be enforced at both the tenant (or project)
|
|
and the tenant-user level.</para>
|
|
<para>Using the command-line interface, you can manage quotas for
|
|
the OpenStack Compute service, the OpenStack Block Storage service,
|
|
and the OpenStack Networking service.</para>
|
|
<para>The cloud operator typically changes default values because a
|
|
tenant requires more than ten volumes or 1 TB on a compute
|
|
node.
|
|
</para>
|
|
<note>
|
|
<para>To view all tenants (projects), run:
|
|
<screen><prompt>$</prompt> <userinput>keystone tenant-list</userinput>
|
|
<computeroutput>+----------------------------------+----------+---------+
|
|
| id | name | enabled |
|
|
+----------------------------------+----------+---------+
|
|
| e66d97ac1b704897853412fc8450f7b9 | admin | True |
|
|
| bf4a37b885fe46bd86e999e50adad1d3 | services | True |
|
|
| 21bd1c7c95234fd28f589b60903606fa | tenant01 | True |
|
|
| f599c5cd1cba4125ae3d7caed08e288c | tenant02 | True |
|
|
+----------------------------------+----------+---------+</computeroutput></screen>
|
|
</para>
|
|
<para>To display all current users for a tenant, run:</para>
|
|
<para>
|
|
<screen><prompt>$</prompt> <userinput>keystone user-list --tenant-id <replaceable>tenantID</replaceable></userinput>
|
|
<computeroutput>+----------------------------------+--------+---------+-------+
|
|
| id | name | enabled | email |
|
|
+----------------------------------+--------+---------+-------+
|
|
| ea30aa434ab24a139b0e85125ec8a217 | demo00 | True | |
|
|
| 4f8113c1d838467cad0c2f337b3dfded | demo01 | True | |
|
|
+----------------------------------+--------+---------+-------+
|
|
</computeroutput></screen>
|
|
</para>
|
|
</note>
|
|
<xi:include href="../common/section_cli_nova_quotas.xml"/>
|
|
<xi:include href="section_cli_cinder_quotas.xml"/>
|
|
<xi:include href="../common/section_cli_neutron-quotas.xml"/>
|
|
</section>
|