Chapter 9. Configure Red Hat Gluster Storage as a Red Hat Virtualization storage domain

9.1. Create the logical network for gluster traffic

  1. Log in to the engine

    Browse to the engine user interface (for example, http://engine.example.com/ovirt-engine) and log in using the administrative credentials you configured in Chapter 8, Deploy the Hosted Engine using the Cockpit UI.

  2. Create a logical network for gluster traffic

    1. Click the Networks tab and then click New. The New Logical Network wizard appears.
    2. On the General tab of the wizard, provide a Name for the new logical network, and uncheck the VM Network checkbox.
    3. On the Cluster tab of the wizard, uncheck the Required checkbox.
    4. Click OK to create the new logical network.
  3. Enable the new logical network for gluster

    1. Click the Networks tab and select the new logical network.
    2. Click the Clusters sub-tab and then click Manage Network. The Manage Network dialogue appears.
    3. In the Manage Network dialogue, check the Migration Network and Gluster Network checkboxes.
    4. Click OK to save.
  4. Attach the gluster network to the host

    1. Click the Hosts tab and select the host.
    2. Click the Network Interfaces subtab and then click Setup Host Networks.
    3. Drag and drop the newly created network to the correct interface.
    4. Ensure that the Verify connectivity checkbox is checked.
    5. Ensure that the Save network configuration checkbox is checked.
    6. Click OK to save.
  5. Verify the health of the network

    Click the Hosts tab and select the host. Click the Network Interfaces subtab and check the state of the host’s network.

    If the network interface enters an "Out of sync" state or does not have an IPv4 Address, click the Management tab that corresponds to the host and click Refresh Capabilities.

9.2. Create the master storage domain

  1. Click the Storage tab and then click New Domain.
  2. Select GlusterFS as the Storage Type and provide a Name for the domain.
  3. Check the Use managed gluster volume option.

    A list of volumes available in the cluster appears.

    Select the vmstore volume and add the following to the Mount Options:

    backup-volfile-servers=server2:server3
  4. Click OK to save.

The hosted engine storage domain is imported automatically after master storage domain creation.

Important

Wait until the Hosted Engine virtual machine and its storage domain are available before continuing with other tasks; this ensures that the Hosted Engine tab is available for use.

9.3. Add additional virtualization hosts to the hosted engine

Follow these steps in Red Hat Virtualization Manager for each of the other hosts.

  1. Add virtualization hosts to the host inventory

    1. Click the Hosts tab and then click New to open the New Host dialog.
    2. Provide a Name, Address, and Password for the new host.
    3. Under Advanced Parameters, uncheck the Automatically configure host firewall checkbox, as firewall rules are already configured by gdeploy.
    4. In the Hosted Engine tab of the New Host dialog, set the value of Choose hosted engine deployment action to deploy. This ensures that the hosted engine can run on the new host.
    5. Click OK.
  2. Attach the gluster network to the host

    1. Click the Hosts tab and select the host.
    2. Click the Network Interfaces subtab and then click Setup Host Networks.
    3. Drag and drop the newly created network to the correct interface.
    4. Ensure that the Verify connectivity checkbox is checked.
    5. Ensure that the Save network configuration checkbox is checked.
    6. Click OK to save.
  3. In the General subtab for this host, verify that the value of Hosted Engine HA is Active, with a positive integer as a score.

    Important

    If Score is listed as N/A, you may have forgotten to select the deploy action for Choose hosted engine deployment action. Follow the steps in Reinstalling a virtualization host in Maintaining Red Hat Hyperconverged Infrastructure to reinstall the host with the deploy action.

  4. Verify the health of the network

    Click the Hosts tab and select the host. Click the Network Interfaces subtab and check the state of the host’s network.

    Important

    If the network interface enters an "Out of sync" state or does not have an IPv4 Address, right-click on the host and click on Management > Refresh Capabilities.

See the Red Hat Virtualization 4.1 Self-Hosted Engine Guide for further details: https://access.redhat.com/documentation/en/red-hat-virtualization/4.1/paged/self-hosted-engine-guide/chapter-7-installing-additional-hosts-to-a-self-hosted-environment