ccb80d725d
Updated a typo (keystone-mange -> keystone-manage) Updated a few capitalization errors in titles Change-Id: I38ec2a6c53b9e3a1e1bf330b54c26f293a764d94 author: diane fleming
54 lines
2.6 KiB
XML
54 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE section [
|
|
<!-- Some useful entities borrowed from HTML -->
|
|
<!ENTITY ndash "–">
|
|
<!ENTITY mdash "—">
|
|
<!ENTITY hellip "…">
|
|
<!ENTITY plusmn "±">
|
|
]>
|
|
<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>Typically, default values are changed because a tenant
|
|
requires more than 10 volumes, or more than 1TB 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>
|