Displays the information about all host groups or an iSCSI target that are defined on the specified port.
Syntax
raidcom get host_grp {-port <port#> [<host group name>]| -allports} [-key <keyword>]
Options and parameters
- -port <port#> [<host group name>]
-
Specifies the port number, host group ID, and host group name (iSCSI target name for iSCSI). If the host group name or the iSCSI target name is more than 64 characters, use the host group ID or the iSCSI target ID.
For example:
- CLI-A
- CL1-A-g (g is from 0 to 254)
- CL1-A Linux_X86
- CL1-A Target00
If you specified the above settings, the information about all host groups that are defined on the specified port is displayed regardless of the examples.
- -allports
-
Displays the information about the host groups or the iSCSI target that is set to all ports.
- [-key <keyword>]
-
Specifies the information to be displayed. Shows display keywords can be specified in <keyword> as follows:
- host_grp: Specifies the host group IDs that are not installed.
- server: Specifies the information about the server managed by Storage Advisor Embedded on which the host group or the iSCSI target is registered.
This parameter can be specified only for VSP G130, G/F350, G/F370, G/F700, G/F900.
- detail: Specifies the option to display the resource group ID of the host groups or iSCSI targets. -key detail and -allports cannot be specified at the same time. When the -key detail is specified, host group information about both implemented and unimplemented host groups is displayed.
Example
Displaying the host group information set for the port: CL4-E (in case of FIBRE, FCoE (Fibre Channel over Ethernet), HNASS, or HNASU).
# raidcom get host_grp -port CL4-E
PORT GID GROUP_NAME Serial# HMD HMO_BITs CL4-E 0 Linux_x86 63528 LINUX/IRIX 2 13 CL4-E 1 Solaris 63528 SOLARIS 2 22 CL4-E 2 HP-UX 63528 HP-UX 40 CL4-E 3 Win_export 63528 WIN_EX 7 CL4-E 5 DEC 63528 TRU64 14 CL4-E 6 OpenVMS 63528 OVMS CL4-E 254 RMTEST 63528 LINUX 7
# raidcom get host_grp -port CL4-E -key host_grp
PORT GID GROUP_NAME Serial# HMD HMO_BITs CL4-E 0 Linux_x86 63528 LINUX/IRIX 2 13 CL4-E 1 Solaris 63528 SOLARIS 2 22 CL4-E 2 HP-UX 63528 HP-UX 40 CL4-E 3 Win_export 63528 WIN_EX 7 CL4-E 5 DEC 63528 TRU64 14 CL4-E 6 OpenVMS 63528 OVMS CL4-E 10 - 63528 - CL4-E 11 - 63528 - CL4-E 12 - 63528 - CL4-E 13 - 63528 - CL4-E 254 RMTEST 63528 LINUX 7
Displaying the iSCSI target information set for the port: CL4-E (in case of iSCSI)
# raidcom get host_grp -port CL4-E
PORT GID GROUP_NAME IQN AMD D Serial# HMD HMO_BITs CL4-E 0 Linux_x86 iqn.z1… CHAP S 63528 LINUX/IRIX 2 13 CL4-E 1 Solaris iqn.z2… CHAP S 63528 SOLARIS 2 22 CL4-E 2 HP-UX iqn.z3… CHAP S 63528 HP-UX 40
Displaying the information about the host groups or the iSCSI targets that are set for the port: CL4-E (in case of iSCSI and Fibre Channel)
# raidcom get host_grp -port CL4-E -key server
PORT GID GROUP_NAME Serial# SRVID SRV_NAME CL4-E 0 Linux_x86 63528 N - CL4-E 1 Solaris 63528 1 "server01" CL4-E 2 HP-UX 63528 N - CL4-E 3 Win_export 63528 N - CL4-E 5 DEC 63528 N - CL4-E 6 OpenVMS 63528 N - CL4-E 254 RMTEST 63528 N -
Displaying the resource group information about the host groups or the iSCSI targets that are set for the port: CL4-E (in case of iSCSI or Fibre Channel)
# raidcom get host_grp -port CL4-E -key detail PORT GID RGID GROUP_NAME Serial# HMD HMO_BITs CL4-E 0 0 "Linux_x86" 63528 LINUX/IRIX 2:13 CL4-E 1 0 "Solaris" 63528 SOLARIS 2:22 CL4-E 2 1 "HP-UX" 63528 HP-UX 40 CL4-E 3 0 "Win_export" 63528 WIN_EX 7 CL4-E 5 0 "DEC" 63528 TRU64 14 CL4-E 6 0 "OpenVMS" 63528 OVMS - CL4-E 10 0 - 63528 - - CL4-E 11 0 - 63528 - - CL4-E 12 0 - 63528 - - CL4-E 13 0 - 63528 - - CL4-E 254 0 "RMTEST" 63528 LINUX -
Displaying the information about the host groups or the iSCSI targets that are set to all ports
# raidcom get host_grp -allports
PORT GID GROUP_NAME Serial# HMD CL1-A 0 Linux_x86 63528 LINUX/IRIX CL1-A 1 Solaris 63528 SOLARIS CL1-A 2 HP-UX 63528 HP-UX CL1-A 3 Win_export 63528 WIN_EX CL1-A 5 DEC 63528 TRU64 CL1-A 6 OpenVMS 63528 OVMS CL1-A 254 RMTEST 63528 LINUX CL1-B 0 Linux_x86 63528 LINUX/IRIX CL1-B 1 Solaris 63528 SOLARIS CL1-B 2 HP-UX 63528 HP-UX CL1-B 3 Win_export 63528 WIN_EX CL1-B 5 DEC 63528 TRU64 CL1-B 6 OpenVMS 63528 OVMS CL1-B 254 RMTEST 63528 LINUX
# raidcom get host_grp -allports -key host_grp
PORT GID GROUP_NAME Serial# HMD CL1-A 0 Linux_x86 63528 LINUX/IRIX CL1-A 1 Solaris 63528 SOLARIS CL1-A 2 HP-UX 63528 HP-UX CL1-A 3 Win_export 63528 WIN_EX CL1-A 5 DEC 63528 TRU64 CL1-A 6 OpenVMS 63528 OVMS CL1-A 10 - 63528 - CL1-A 11 - 63528 - CL1-A 12 - 63528 - CL1-A 13 - 63528 - CL1-A 254 RMTEST 63528 LINUX CL1-B 0 Linux_x86 63528 LINUX/IRIX CL1-B 1 Solaris 63528 SOLARIS CL1-B 2 HP-UX 63528 HP-UX CL1-B 3 Win_export 63528 WIN_EX CL1-B 5 DEC 63528 TRU64 CL1-B 6 OpenVMS 63528 OVMS CL1-B 10 - 63528 - CL1-B 11 - 63528 - CL1-B 12 - 63528 - CL1-B 13 - 63528 - CL1-B 254 RMTEST 63528 LINUX
# raidcom get host_grp -allports -key server
PORT GID GROUP_NAME Serial# SRVID SRV_NAME CL1-A 0 Linux_x86 63528 N - CL1-A 1 Solaris 63528 1 "server01" CL1-A 2 HP-UX 63528 N - CL1-A 3 Win_export 63528 N - CL1-A 5 DEC 63528 N - CL1-A 6 OpenVMS 63528 N - CL1-A 254 RMTEST 63528 N - CL1-B 0 Linux_x86 63528 N - CL1-B 1 Solaris 63528 N - CL1-B 2 HP-UX 63528 N - CL1-B 3 Win_export 63528 N - CL1-B 5 DEC 63528 N -
Displaying only the host group IDs that are allocated to available resource groups for users.
Description of each column in output example:
- PORT
-
Displays the port number.
- GID
-
Displays the host group ID of a port.
- GROUP_NAME
-
Displays the host group name of a port or target alias.
For unimplemented host groups or target aliases, a hyphen (-) is displayed. If the -key option is specified, a double quotation (") is added to the beginning and end of the name of the implemented host groups or target aliases.
- IQN
-
Displays the iSCSI Qualified Name of the port.
- AMD
-
Displays the authentication mode of the iSCSI target.
- CHAP: CHAP authentication is enabled.
- NONE: Authentication is disabled.
- BOTH: Both CHAP authentication and connection by no-authentication are enabled.
- D
-
Displays the direction of the authentication mode of the iSCSI target.
- S: Unidirectional (An initiator is recognized from the target side)
- D: Bidirectional (An initiator is recognized from the target side, and a target is recognized from the initiator)
- Serial#
-
Product serial number.
- The serial number for VSP 5000 series is displayed with a "5" at the beginning ("512345" = serial number 12345).
- The serial number for VSP G1x00 and VSP F1500 is displayed with a "3" at the beginning ("312345" = serial number 12345).
- HMD
-
Displays the following HOST MODE for the host adapter setting on host group.
- HP-UX, SOLARIS, AIX, WIN, LINUX/IRIX, TRU64, DYNIX, OVMS, NETWARE, HI-UX
- VMWARE, HP-XP, VMWARE_EX, WIN_EX, UVM
- HMO_BITs
-
Displays the host mode options of the host group. For details, see the Provisioning Guide for the storage system.
If the host mode options are two or more, when case the -key detail option is specified, the host mode options which are set are displayed separately by a colon (:). If the -key detail option is specified, when there is no host mode option that is set, a hyphen (-) is displayed.
- SRVID
- Displays the server ID for the Storage Advisor Embedded on which the host groups or the iSCSI targets are registered in decimal. Displays ”N” if they are not registered on the server. Displays a hyphen (-) if the microcode version does not support the server ID indication.
- SRV_NAME
- Displays the nickname of the server identified by SRVID. A double quotation (") is added at the beginning and end of the server nickname. A hyphen (-) is displayed if SRVID is" N "or hyphen (-).
- RSGID
- Displays the resource group ID of the host groups or the iSCSI targets.