Chapter 4. Creating Red Hat Gluster Storage volumes using Red Hat Virtualization Manager

Prerequisites

  • This task assumes you have raw unused storage devices attached to your virtualization hosts.

Task

  1. Log in to the Administration Portal.
  2. Configure your local storage as a Red Hat Gluster Storage brick.

    1. Click ComputeHosts and click on the name of the host to use.
    2. Click the Storage Devices subtab and select the device.
    3. Click Create Brick to open the Create Brick window.

      The Create Brick window

      The Create Brick window in the Cockpit UI

      1. Enter a Name for the brick.
      2. Verify or correct the suggested Mount Point.
      3. If the underlying storage uses RAID, enter the number of physical disks in the RAID device and confirm the RAID type.
      4. Click OK.

    A new thin-provisioned logical volume is created on the specified storage device, with all settings appropriate for use with Red Hat Gluster Storage.

  3. Configure a Red Hat Gluster Storage volume.

    1. Click StorageVolumes.
    2. Click New to open the New Volume window.

      The New Volume window

      The New Volume window in the Cockpit UI

      1. Select the cluster that contains your bricks.
      2. Enter a Name for the volume.
      3. Set the Type of volume to create. To use local storage without high availability, choose Distribute.

        See Setting Up Storage Volumes in the Red Hat Gluster Storage Administration Guide for more information about volume types.

      4. Click Add Bricks and select your existing storage as a brick for this volume.

        The Add Bricks window

        The Add Bricks window in the Cockpit UI

      5. Optionally, for enhanced security, specify the IP addresses or hostnames of all hosts in the cluster in the Allow Access From field.
      6. Check the Optimize for virt store checkbox to configure the volume for storing virtual machine images.
      7. Click OK.

See the Red Hat Virtualization 4.2 Administration Guide or the Red Hat Gluster Storage 3.4 Administration Guide for more information about managing Red Hat Gluster Storage.