Keyword and Value Description Default Value
-n host group name The changed name of the 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 changed OS type for a
host group. 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
After changing the name and the OS type of a host group, you can run the command
showhostgroup to view the details about the host group.
Example
Change the name of the host group 2 to bcd and the OS type to Windows.
OceanStor: admin> chghostgroup -i 2 -n bcd -t 1
6.3.4 showhostgroup
Function
The command showhostgroup is used to query the details about a host group.
Format
showhostgroup [ -i host group ID ]
6 Service Management Commands
OceanStor S2600 Storage System
Command Reference
6-18 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)