Deploy GlusterFS Storage Using Cockpit

To deploy GlusterFS using the Cockpit web interface, complete the following steps.

  1. From the deployment host, access the Cockpit web interface from https://host_IP_or_FQDN:9090, for example, https://kvmhost1.example.com:9090.
  2. Log in using the user name and password of the root account.
  3. From the Cockpit left navigation, click Virtualization.
  4. From the Virtualization menu, click Hosted Manager.
  5. On the Hosted Engine Setup page there are two Start buttons. Under the Hyperconverged statement Configure Gluster storage and Oracle Linux Virtualization Manager, click Start.
  6. From the Gluster Configuration popup, click Run Gluster Wizard.

    The Gluster Deployment wizard displays.

  7. On the Hosts screen, enter the FQDN for each Gluster host.
    • If the host has different network connections for the public network and the storage network, enter those different hostnames.
    • If hosts have only one network connection, check Use same hostname for Storage and Public Network.
  8. Click the Next.
  9. On the Packages screen, do not enter any information. Click Next.
  10. On the Volumes screen, create the minimum required volumes of engine and data. You can also create export and iso volumes. Be sure to check the Arbiter box next to each volume you create.

    For example:

    • Name: engine

    • Volume Type: Replicate (default)

    • Arbiter: Ensure the check box is selected.

    • Brick Dirs: /gluster_bricks/engine/engine (default)

    • Name: data

    • Volume Type: Replicate (default)

    • Arbiter: Ensure the check box is selected.

    • Brick Dirs: /gluster_bricks/data/data (default)

  11. Click Next.
  12. On the Bricks screen:
    • Select the appropriate Raid Type. Use JBOD for internal disks or select the appropriate RAID level if internal disks are configured as RAID devices.
    • Under Multipath Configuration, ensure the Blacklist Gluster Devices checkbox is selected.
    • (Optional) Under Brick Configuration, adjust the LV size for each host's block device.
  13. Click Next.
  14. On the Review screen, review the configuration and then click Next to deploy the Gluster configuration and create volumes.

    This process takes some time to complete as the gdeploy tool installs required packages and configures Gluster volumes and their underlying storage.

    If successful, Cockpit displays the Successfully deployed Gluster message and your Gluster deployment is ready for use.

  15. Click the Continue to Hosted Engine Deployment button.

    Important:

    You can only continue with deploying the hosted engine with Cockpit if your hosts have a direct connection to the internet. If you do not have a direct internet connection, are behind a proxy, or click Close to continue deployment at a later date, you must use the command line to deploy the self- hosted engine.