Este conteúdo não está disponível no idioma selecionado.
4.9. hosts
The
host resource type groups all host resources in a Red Hat Storage Console.
| Name | Type | Description | Required | User Creatable | User Updatable |
|---|---|---|---|---|---|
--name | string | The name of the host. | Yes | Yes | Yes |
--address | string | The IP address or hostname for the host. | Yes | Yes | Yes |
--cluster-id | name | string | Defines the cluster that includes the host. | Yes | Yes | Yes |
--port | int | The port for communication with the VDSM daemon running on the host. | No | Yes | Yes |
Example 4.17. Creating a new host
[RHSC shell (connected)]# add host --name Host1 --address host1.example.com --root_password p@55w0rd! --cluster-name Default
[RHSC shell (connected)]# add host --name Host1 --address host1.example.com --root_password p@55w0rd! --cluster-name Default
Example 4.18. Updating a host
[RHSC shell (connected)]# update host Host1 --name Host2
[RHSC shell (connected)]# update host Host1 --name Host2
Example 4.19. Deleting a host
[RHSC shell (connected)]# remove host Host1
[RHSC shell (connected)]# remove host Host1
The following table lists actions for a host resource.
| Action | Description |
|---|---|
activate | Activate a host. |
deactivate | Deactivate a host. |
approve | Approve a host. |
install | Install VDSM on a host. |
commitnetconfig | Save the network configuration. |