openstack-manuals/doc/user-guide-admin/section_dashboard_admin_manage_flavors.xml
Vincent Untz b18328ca7f Do not mention m1.nano and m1.micro flavors
These are not default flavors; they're created by devstack.

Change-Id: I5306f9036eea5060004e1eeed8389284e964eb2e
2014-01-20 15:38:04 +01:00

275 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<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="dashboard_manage_flavors">
<?dbhtml stop-chunking?>
<title>Manage flavors</title>
<para>In OpenStack, a flavor defines the compute, memory, and
storage capacity of a virtual server that users can launch. As
an administrative user, you can create, edit, and delete
flavors.</para>
<para>Only administrative users can create and manage
flavors.</para>
<para>A flavor consists of the following parameters:</para>
<table rules="all" width="50%">
<caption>Flavor parameters</caption>
<col width="20%"/>
<col width="80%"/>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<para>Flavor Name</para>
</td>
<td>
<para>The flavor name.</para>
</td>
</tr>
<tr>
<td>
<para>VCPUs</para>
</td>
<td>
<para>Number of virtual CPUs to use.</para>
</td>
</tr>
<tr>
<td>
<para>RAM</para>
</td>
<td>
<para>Amount of RAM to use, in megabytes.</para>
</td>
</tr>
<tr>
<td>
<para>Root Disk</para>
</td>
<td>
<para>Amount of disk space (in gigabytes) to use
for the root (/) partition.</para>
</td>
</tr>
<tr>
<td>
<para>Ephemeral Disk</para>
</td>
<td>
<para>Amount of disk space (in gigabytes) to use
for the ephemeral partition. If unspecified,
the value is 0 by default.</para>
<para>Ephemeral disks offer machine local disk
storage linked to the life cycle of a VM
instance. When a VM is terminated, all data on
the ephemeral disk is lost. Ephemeral disks
are not included in any snapshots.</para>
</td>
</tr>
<tr>
<td>
<para>Swap Disk</para>
</td>
<td>
<para>Amount of swap space (in megabytes) to use.
If unspecified, the default is 0.</para>
</td>
</tr>
<tr>
<td>
<para>ID</para>
</td>
<td>
<para>The flavor ID, generated by
OpenStack.</para>
</td>
</tr>
</tbody>
</table>
<para>The default flavors are:</para>
<itemizedlist>
<listitem>
<para>m1.tiny (1 VCPU/0 GB Disk/512 MB RAM)</para>
</listitem>
<listitem>
<para>m1.small (1 VCPU/20 GB Disk/2048 MB RAM)</para>
</listitem>
<listitem>
<para>m1.medium (2 VCPU/40 GB Disk/4096 MB RAM)</para>
</listitem>
<listitem>
<para>m1.large (4 VCPU/80 GB Disk/8192 MB RAM)</para>
</listitem>
<listitem>
<para>m1.xlarge (8 VCPU/160 GB Disk/16384 MB RAM)</para>
</listitem>
</itemizedlist>
<section xml:id="dashboard_create_flavors">
<title>Create flavors</title>
<procedure>
<step>
<para>Log in to the dashboard.</para>
<para>Choose the <guilabel>admin</guilabel> project
from the <guilabel>CURRENT PROJECT</guilabel>
drop-down list.</para>
</step>
<step>
<para>On the <guilabel>Admin</guilabel> tab, click the
<guilabel>Flavors</guilabel> category.</para>
</step>
<step>
<para>Click <guibutton>Create
Flavor</guibutton>.</para>
</step>
<step>
<para>In the <guilabel>Create Flavor</guilabel>
window, enter or select the following
values:</para>
<informaltable rules="all" width="75%">
<col width="25%"/>
<col width="75%"/>
<tbody>
<tr>
<td>
<para><guilabel>Name</guilabel></para>
</td>
<td>
<para>Enter the flavor name.</para>
</td>
</tr>
<tr>
<td>
<para><guilabel>VCPUs</guilabel></para>
</td>
<td>
<para>Enter the number of virtual CPUs
to use.</para>
</td>
</tr>
<tr>
<td>
<para><guilabel>RAM
MB</guilabel></para>
</td>
<td>
<para>Enter the amount of RAM to use,
in megabytes.</para>
</td>
</tr>
<tr>
<td>
<para><guilabel>Root Disk
GB</guilabel></para>
</td>
<td>
<para>Enter the mount of disk space in
gigabytes to use for the root (/)
partition.</para>
</td>
</tr>
<tr>
<td>
<para><guilabel>Ephemeral Disk
GB</guilabel></para>
</td>
<td>
<para>Enter the amount of disk space
in gigabytes to use for the
ephemeral partition. If
unspecified, the value is 0 by
default.</para>
<para>Ephemeral disks offer machine
local disk storage linked to the
life cycle of a VM instance. When a
VM is terminated, all data on the
ephemeral disk is lost. Ephemeral
disks are not included in any
snapshots.</para>
</td>
</tr>
<tr>
<td>
<para><guilabel>Swap Disk
GB</guilabel></para>
</td>
<td>
<para>Enter the amount of swap space
(in megabytes) to use. If
unspecified, the default is 0.
</para>
</td>
</tr>
</tbody>
</informaltable>
</step>
<step>
<para>Click <guibutton>Create
Flavor</guibutton>.</para>
</step>
</procedure>
</section>
<section xml:id="dashboard_update_flavors">
<title>Update flavors</title>
<procedure>
<step>
<para>Log in to the dashboard.</para>
<para>Choose the <guilabel>admin</guilabel> project
from the <guilabel>CURRENT PROJECT</guilabel>
drop-down list.</para>
</step>
<step>
<para>On the <guilabel>Admin</guilabel> tab, click the
<guilabel>Flavors</guilabel> category.</para>
</step>
<step>
<para>Select the flavor that you want to edit. Click
<guibutton>Edit Flavor</guibutton>.</para>
</step>
<step>
<para>In the <guilabel>Edit Flavor</guilabel> window,
you can change the flavor name, VCPUs, RAM, root
dish, ephemeral disk, and swap disk
values..</para>
</step>
<step>
<para>Click <guibutton>Save</guibutton>.</para>
</step>
</procedure>
</section>
<section xml:id="dashboard_delete_flavors">
<title>Delete flavors</title>
<procedure>
<step>
<para>Log in to the dashboard.</para>
<para>Choose the <guilabel>admin</guilabel> project
from the <guilabel>CURRENT PROJECT</guilabel>
drop-down list.</para>
</step>
<step>
<para>On the <guilabel>Admin</guilabel> tab, click the
<guilabel>Flavors</guilabel> category.</para>
</step>
<step>
<para>Select the flavors that you want to
delete.</para>
</step>
<step>
<para>Click <guibutton>Delete
Flavors</guibutton>.</para>
</step>
<step>
<para>In the <guilabel>Confirm Delete
Flavors</guilabel> window, click
<guibutton>Delete Flavors</guibutton> to
confirm the deletion. You cannot undo this
action.</para>
</step>
</procedure>
</section>
</section>