Parameters
Keyword and Value
Description
Default Value
-i host group ID
The host group ID. The value
ranges from 0 to 31.
None.
Modes
Normal mode.
Level
Super administrator level, administrator level and guest level.
Usage Guidelines
When using this command, note the following items:
l
The command
showhostgroup
is used to query the information about all host groups.
l
The command
showhostgroup
-i
host group ID
is used to query the details about a specified
host group.
Example
Query the information about host group 2.
OceanStor: admin> showhostgroup -i 2
======================
Host Group Information
----------------------
ID | 2
Name | abc
OsType | Linux
======================
6.3.5 addhost
Function
The command
addhost
is used to add a host to a host group.
Format
addhost
[
-i
host group ID
]
-n
host name
OceanStor S2600 Storage System
Command Reference
6 Service Management Commands
Issue 07 (2010-05-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6-19