Chapter 1. Installing Red Hat CloudForms
Installing Red Hat CloudForms on Red Hat Virtualization consists of the following steps:
- Downloading the appliance for your environment as a virtual machine image template.
- Uploading the appliance image to the Red Hat Virtualization data storage domain.
- Creating a virtual machine based on the appliance.
After you have completed all the procedures in this chapter, you will have a working environment which you can further configure and customize.
Uploading the CloudForms appliance file to Red Hat Virtualization requires:
44 GB of storage space on both the export domain and the local partition where
/tmpresides, as the
OVFarchive is locally expanded into that directory.
- 12 GB RAM.
- 4 vCPUs.
1.1. Obtaining the Appliance
To obtain a copy of the appliance from the Customer Portal:
- Log in to the Red Hat Customer Portal at access.redhat.com using your customer account details.
- Click Downloads in the menu bar.
- Click A-Z to sort the product downloads alphabetically.
- Click Red Hat CloudForms to access the product download page.
- From the list of installers and images, click the Download Now link for the latest version of the CFME Red Hat Virtual Appliance (qcow).
After the image completes downloading, you are ready to upload the CloudForms appliance to your Red Hat Virtualization environment and create a virtual machine.
1.2. Uploading the Appliance to Red Hat Virtualization
qcow2 appliance image to your Red Hat Virtualization data storage domain from the Red Hat Virtualization Administration Portal.
You must configure the Image I/O Proxy when running
engine-setup. See Configuring the Red Hat Virtualization Manager in the Red Hat Virtualization Installation Guide for more information.
- Internet Explorer 10, Firefox 35, or Chrome 13 or greater is required to perform this upload procedure. Previous browser versions do not support the required HTML5 APIs.
- You must import the required certificate authority into the web browser used to access the Administration Portal.
To upload the appliance:
- Log in to the Red Hat Virtualization Administration Portal.
- Click → .
- Select → .
- Click Choose File, and select the appliance image to upload.
- Under Disk Options, enter an Alias for the image.
- (Optional) Edit other fields in Disk Options if desired.
- Click OK.
A progress bar in the Status column indicates the status of the upload. You can also pause, cancel, or resume uploads from the Upload menu.
The status shows OK when the image has completed uploading.
See the Uploading Images to a Data Storage Domain in the Red Hat Virtualization Administration Guide for more information.
Increasing the Upload Timeout Value
If the upload times out and you see the message,
Reason: timeout due to transfer inactivity, increase the timeout value:
# engine-config -s TransferImageClientInactivityTimeoutInSeconds=6000
Restart the ovirt-engine service:
# systemctl restart ovirt-engine
1.3. Creating a CloudForms Virtual Machine
After uploading the appliance to the data domain, create a virtual machine containing the CloudForms image and a second disk for the database:
- In New to open the New Virtual Machine dialog. → , click
- From the General tab, specify a name for the virtual machine and any other details.
- Click Attach.
- Select the CloudForms appliance you uploaded from the list of images and click OK.
- Click the VM to open its details screen, and click the Disks tab.
- Click Edit to the disk, and check Bootable if it is not marked already.
- Click OK.
Add a second disk for the database:
- Click the General tab and click the Edit button to edit the virtual machine.
- Click + and Create to create a disk for the database (VMDB).
Specify a Size in GB for the disk that allows sufficient space for your database. Red Hat recommends allocating the virtual machine disk fully at the time of creation. Three main factors affect the size of your database over time:
- Virtual Machine Count: the most important factor in the calculation of virtual machine database (VMDB) size over time.
- Host Count: the number of hosts associated with the provider.
Storage Count: the number of individual storage elements as seen from the perspective of the provider or host. It is not the total number of virtual disks for all virtual machines.Note
See Database Requirements in the Deployment Planning Guide for information on calculating disk size for your database.
Set the Allocation Policy to
Preallocated(thick provisioning) for best performance.
- Specify any other values as desired.
- Click OK to create the disk and return to the New Virtual Machine window.
- Add a network interface to the virtual machine by selecting a vNIC profile from the nic1 list.
- Click OK to save your changes to the virtual machine.
- Start the CloudForms appliance by clicking the Run button.
Your Red Hat Virtualization environment now contains a running CloudForms appliance.