Forum Stats

  • 3,757,572 Users
  • 2,251,247 Discussions
  • 7,869,867 Comments

Discussions

Deploying Oracle Linux Hyperconverged Infrastructure

This document is still under review.
Sections of this document could change and further enhancements and/or options can be introduced on the same.

Oracle Linux Virtualization Manager has been integrated with Gluster 6, an open source scale-out distributed file system, to provide a hyperconverged solution where both compute and storage are provided from the same hosts. Gluster volumes residing on the hosts are used as storage domains in the Manager to store the virtual machine images. Oracle Linux Virtualization Manager is run as a self-hosted engine within a virtual machine on these hosts.
For more information on Gluster 6, see Gluster documentation.

pastedImage_0png

Pre-requisites

  • There must be minimum 3 latest Oracle Linux 7 Servers with Minimal Installation.Follow the instructions in the Oracle® Linux 7: Installation Guide
  • Ensure that the firewalld service is enabled and started.For more information about firewalld, see Controlling the firewalld Firewall Service in the Oracle® Linux 7: Administrator's Guide.
  • (Optional) If you are using a proxy server for Internet access, configure Yum with the proxy server settings. For more information, see Configuring Use of a Proxy Server in the Oracle® Linux 7: Administrator's Guide.
  • Please make sure that all three OL7 servers have hostname/FQDN which can be resolved in the environment using DNS or through the /etc/hosts file on the OL7 servers.
  • You must have a fully qualified domain name prepared for your Self Hosted-Engine . Forward and reverse lookup records must both be set in the DNS. The Engine should use the same subnet as the management network.
  • You must have configured password-less ssh between the first server to itself and the other 2 servers. This is needed for Gluster deployment.
On the first host (from which deployment will run), Run the following commands:    
# ssh-keygen   
# ssh-copy-id [email protected]  
# ssh-copy-id [email protected]  
# ssh-copy-id [email protected] 

Installing the Required Packages

  • Install the Oracle Linux Virtualization Manager Release 4.3.10 package. For more information refer Oracle® Linux Virtualization Manager: Getting Started Guide
    # yum install oracle-ovirt-release-el7 

  • On all 3 hosts, install the following packages:
    cockpit-ovirt-dashboard (provides a UI for the installation
    vdsm-gluster (plugin to manage gluster services)
    # yum install cockpit-ovirt-dashboard vdsm-gluster  

  • On the first host, install the following packages:
    ovirt-engine-appliance (for the Engine virtual machine installation)
    gluster-ansible-roles (For deploying, configuring, maintaining GlusterFs clusters)
    # yum install ovirt-engine-appliance gluster-ansible-roles 

Setting up the hyperconverged environment

  • Log into the Cockpit UI
    In Browser, Log in to Cockpit management interface of the first Oracle Linux 7 host, for example, https://gluster-host1-address:9090/

  • Start the deployment wizard
    Click Virtualization > Hosted Engine, Click Start button under Hyperconverged.
    pastedImage_0png
  • Run Gluster Wizard
    pastedImage_0png
  • Host Selection
    Enter 3 Server's FQDN/IP address for deploying gluster.
    pastedImage_2png

    pastedImage_3png

  • Package selection
    This is an optional step - to install additional packages required on all hosts. Since we already installed required packages, we can skip this step.
    pastedImage_1png

  • Volume tab
    This step in the wizard defines the gluster volumes that need to be created.
    These gluster volumes will later in the wizard, be used to create storage domains in Oracle Linux Virtualization Manager.
    The first volume in the list is used to host the Hosted Engine virtual disk. As a guidance, we ask to create 2 additional gluster volumes.
    • vmstore : Hosting the OS disks of the virtual machines.
    • data : Hosting the data disks of the virtual machines.

The volumes are separated as above to ease backup, assuming only data volume will need to be backed up. All 3 gluster volumes will be created as Data storage domains.

A gluster volume can be created as an Arbiter type volume, to save on storage capacity. In this case, the 3rd host will not need the same capacity as the first two hosts.
pastedImage_0png

  • Brick setup tab
    The Bricks tab configures the devices to use for the gluster volumes defined in the previous step.
    If the devices used for bricks are configured as RAID devices, provide the information in the RAID information section. These parameters are used to create the optimal alignment values for the LVM and filesystem layers created on the device.
    Brick configuration allows for per-host definition of bricks. This is useful in case the device names are not uniform across the hosts
    • LV Name : name used for the logical LV created on brick. This is read-only and based on the gluster volumes defined in previous step
    • Device Name: name of device to be used to create the brick. Either the same device or different devices can be used for different gluster volumes. For instance, engine can use device sdb while vmstore and data can use device sdc
    • Size (GB): Size of the LV in Gigabytes
    • Thinp: Checkbox indicating if the LV should be thinly provisioned or not. Thin provisioned LVs are not supported with dedupe & compression on device
    • Mount point: Path where the brick is mounted. Determined from the brick directory provided in previous step
    • Enable Dedupe & Compression: Checkbox indicating if de-duplication and compression should be turned on for the device. Dedupe and compression is provided at the device layer using the VDO module available since Oracle Linux 7.5. VDO layer will introduce a performance overhead, so it is advised to enable this if you’re using SSD devices
    • Configure LV Cache: Use this option to provide an SSD based lvmcache layer if your brick LVs are on spinning devices.
      pastedImage_3png

  • Review and Deploy
    Now, we can review and deploy the Gluster
    pastedImage_4png

    pastedImage_6png

    pastedImage_7png
    Once Gluster deployment is finished, click the “Continue to Hosted Engine Deployment” button to begin configuring your hosted engine.



Hosted engine setup

This section shows you how to deploy the Hosted Engine using the Cockpit UI. Following this process results in Oracle Linux Virtualization Manager running as a virtual machine on the first physical machine in your deployment. It also configures a Default cluster comprised of the three physical machines, and enables Gluster Storage functionality and the virtual-host tuned performance profile for each machine in the cluster.

Provide hostname, domain, network configuration, password, and, if desired, ssh key information for your hosted engine virtual machine.
Then, we’ll answer a set of questions related to the virtual machine that will serve the oVirt engine application. First, we tell the installer to use the oVirt Engine Appliance image that gdeploy installed for us. Then, we configure cloud-init to customize the appliance on its initial boot, providing various VM configuration details covering networking, VM RAM and storage amounts, and authentication. Enter the details appropriate to your environment.

pastedImage_8png


Next, supply an admin password for the engine instance, and customize your notification server details.

pastedImage_9png

Now, Review the guest VM configuration and Click on Prepare VM button. This will create local hosted engine VM.

pastedImage_0png

pastedImage_11png

pastedImage_12png

Now, Configure the Storage domain that will be used to host the Self-hosted engine disk.

pastedImage_13png

Please review the configuration and Click on Finish Deployment button. Now, the local self-hosted engine will be transferred to configured Gluster storage domain.

pastedImage_15png

pastedImage_14png

Now, wait for deployment to complete. This will take some time (about 30 minutes). When deployment is completed, you will see following screen:pastedImage_0png

Now, we can access Oracle Linux Virtualization Manager.

Access Oracle Linux Virtualization Manager

After deploying Self-hosted engine, open a web browser and open your OLVM administration portal at the address of your hosted engine VM. Log in with the user name admin and the password that you chose during setup.

pastedImage_0png


Comments