4.2. Hosts Operations
4.2.1. Adding Hosts
Important
Before you can add a host to Red Hat Storage, ensure your environment meets the following criteria:
- The host hardware is Red Hat Enterprise Linux certified. See https://hardware.redhat.com/ to confirm that the host has Red Hat certification.
- The host should have a resolvable hostname or static IP address.
Procedure 4.1. To Add a Host
- Click the Hosts tab to list available hosts.
- Click New Host window.to open the
Figure 4.2. New Host Window
- Select the Host Cluster for the new host from the drop-down menu.
Table 4.2. Add Hosts Properties FieldDescriptionHost Cluster
The cluster to which the host belongs. Name
The name of the host. This text field has a 40-character limit and must be a unique name with any combination of uppercase and lowercase letters, numbers, hyphens, and underscores.If Nagios is enabled, the host name given in Name field of Add Host window should match the host name given while configuring Nagios.Address
The IP address or resolvable hostname of the host. Root Password
The password of the host's root user. This can only be given when you add the host, it cannot be edited afterwards. SSH Public Key
Copy the contents in the text box to the /root/.ssh/authorized_keys file on the host if you'd like to use the Manager's ssh key instead of using a password to authenticate with the host. Automatically configure host firewall
When adding a new host, the Manager can open the required ports on the host's firewall. This is enabled by default. This is an Advanced Parameter.The required ports are opened if this option is selected.SSH Fingerprint
You can fetch the host's ssh fingerprint, and compare it with the fingerprint you expect the host to return, ensuring that they match. This is an Advanced Parameter. - Enter the Name, and Address of the new host.
- Select an authentication method to use with the host:
- Enter the root user's password to use password authentication.
- Copy the key displayed in the SSH PublicKey field to
/root/.ssh/authorized_keys
on the host to use public key authentication.
- The mandatory steps for adding a Red Hat Storage host are complete. Clickto show the advanced host settings:
- Optionally disable automatic firewall configuration.
- Optionally add a host SSH fingerprint to increase security. You can add it manually, or fetch it automatically.
- Clickto add the host and close the window.The new host displays in the list of hosts with a status of "Installing" and then it goes to "Initialization" state and the host comes up.
Note
The host will be in Up status after the status of "Installing" and "Initialization" state. The host will have Non-Operational status when the host is not compatible with the cluster compatibility version. The Non-Responsive status will be displayed if the host is down or is unreachable.You can view the progress of the host installation in the Details pane.
4.2.2. Activating Hosts
Procedure 4.2. To Activate a Host
- In the Hosts tab, select the host you want to activate.
- Click Up.. The host status changes to
4.2.3. Managing Host Network Interfaces
Note
ovirtmgmt
is supported.
4.2.3.1. Editing Host Network Interfaces
Procedure 4.3. To Edit a Host Network Interface
- Click the Hosts tab to display a list of hosts. Select the desired host to display the Details pane.
- Click Setup Host Networks window.to open the
Figure 4.3. Setup Host Networks Window
- Edit the management networks by hovering over an assigned logical network and clicking the pencil icon to open the Edit Management Network window.
- If your logical network definition is not synchronized with the network configuration on the host, select the Sync network check box.
- Select a Boot Protocol:
- None
- DHCP
- Static - provide the IP and Subnet Mask.
- Click.
- Select Verify connectivity between Host and Engine to run a network check.
- Select Save network configuration if you want the network changes to be persistent when you reboot the environment.
- Clickto implement the changes and close the window.
4.2.3.2. Editing Management Network Interfaces
Important
Procedure 4.4. To Edit a Management Network Interface
- Click the Hosts tab to display a list of hosts. Select the desired host to display the Details pane.
- Edit the logical networks by hovering over an assigned logical network and clicking the pencil icon to open the Edit Management Network window.
Figure 4.4. Edit Management Network Dialog Box
- If your logical network definition is not synchronized with the network configuration on the host, select the Sync network check box.
- Select a Boot Protocol:
- None
- DHCP
- Static - provide the IP and Subnet Mask.
- Make the required changes to the management network interface:
- To attach the ovirtmgmt management network to a different network interface card, select a different interface from the drop-down list.
- Select the network setting from, or . For the setting, provide the IP, Subnet and Default Gateway information for the host.
- Clickto confirm the changes.
- Select Verify connectivity between host and engine if required.
- Select Save network configuration to make the changes persistent when you reboot the environment.
- Click.
- Activate the host. See Section 4.2.2, “Activating Hosts”.
4.2.4. Configuring Network Interfaces
4.2.4.1. Saving Host Network Configurations
Procedure 4.5. To Save a Host Network Configuration
- Click the Hosts tab to display a list of hosts. Select the desired host to display the Details pane.
- Click 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.to place the host into maintenance. Click to confirm the action. The
- Click the Network Interfaces tab in the Details pane to display the list of network interface cards in the host, their addresses, and other specifications. Select the network interface card that you want to edit.
- Clickto save the host network configuration. The Events pane displays the message:
Network Changes were saved on Host HOSTNAME
.
4.2.4.2. Deleting Hosts
Note
Procedure 4.6. To Delete a Host
- Click the Hosts tab to display a list of hosts. Select the host you want to remove. If the required host is not visible, perform a search.
- Click 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.to place the host into maintenance. Click to confirm the action. The
- Click.
- Clickto confirm.
4.2.4.3. Managing Gluster Sync
Procedure 4.7. To Import a Host to a Cluster
- Click the Cluster tab and select a cluster to display the General tab with details of the cluster.
- In Import to display the Add Hosts window., click
Figure 4.5. Add Hosts Window
- Enter the Name and Root Password. Select Use a common password if you want to use the same password for all hosts.
- Click.
- Clickto add the host to the cluster.
Procedure 4.8. To Detach a Host from a Cluster
- Click the Cluster tab and select a cluster to display the General tab with details of the cluster.
- In Detach to display the Detach Hosts window., click
- Select the host you want to detach and click Force Detach if you want to perform force removal of the host from the cluster.. Select