6.3. Maintaining Hosts

You can use the Administration Portal to perform host maintenance tasks, for example changing the network configuration details of a host.

Warning

Editing a host may require shutting down and restarting the host. Plan ahead when performing maintenance actions.

6.3.1. Moving Hosts into Maintenance Mode

To perform certain actions, you need to move hosts into maintenance mode.

Important

If you move the Host under Maintenance mode, it will stop all gluster process such as brick, self-heal, and geo-replication. Once the Host is activated, all gluster processes will be restarted automatically.

Procedure 6.9. To Move a Host into Maintenance Mode

  1. Click the Hosts tab to display a list of hosts.
  2. Click Maintenance to place the host into maintenance. Click OK to confirm the action. The Status field of the host changes to Preparing for Maintenance, followed by Maintenance. The icon changes to indicate that the host is in maintenance mode.
  3. Perform required tasks. When you are ready to reactivate the host, click Activate.
  4. After the host reactivates, the Status field of the host changes to Up. If the Red Hat Gluster Storage Console is unable to contact or control the host, the Status field displays Non-responsive.

6.3.2. Editing Host Details

You can edit the details of a host, such as its name, network configuration, and cluster.

Procedure 6.10. To Edit Host Details

  1. Click the Hosts tab to display a list of hosts.
  2. If you are moving the host to a different cluster, first place it in maintenance mode by clicking Maintenance. Click OK to confirm the action. The Status field of the host changes to Preparing for Maintenance, followed by Maintenance. The icon changes to indicate that the host is in maintenance mode.
  3. Click Edit to open the Edit Host dialog box.
  4. To move the host to a different cluster, select the cluster from the Host Cluster drop-down list.
  5. Make the required edits and click OK. Activate the host to start using it. See Section 6.2.2, “Activating Hosts”

6.3.3. Customizing Hosts

You can assign tags to help you organize hosts. For example, you can create a group of hosts running in a department or location.

Note

You can assign tags to a host only if a tag is present. You can not assign the root tag to a host. To create a new tag, see Section 2.3, “Tags”.

Procedure 6.11. To Tag a Host

  1. Click the Hosts tab to display a list of hosts. Select the desired host to display the Details pane.
  2. Click Assign Tags to open the Assign Tags dialog box.
  3. Select the required tags and click OK.