cloudstack/docs/tmp/en-US/html/compute-disk-service-offerings.html

98 lines
11 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>8.1. Compute and Disk Service Offerings</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Admin_Guide-4.0.0-incubating-en-US-1-" /><link rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link rel="up" href="offerings.html" title="Chapter 8. Service Offerings" /><link rel="prev" href="offerings.html" title="Chapter 8. Service Offerings" /><link rel="next" href="system-service-offerings.html" title="8.2. System Service Offerings" /></head><body><p id="title"><a class="left" href="http://cloudstack.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://docs.cloudstack.org"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="offerings.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="system-service-offerings.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="compute-disk-service-offerings" lang="en-US"><div class="titlepage"><div><div><h2 class="title" id="compute-disk-service-offerings">8.1. Compute and Disk Service Offerings</h2></div></div></div><div class="para">
A service offering is a set of virtual hardware features such as CPU core count and speed, memory, and disk size. The CloudStack administrator can set up various offerings, and then end users choose from the available offerings when they create a new VM. A service offering includes the following elements:
</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
CPU, memory, and network resource guarantees
</div></li><li class="listitem"><div class="para">
How resources are metered
</div></li><li class="listitem"><div class="para">
How the resource usage is charged
</div></li><li class="listitem"><div class="para">
How often the charges are generated
</div></li></ul></div><div class="para">
For example, one service offering might allow users to create a virtual machine instance that is equivalent to a 1 GHz Intel® Core™ 2 CPU, with 1 GB memory at $0.20/hour, with network traffic metered at $0.10/GB. Based on the users selected offering, CloudStack emits usage records that can be integrated with billing systems. CloudStack separates service offerings into compute offerings and disk offerings. The computing service offering specifies:
</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
Guest CPU
</div></li><li class="listitem"><div class="para">
Guest RAM
</div></li><li class="listitem"><div class="para">
Guest Networking type (virtual or direct)
</div></li><li class="listitem"><div class="para">
Tags on the root disk
</div></li></ul></div><div class="para">
The disk offering specifies:
</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
Disk size (optional). An offering without a disk size will allow users to pick their own
</div></li><li class="listitem"><div class="para">
Tags on the data disk
</div></li></ul></div><div xml:lang="en-US" class="section" id="creating-compute-offerings" lang="en-US"><div class="titlepage"><div><div><h3 class="title" id="creating-compute-offerings">8.1.1. Creating a New Compute Offering</h3></div></div></div><div class="para">
To create a new compute offering:
</div><div class="orderedlist"><ol><li class="listitem"><div class="para">
Log in with admin privileges to the CloudStack UI.
</div></li><li class="listitem"><div class="para">
In the left navigation bar, click Service Offerings.
</div></li><li class="listitem"><div class="para">
In Select Offering, choose Compute Offering.
</div></li><li class="listitem"><div class="para">
Click Add Compute Offering.
</div></li><li class="listitem"><div class="para">
In the dialog, make the following choices:
</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
<span class="bold bold"><strong>Name</strong></span>: Any desired name for the service offering.
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>Description</strong></span>: A short description of the offering that can be displayed to users
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>Storage type</strong></span>: The type of disk that should be allocated. Local allocates from storage attached directly to the host where the system VM is running. Shared allocates from storage accessible via NFS.
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong># of CPU cores</strong></span>: The number of cores which should be allocated to a system VM with this offering
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>CPU (in MHz)</strong></span>: The CPU speed of the cores that the system VM is allocated. For example, “2000” would provide for a 2 GHz clock.
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>Memory (in MB)</strong></span>: The amount of memory in megabytes that the system VM should be allocated. For example, “2048” would provide for a 2 GB RAM allocation.
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>Network Rate</strong></span>: Allowed data transfer rate in MB per second.
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>Offer HA</strong></span>: If yes, the administrator can choose to have the system VM be monitored and as highly available as possible.
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>Storage Tags</strong></span>: The tags that should be associated with the primary storage used by the system VM.
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>Host Tags</strong></span>: (Optional) Any tags that you use to organize your hosts
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>CPU cap</strong></span>: Whether to limit the level of CPU usage even if spare capacity is available.
</div></li><li class="listitem"><div class="para">
<span class="bold bold"><strong>Public</strong></span>: Indicate whether the service offering should be available all domains or only some domains. Choose Yes to make it available to all domains. Choose No to limit the scope to a subdomain; CloudStack will then prompt for the subdomain's name.
</div></li></ul></div></li><li class="listitem"><div class="para">
Click Add.
</div></li></ol></div></div><div xml:lang="en-US" class="section" id="creating-disk-offerings" lang="en-US"><div class="titlepage"><div><div><h3 class="title" id="creating-disk-offerings">8.1.2. Creating a New Disk Offering</h3></div></div></div><div class="para">
To create a system service offering:
</div><div class="orderedlist"><ol><li class="listitem"><div class="para">
Log in with admin privileges to the CloudStack UI.
</div></li><li class="listitem"><div class="para">
In the left navigation bar, click Service Offerings.
</div></li><li class="listitem"><div class="para">
In Select Offering, choose Disk Offering.
</div></li><li class="listitem"><div class="para">
Click Add Disk Offering.
</div></li><li class="listitem"><div class="para">
In the dialog, make the following choices:
</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
Name. Any desired name for the system offering.
</div></li><li class="listitem"><div class="para">
Description. A short description of the offering that can be displayed to users
</div></li><li class="listitem"><div class="para">
Custom Disk Size. If checked, the user can set their own disk size. If not checked, the root administrator must define a value in Disk Size.
</div></li><li class="listitem"><div class="para">
Disk Size. Appears only if Custom Disk Size is not selected. Define the volume size in GB.
</div></li><li class="listitem"><div class="para">
(Optional)Storage Tags. The tags that should be associated with the primary storage for this disk. Tags are a comma separated list of attributes of the storage. For example "ssd,blue". Tags are also added on Primary Storage. CloudStack matches tags on a disk offering to tags on the storage. If a tag is present on a disk offering that tag (or tags) must also be present on Primary Storage for the volume to be provisioned. If no such primary storage exists, allocation from the disk offering will fail..
</div></li><li class="listitem"><div class="para">
Public. Indicate whether the service offering should be available all domains or only some domains. Choose Yes to make it available to all domains. Choose No to limit the scope to a subdomain; CloudStack will then prompt for the subdomain's name.
</div></li></ul></div></li><li class="listitem"><div class="para">
Click Add.
</div></li></ol></div></div><div xml:lang="en-US" class="section" id="modify-delete-service-offerings" lang="en-US"><div class="titlepage"><div><div><h3 class="title" id="modify-delete-service-offerings">8.1.3. Modifying or Deleting a Service Offering</h3></div></div></div><div class="para">
Service offerings cannot be changed once created. This applies to both compute offerings and disk offerings.
</div><div class="para">
A service offering can be deleted. If it is no longer in use, it is deleted immediately and permanently. If the service offering is still in use, it will remain in the database until all the virtual machines referencing it have been deleted. After deletion by the administrator, a service offering will not be available to end users that are creating new instances.
</div></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="offerings.html"><strong>Prev</strong>Chapter 8. Service Offerings</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="system-service-offerings.html"><strong>Next</strong>8.2. System Service Offerings</a></li></ul></body></html>