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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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).
create initiator iscsi

create initiator iscsi

Function

The create initiator iscsi command is used to create Internet Small Computer System Interface (iSCSI) initiators. You can enable hosts to access storage resources of the storage system using created initiators.

Format

create initiator iscsi iscsi_iqn_name=? [ alias=? | chap_enabled=? [ chap_user=? ] [ discovery_chap_type=? normal_chap_type=? ] | host_id=? ] *

Parameters

Parameter

Description

Value

iscsi_iqn_name=? IQN of an iSCSI initiator.

The value contains 1 to 223 characters (32 < ASCII code < 127) and must start with a letter or a digit.

alias=? Alias of an initiator.

The value contains 1 to 31 characters including digits, letters, underscores (_), periods (.) and hyphens (-).

chap_enabled=? Whether or not to enable the CHAP function for iSCSI initiators.

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

  • "yes": CHAP authentication will be enabled.
  • "no": CHAP authentication will be disabled.
The default value is "no".
chap_user=? Name of a CHAP user. This parameter is required when chap_enabled=? is set to "yes".

The value contains 4 to 223 characters (32 < ASCII code < 127) and must start with a letter or a digit.

discovery_chap_type=? CHAP type during the iSCSI Discover phase. When "chap_enabled=?" is set to "yes", this parameter is optional.

The value can be:

1."none"

2."single"

3."double".

normal_chap_type =? CHAP type during the iSCSI Discover phase. When "chap_enabled=?" is set to "yes", this parameter is optional.

The value can be:

1."none"

2."single"

3."double".

host_id=? Host ID. Before delivering the host ID parameter in the command of creating an iSCSI initiator, ensure that an initiator is added to the host.

To obtain the value, run "show host general"

Level

Administrator

Usage Guidelines

  • Running this command with chap_enabled=? set to "yes" will prompt you to type CHAP passwords in interaction mode. The passwords are subject to the following conditions:
    • Each password is case sensitive and contains 12 to 16 characters.
    • Each password must be a combination of at least three of the following items:
      • Lowercase characters
      • Uppercase characters
      • Numbers
      • Special characters and the following: ` ~ ! @ # $ % ^ & * ( ) - _ = + \ | [ { } ] ; : ' " , < . > / ?
    • Each password must be different from a user name that is either in its normal or reverse order.
  • When "chap_enabled=?" is set to "yes" and parameters "discovery_chap_type" and "normal_chap_type" are not configured, "normal_chap_type =?" is set to "single" by default.
  • Running this command with parameters "discovery_chap_type" and "normal_chap_type" not set to "double" and parameter "chap_user" selected will prompt you to type the password for the target to authenticate the initiator in interaction mode.
  • Running this command with parameters "discovery_chap_type" and "normal_chap_type" set to "double" and parameter "chap_user" selected will prompt you to type the user name (the user name setting follows the rules of "chap_user" setting) and password for the initiator to authenticate the target and those for the target to authenticate the initiator in interaction mode.

Example

To create the iSCSI initiator whose IQN is "iqn.01", run the following command:

admin:/>create initiator iscsi iscsi_iqn_name=iqn.01
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 264775

Downloads: 178

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