Hybrid Cloud Management with Red Hat CloudForms
上QQ阅读APP看书,第一时间看更新

Deploying the Red Hat CloudForms Management Engine Appliance

Now that we are aware of the resource and security requirements for Red Hat CloudForms, let's look at how to obtain a copy of the appliance and run it.

Obtaining the appliance

The CloudForms Management appliance for OpenStack can be downloaded from your Red Hat customer portal under the Red Hat CloudForms product page. You need access to a Red Hat CloudForms subscription to be able to do so. At the time of writing this book, the direct download link for this is https://rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=20037.

For more information on obtaining the subscription and appliance, or to request a trial, visit http://www.redhat.com/en/technologies/cloud-computing/cloudforms.

Note

Note

If you are unable to get access to Red Hat CloudForms, ManageIQ (the open source version) can also be used for hands-on experience.

Creating the appliance image in OpenStack

Before launching the appliance, we need to create an image in OpenStack for the appliance, since OpenStack requires instances to be launched from an image.

You can create a new Image under Project with the following parameters (see the screenshot given for assistance):

  1. Enter a name for the image.
  2. Enter the image location in Image Source (HTTP URL).
  3. Set the Format as QCOW2.
  4. Optionally, set the Minimum Disk size.
  5. Optionally, set Minimum Ram.
  6. Make it Public if required and Create An Image.
    Creating the appliance image in OpenStack

Note

Note that if you have a newer release of OpenStack, there may be some additional options, but the preceding are what need to be filled in—most importantly the download URL of the Red Hat CloudForms appliance.

Wait for the Status field to reflect as Active before launching the instance, as shown in this screenshot:

Creating the appliance image in OpenStack

Launching the appliance instance

In OpenStack, under Project, select Instances and then click on Launch Instance. In the Launch Instance wizard enter the following instance information in the Details tab:

  1. Select an Availabilty Zone.
  2. Enter an Instance Name.
  3. Select Flavor.
  4. Set Instance Count.
  5. Set Instance Boot Source as Boot from image.
  6. Select CloudForms Management Engine Appliance under Image Name. The final result should appear similar to the following figure:
    Launching the appliance instance
  7. Under the Access & Security tab, ensure that the correct Key Pair and Security Group tab are selected, like this:
    Launching the appliance instance
  8. For Networking, select the proper networks that will provide the required IP addresses and routing, as shown here:
    Launching the appliance instance
  9. Other options, such as Post-Creation and Advanced Options, are optional and can be left blank.
  10. Click on Launch when ready to start creating the instance. Wait for the instance state to change to Running before proceeding to the next step.

    Note

    Note

    If you are accessing the CloudForms Management Engine from the Internet, a Floating IP address needs to be associated with the instance. This can be done from Project, under Access & Security and then the Floating IPs tab.