Parameters
Keyword and Value
Description
Default Value
-n name
The name of a host group.
The name contains 1 to 32
characters, including
numbers, letters,
underscores, and hyphens.
The first character cannot be
a hyphen. The name of a host
group is case sensitive, and
must be unique.
None.
-t OS type
The OS type. The value
ranges from 0 to 4:
l
0: Linux.
l
1: Windows.
l
2: Solaris.
l
3: HP-UX.
l
4: AIX.
None.
Modes
Normal mode.
Level
Super administrator level and administrator level.
Usage Guidelines
The command
createhostgroup
is used to create a host group.
Example
Create a host group with name abc, and the OS type is Linux.
OceanStor: admin> createhostgroup -n abc -t 0
6.3.2 deletehostgroup
Function
The command
deletehostgroup
is used to delete a host group.
Format
deletehostgroup
[
-f
]
-i
host group ID
6 Service Management Commands
OceanStor S2600 Storage System
Command Reference
6-16
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)