此内容没有您所选择的语言版本。

4.9. hosts


The host resource type groups all host resources in a Red Hat Storage Console.
Expand
Table 4.19. 
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
Copy to Clipboard Toggle word wrap

Example 4.18. Updating a host

[RHSC shell (connected)]# update host Host1 --name Host2
Copy to Clipboard Toggle word wrap

Example 4.19. Deleting a host

[RHSC shell (connected)]# remove host Host1
Copy to Clipboard Toggle word wrap
The following table lists actions for a host resource.
Expand
Table 4.20. Host actions
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.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat