此内容没有您所选择的语言版本。
Chapter 9. Managing Instances
Cloud instance provisioning goes through three phases:
- Request: This includes ownership information, tags, virtual hardware requirements, the operating system, and any customization required. See Provisioning Requests from the Provisioning Virtual Machines and Hosts guide for more details.
- Approval: Provisioning requests are then approved or denied. This phase can happen automatically or manually. See Provisioning Request Approval Methods from the Provisioning Virtual Machines and Hosts guide for more details.
- Provision: Approved provisioning requests are executed. See Working with Provisioning Requests from the Provisioning Virtual Machines and Hosts guide for more details.
9.1. Provisioning an OpenStack Instance from an Image 复制链接链接已复制到粘贴板!
-
Navigate to
. -
Click
(Lifecycle), then click
(Provision Instances).
- Select an OpenStack image from the list presented. These images must be available on your OpenStack provider.
- Click Continue.
On the Request tab, enter information about this provisioning request. In Request Information, type in at least a first and last name and an email address. This email is used to send the requester status emails during the provisioning process for items such as auto-approval, quota, provision complete, retirement, request pending approval, and request denied. The other information is optional. If the Red Hat CloudForms Server is configured to use LDAP, you can use the Look Up button to populate the other fields based on the email address.
NoteParameters with a * next to the label are required to submit the provisioning request. To change the required parameters, see Appendix B, Customizing Provisioning Dialogs.
- Click the Purpose tab to select the appropriate tags for the provisioned instance.
Click the Catalog tab for basic instance options.
- To change the image to use as a basis for the instance, select it from the list of images.
- Select the Number of Instances to provision.
- Type a Instance Name and Instance Description.
- Click the Environment tab to select the instance’s Tenant, Availabilty Zones, Cloud Network, Security Groups, and Public IP Address. If no specific Tenant is required, select the Choose Automatically checkbox.
Click the Properties tab to set provider options such as flavors and security settings.
- Select a flavor from the Instance Type list.
- Select a Guest Access Key Pair for access to the instance. For more information about key pairs, see Appendix D, Managing Keypairs.
Click the Volumes tab to provision any volumes with the instance. Volumes are useful for augmenting ephemeral storage of instances with persistent, general-purpose block storage:
- Fill in the Volume Name and Size (gigabytes) fields.
- If you want the volume to be deleted once the instance terminates (thereby making it non-persistent), check Delete on Instance Terminate.
To provision and add multiple volumes to the instance, click Add Volume. Doing so will add new fields you can fill in.
For more information about persistent storage in OpenStack, see the Red Hat OpenStack Platform Storage Guide.
Click the Customize tab to set additional instance options.
- Under Credentials, enter a Root Password for the root user access to the instance.
- Enter a IP Address Information for the instance. Leave as DHCP for automatic IP assignment from the provider.
- Enter any DNS information for the instance if necessary.
- Select a Customize Template for additional instance configuration. Select from the Cloud-Init scripts stored on your appliance.
Click the Schedule tab to set the provisioning and retirement date and time.
- In Schedule Info, choose whether the provisioning begins upon approval, or at a specific time. If you select Schedule, you will be prompted to enter a date and time.
- In Lifespan, select whether to power on the instances after they are created, and whether to set a retirement date. If you select a retirement period, you will be prompted for when to receive a retirement warning.
- Click Submit.
The provisioning request is sent for approval. For the provisioning to begin, a user with the admin, approver, or super admin account role must approve the request. The admin and super admin roles can also edit, delete, and deny the requests. You will be able to see all provisioning requests where you are either the requester or the approver.
After submission, the appliance assigns each provision request a Request ID. If an error occurs during the approval or provisioning process, use this ID to locate the request in the appliance logs. The Request ID consists of the region associated with the request followed by the request number. As regions define a range of one trillion database IDs, this number can be several digits long.
Request ID Format
Request 99 in region 123 results in Request ID 123000000000099.