You can set up iSCSI storage using the vSphere Web Client, commands in the esxcli iscsi namespace (see iSCSI Storage Setup with ESXCLI) or the vicfg-iscsi command.Software iSCSI setup requires a number of high-level tasks. For each task, see the discussion of the corresponding command-line option in this chapter or the reference information. Specify one of the options listed in Connection Options in place of <conn_options>.
6 [-i <stor_ip_addr|stor_hostname> [:<portnum>] [-n <iscsi_name]] <adapter_name>[- -ip <stor_ip_addr|stor_hostname> [:<portnum>] [-name <iscsi_name]]
-i and -n Neither -i nor -n
7 (Optional) Set the authentication information for mutual CHAP by running vicfg-iscsi -A again with the -b option and a different authentication user name and password.
■ chapProhibited – The host does not use CHAP authentication. If authentication is enabled, specify chapProhibited to disable it.
■ chapRequired – The host requires successful CHAP authentication. The connection fails if CHAP negotiation fails. You can set this value for mutual CHAP only if CHAP is set to chapRequired.
8 (Optional) Set iSCSI parameters by running vicfg-iscsi -W.
9 Dependent hardware iSCSI setup requires a number of high-level tasks. For each task, see the discussion of the corresponding command-line option in this chapter, or the reference information. Specify one of the options listed in Connection Options in place of <conn_options>.
5 [-i <stor_ip_addr|stor_hostname> [:<portnum>] [-n <iscsi_name]] <adapter_name>[- -ip <stor_ip_addr|stor_hostname> [:<portnum>] [-name <iscsi_name]]
-i and -n Neither -i nor -n
6 (Optional) Set the authentication information for mutual CHAP by running vicfg-iscsi -A again with the -b option and a different authentication user name and password.
■ chapProhibited – The host does not use CHAP authentication. If authentication is enabled, specify chapProhibited to disable it.
■ chapRequired – The host requires successful CHAP authentication. The connection fails if CHAP negotiation fails. You can set this value for mutual CHAP only if CHAP is set to chapRequired.
7 (Optional) Set iSCSI parameters by running vicfg-iscsi -W.
8 Hardware iSCSI setup requires a number of high-level tasks. For each task, see the discussion of the corresponding command-line option in this chapter, the manpage (Linux), or the reference information. Specify one of the options listed in Connection Options in place of <conn_options>.
2 Configure the hardware initiator (HBA) by running vicfg-iscsi -N with one or more of the following options.
■ --list – List network properties.
■ --ip <ip_addr> – Set HBA IPv4 address.
■ --subnetmask <subnet_mask> – Set HBA network mask.
■ --gateway <default_gateway> – Set HBA gateway.
■ --set ARP=true|false – Enable or disable ARP redirect.
5 You can set the information for per adapter, per discovery, and per target CHAP. See Setting iSCSI CHAP and Enabling iSCSI Authentication.[- -ip <stor_ip_addr|stor_hostname> [:<portnum>] [-name <iscsi_name]]
-i and -n Neither -i nor -n
6 (Optional) Set additional iSCSI parameters by running vicfg-iscsi -W.
7