Red Hat OpenShift Deployment Guide

This deployment guide contains the information for deploying, interacting, and configuring Centralized Appliance Management Service (CAMS) QGS Appliance on Red Hat OpenShift.

Prerequisites

Steps to Configure the CAMS Appliance

  1. Steps to Deploy CAMS/QGS on OpenShift
  2. Add a Secondary Hard Disk to use Patch Mode

OpenShift web console home page

Steps to Deploy CAMS/QGS on OpenShift

  1. Select the target project and verify that sufficient resources are available to deploy the CAMS/QGS appliance. For system requirements, see the QGS User Guide.
  2. Navigate to Storage > PersistentVolumeClaims.
    PersistentVolumeClaims list in OpenShift
  3. Click Create Persistent Volume Claim, and then select With data upload form.
    Create Persistent Volume Claim page
  4. Select your project.
    Project selection drop-down
  5. Upload the CAMS/QGS image by clicking Upload.
  6. Enter a name for the Persistent Volume Claim.
  7. Select the appropriate storage class.
  8. Specify a disk size of 50 GB. Refer to the QGS User Guide for supported configurations.
  9. Click Upload to begin the upload process.
    PVC image upload progress
  10. The upload starts and the PVC creation progress page is displayed.
    PVC creation in progress screen
  11. Click View PVC details.
    Persistent Volume Claim details page
  12. The PVC status initially appears as Pending. PVC creation can take approximately 2–3 hours.
    PVC status shown as Pending
  13. When creation completes, the PVC status changes to Bound.
    PVC status shown as Bound
    PVC summary information
  14. Navigate to Virtualization > Virtual Machines.
    Virtual Machines page in OpenShift
  15. Click Create, and then select From template.
    Create virtual machine from template option
  16. Select the Red Hat Enterprise Linux 7 template, or another supported RHEL template.
    RHEL virtual machine templates list
  17. Set the disk source to PVC (Clone PVC).
  18. Select the project that contains the PVC.
  19. Select the previously created PVC.
    PVC selection for virtual machine disk
  20. Configure the virtual machine with 4 CPUs and 16 GB RAM. Refer to the QGS User Guide for supported configurations.
    CPU and memory configuration fields
    Virtual machine resource configuration summary
  21. Configure networking according to your environment. For required ports, URLs, and network prerequisites, see the QGS User Guide.
  22. Enter a name for the QGS appliance.
  23. Click Quick create Virtual Machine, or select Customize Virtual Machine to modify settings before creation.
    Create virtual machine confirmation screen
  24. The VM is created and transitions from Provisioning to Running.
  25. Access the text-based UI by using the VNC console or Serial console. Select the VM, then choose Console.

VNC console access option

or

Serial console access option

Virtual machine console session

Add a Secondary Hard Disk to use Patch Mode

This section explains how to attach a secondary data disk to an existing QGS virtual machine.

  1. Select the QGS appliance and open the Overview tab.
  2. Scroll down and select Storage.
    Storage section for the virtual machine
  3. Click Add, and then select Empty Disk (Blank).
  4. Enter a name for the secondary disk.
  5. Specify a disk size of 150 GB. Refer to the QGS User Guide for supported configurations.
  6. Set Type to Disk.
  7. Select the disk interface (for example, VirtIO).
  8. Select the appropriate storage class (for example, gp3-csi), and then click Save.
  9. Wait for the disk to be created and attached to the appliance.
    Secondary disk creation in progress
  10. Verify that the secondary disk appears with an attached status. Secondary disk attached to virtual machine

If the secondary disk is attached after appliance registration, reboot the appliance to ensure the disk is detected. After the reboot, allow several minutes for the system to initialize.