4.2. Cluster Operations

4.2.1. Creating a New Cluster

You can create a new cluster using the New option in the Clusters tab.

Procedure 4.1. To Create a New Cluster

  1. Open the Clusters view by expanding the System tab and selecting the Cluster tab in the Tree pane. Alternatively, select Clusters from the Details pane.
  2. Click New to open the New Cluster dialog box.
    New Cluster Dialog Box

    Figure 4.2. New Cluster Dialog Box

  3. Enter the cluster Name, Description and Compatibility Version. The name cannot include spaces. When the user selects Import existing gluster configuration and enters the Address, fingerprint will be fetched automatically by the Red Hat Gluster Storage Console.
  4. Click OK to create the cluster. The new cluster displays in the Clusters tab.
  5. Click Guide Me to configure the cluster. The Guide Me window lists the entities you need to configure for the cluster. Configure these entities or postpone configuration by clicking Configure Later. You can resume the configuration process by selecting the cluster and clicking Guide Me. To import an existing cluster, see Section 4.2.2, “Importing an Existing Cluster”.
Gluster Tuned Profile

Tuned profiles helps to enhance the performance of the system by applying some predefined set of system parameters. We have two tuned profiles for Red Hat Gluster Storage:

  • rhs-high-throughput: It is a default profile which will be applied on the RHGS nodes. This helps to enhance the performance of RHGS Volume.
  • rhs-virtualization: If the number of clients is greater than 100, you must switch to the rhs-virtualization tuned profile. For more information, see Number of Clients in Red Hat Gluster Storage Administration Guide.

4.2.2. Importing an Existing Cluster

You can import a Red Hat Gluster Storage cluster and all the hosts belonging to the cluster into the Red Hat Gluster Storage Console.
When you provide details such as the IP address or host name and password of any host in the cluster, the gluster peer status command executes on that host through SSH, then displays a list of hosts that are part of the cluster. You must manually verify the fingerprint of each host and provide passwords for them. If some hosts are not reachable, then import cluster will not add these hosts to the cluster during import.

Procedure 4.2. To Import an Existing Cluster

  1. In the Tree pane, click System tab, then click the Clusters tab.
  2. Click New to open the New Cluster dialog box.
  3. Enter the cluster Name, Description and Compatibility Version. The name cannot include spaces.
  4. Select Import existing gluster configuration to import the cluster.
  5. In the Address field, enter the host name or IP address of a host in the cluster.
    The host Fingerprint displays to indicate the connection host. If a host in unreachable or if there is a network error, Error in fetching fingerprint displays in the Fingerprint field.
  6. Enter the Root Password for the host in the Password field and click OK.
  7. The Add Hosts window opens, and a list of hosts that are part of the cluster displays.
  8. For each host, enter the Name and Root Password. If you wish to use the same password for all hosts, check Use a common password and enter a password.
  9. Click Apply to set the password for all hosts then click OK to submit the changes.

4.2.3. Editing a Cluster

Procedure 4.3. To Edit a Cluster

  1. Click the Clusters tab to display the list of host clusters. Select the cluster that you want to edit.
  2. Click Edit to open the Edit Cluster dialog box.
  3. Enter a Name and Description for the cluster and select the compatibility version from the Compatibility Version drop down list.
  4. Click OK to confirm the changes and display the host cluster details.

4.2.4. Viewing Hosts in a Cluster

Procedure 4.4. To View Hosts in a Cluster

  1. Click the Clusters tab to display a list of host clusters. Select the desired cluster to display the Details pane.
  2. Click the Hosts tab to display a list of hosts.
    The Hosts tab on the Cluster Details pane

    Figure 4.3. The Hosts tab on the Cluster Details pane

4.2.5. Removing a Cluster

You can permanently remove clusters that are not in use. Deleting unused clusters saves system resources, as existing hosts are contacted at regular intervals.

Warning

Red Hat recommends that you do not remove the default cluster.

Procedure 4.5. To Remove a Cluster

  1. Click the Clusters tab to display a list of clusters. If the required cluster is not visible, perform a search.
  2. Select the cluster to be removed. Ensure that there are no running hosts or volumes.
  3. Click the Remove button.
  4. A dialog box lists all the clusters selected for removal. Click OK to confirm the removal.