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
OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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).
add host initiator

add host initiator

Function

The add host initiator command is used to add an initiator for a host.

Format

add host initiator { host_id=? | host_name=? } initiator_type=? { wwn=? | iscsi_iqn_name=? } [ alias=? ]

Parameters

Parameter

Description

Value

host_id=? ID of the host to that you want to add an initiator.

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

host_name=? Name of the host to that you want to add an initiator.

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

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.
iscsi_iqn_name=? iSCSI qualified name (IQN) of an iSCSI initiator.

You can specify only one iSCSI initiator.

To obtain the value, run "show initiator".

wwn=? World Wide Name (WWN) of a Fibre Channel initiator.

You can specify only one Fibre Channel initiator.

To obtain the value, run "show initiator".

alias=? Alias of an initiator.

To obtain the value, run "show initiator".

Level

Administrator

Usage Guidelines

  • The host to which you want to add initiators has been created.
  • Initiators have been created on the storage system.
  • An initiator that you want to add must be in the idle state, which means the initiator has not been engaged by any hosts.
  • A host can be added with a maximum of 32 initiators.

Example

  • Add an iSCSI initiator whose IQN is "iqn.01" to host "2".

    admin:/>add host initiator host_id=2 initiator_type=iSCSI iscsi_iqn_name=iqn.01
    DANGER: You are about to add initiator to host.
    Suggestion: Before performing this operation, determine whether the initiator that you have selected belongs to the host.
    Have you read danger alert message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • Add an iSCSI initiator whose IQN is "iqn.01" to host "hostname".

    admin:/>add host initiator host_id=2 initiator_type=iSCSI iscsi_iqn_name=iqn.01
    DANGER: You are about to add initiator to host.
    Suggestion: Before performing this operation, determine whether the initiator that you have selected belongs to the host.
    Have you read danger alert message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • Add a Fibre Channel initiator whose WWN is "455856585f654578" to host "6".

    admin:/>add host initiator host_id=6 initiator_type=FC wwn=455856585f654578
    DANGER: You are about to add initiator to host.
    Suggestion: Before performing this operation, determine whether the initiator that you have selected belongs to the host.
    Have you read danger alert message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • Add a Fibre Channel initiator whose WWN is "455856585f654578" to host "hostname".

    admin:/>add host initiator host_name=hostname initiator_type=FC wwn=455856585f654578
    DANGER: You are about to add initiator to host.
    Suggestion: Before performing this operation, determine whether the initiator that you have selected belongs to the host.
    Have you read danger alert message carefully?(y/n)y
     
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2020-03-19

Document ID: EDOC1000181601

Views: 406289

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next