No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference for Block

OceanStor Dorado V3 Series V300R002

This document is applicable to OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3 and Dorado18000 V3. Based on the CLI provided by the DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show initiator

show initiator

Function

The show initiator command is used to query details on host initiators configured for the storage system.

Format

show initiator [ host_id=? | isfree=? | initiator_type=? [ wwn=? | iscsi_iqn_name=? ] ] *

Parameters

Parameter

Description

Value

host_id=?

ID of a host.

To obtain the value, run "show host general".

isfree=?

Status of an initiator. This parameter can display the information on idle or engaged initiators.

The value can be "yes" or "no", where:

  • "yes": An initiator is idle and can be added to a host.
  • "no": An initiator has been engaged by a host and cannot be added to another host.

initiator_type=?

Type of an initiator.

The value can be "iSCSI" or "FC", where:

  • "iSCSI": indicates Internet Small Computer System Interface (iSCSI) initiators.
  • "FC": indicates Fibre Channel initiators.

wwn=?

World Wide Name (WWN) of a Fibre Channel initiator. This parameter is valid only when initiator_type=? is set to "FC".

To obtain the value, run "show initiator" without parameters.

iscsi_iqn_name=?

iSCSI qualified name (IQN) of an iSCSI initiator. This parameter is valid only when initiator_type=? is set to "iSCSI".

To obtain the value, run "show initiator" without parameters.

Level

Guest

Usage Guidelines

  • To query details on existing host initiators, run show initiator.
  • To query details on initiators for a specific host, run show initiator host_id=?.
  • To query the information on idle or engaged initiators, run show initiator is_free=?.
  • To query details on a specific type of initiators, run show initiator initiator_type=? [ wwn=? | iscsi_iqn_name=? ]. For this command line, you can specify an initiator that you want to query among the specified type of initiators by assigning an actual WWN or IQN.

Example

  • Query information about all the host initiators.
    admin:/>show initiator 
    WWN  Running Status  Free  Alias  Host ID  Multipath Type  Failover Mode  Path Type  Special Mode Type 
    ---------------- -------------- ---- ----- ------- -------------- ------------- --------------------- ----------------- 
    4578963215478122 Offline Yes -- -- Third-party  Common ALUA  Optimized -- 
    iSCSI IQN  Running Status  Free  Alias  Host ID  CHAP Enabled  CHAP User  Multipath Type  CHAP Target User  Discovery Chap Type  Normal Chap Type  Failover Mode  Path Type  Special Mode Type 
    ------------ -------------- ---- --- --- ---------- --------- -------------- --------------- -------------- --------------  -------------  ---------------------  ----------------- 
    AAAAAAAAA Offline Yes -- -- Yes sefgsd Third-party user1 none single  Common ALUA  Optimized --
  • Query information about the initiators of the host whose ID is "0".
    admin:/>show initiator host_id=0 
     
    WWN  Running Status  Free  Alias  Host ID  Multipath Type  Failover Mode  Path Type  Special Mode Type 
    ---------------- -------------- ---- ----- ------- -------------- ------------- --------------------- ----------------- 
    2009200bc79b9952 Online No -- 0 Third-party  Common ALUA  Optimized --
  • Query information about all the free initiators.
    admin:/>show initiator isfree=yes 
     
    WWN  Running Status  Free  Alias  Host ID  Multipath Type  Failover Mode  Path Type  Special Mode Type 
    ---------------- -------------- ---- ----- ------- -------------- ------------- --------------------- ----------------- 
    XXXXXXXXXXXXXXXX Online Yes -- -- Third-party  Common ALUA  Optimized --
  • Query details on iSCSI initiators.
    admin:/>show initiator initiator_type=iSCSI 
    iSCSI IQN Running Status Free Alias Host ID CHAP Enabled CHAP User Multipath Type CHAP Target User Discovery Chap Type Normal Chap Type  Failover Mode  Path Type  Special Mode Type 
    ------------ -------------- ---- --- --- ---------- --------- -------------- --------------- -------------- --------------  -------------  ---------------------  ----------------- 
    AAAAAAAAA Offline Yes -- -- Yes sefgsd Third-party user1 none single Common ALUA  Optimized --

System Response

The following table describes the parameter meanings.

Parameter

Meaning

WWN

WWN of a Fibre Channel initiator.

iSCSI IQN

IQN of an iSCSI initiator.

Running Status

Operating status of an initiator.

Free

Whether an initiator is free.

Alias

Initiator alias.

Host ID

Host ID.

CHAP Enabled

Whether CHAP authentication is enabled.

CHAP User

CHAP user name for the target to authenticate the initiator.

Multipath Type

Multipathing mode.

  • Default: Huawei multipathing software is used.
  • Third-party: Third-party multipathing software is used.

CHAP Target User

CHAP user name for the initiator to authenticate the target.

Discovery Chap Type

CHAP type during the Discovery phase.

Normal Chap Type

CHAP type during the Normal phase.

Noop In Interval

Interval of iSCSI targets sending keepalive packets to initiators.

Failover Mode

Failover mode of the initiator.

  • Old ALUA: ALUA of an earlier version.
  • Common ALUA: common ALUA.
  • No ALUA: ALUA not used.
  • Special Mode: special mode.

Path Type

Path type of the initiator.

  • Optimized: optimized path.
  • Non-optimized: non-optimized path.

Special Mode Type

Special mode type of the initiator.

  • Mode0: special mode 0.
  • Mode1: special mode 1.
  • Mode2: special mode 2.
  • Mode3: special mode 3.
Translation
Download
Updated: 2019-07-16

Document ID: EDOC1100049140

Views: 114803

Downloads: 134

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next