bbec5aa4d2
The XML root element of Docbook XML files should match the following format: <ELEMENT 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="THE_XML_ID_OF_THE_ELEMENT"> Change-Id: If8d27898af12af2edc2d2d13557ec2365a241656
283 lines
9.9 KiB
XML
283 lines
9.9 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, also known as an instance. As an
|
|
administrative user, you can create, edit, and delete flavors..</para>
|
|
<para>The following table lists the default flavors.</para>
|
|
<informaltable rules="all" width="50%">
|
|
<col width="30%"/>
|
|
<col width="20%"/>
|
|
<col width="25%"/>
|
|
<col width="25%"/>
|
|
|
|
<thead>
|
|
<tr>
|
|
<th>Flavor</th>
|
|
<th>VCPUs</th>
|
|
<th>Disk (in GB)</th>
|
|
<th>RAM (in MB)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<para>m1.tiny</para>
|
|
</td>
|
|
<td>
|
|
<para>1</para>
|
|
</td>
|
|
<td>
|
|
<para>1</para>
|
|
</td>
|
|
<td>
|
|
<para>512</para>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<para>m1.small</para>
|
|
</td>
|
|
<td>
|
|
<para>1</para>
|
|
</td>
|
|
<td>
|
|
<para>20</para>
|
|
</td>
|
|
<td>
|
|
<para>2048</para>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<para>m1.medium</para>
|
|
</td>
|
|
<td>
|
|
<para>2</para>
|
|
</td>
|
|
<td>
|
|
<para>40</para>
|
|
</td>
|
|
<td>
|
|
<para>4096</para>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<para>m1.large</para>
|
|
</td>
|
|
<td>
|
|
<para>4</para>
|
|
</td>
|
|
<td>
|
|
<para>80</para>
|
|
</td>
|
|
<td>
|
|
<para>8192</para>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<para>m1.xlarge</para>
|
|
</td>
|
|
<td>
|
|
<para>8</para>
|
|
</td>
|
|
<td>
|
|
<para>160</para>
|
|
</td>
|
|
<td>
|
|
<para>16384</para>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</informaltable>
|
|
<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
|
|
drop-down list at the top of the page.</para>
|
|
</step>
|
|
<step>
|
|
<para>On the <guilabel>Admin</guilabel> tab, open the
|
|
<guilabel>System Panel</guilabel> and 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 parameters for the flavor.</para>
|
|
<informaltable rules="all" width="75%">
|
|
<col width="25%"/>
|
|
<col width="75%"/>
|
|
<thead>
|
|
<tr>
|
|
<th colspan="2" align="center">
|
|
<guilabel>Flavor Info</guilabel> tab</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<para><guilabel>Name</guilabel></para>
|
|
</td>
|
|
<td>
|
|
<para>Enter the flavor name.</para>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<para>
|
|
<guilabel>ID</guilabel>
|
|
</para>
|
|
</td>
|
|
<td>
|
|
<para>OpenStack generates the flavor ID.</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 MB</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>In the <guilabel>Flavor Access</guilabel> tab, you can
|
|
control access to the flavor by moving projects from the
|
|
<guilabel>All Projects</guilabel> column to the <guilabel>Selected
|
|
Projects</guilabel> column.</para>
|
|
<para>Only projects in the <guilabel>Selected Projects</guilabel>
|
|
column can use the flavor. If there are no projects in the
|
|
right column, all projects can use the flavor.</para>
|
|
</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
|
|
drop-down list at the top of the page.</para>
|
|
</step>
|
|
<step>
|
|
<para>On the <guilabel>Admin</guilabel> tab, open the
|
|
<guilabel>System Panel</guilabel> and 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
|
|
drop-down list at the top of the page.</para>
|
|
</step>
|
|
<step>
|
|
<para>On the <guilabel>Admin</guilabel> tab, open the
|
|
<guilabel>System Panel</guilabel> and 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>
|