HP MSA2324sa HP StorageWorks 2300 Family Modular Smart Array CLI reference gui - Page 35
create chap-record
View all HP MSA2324sa manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 35 highlights
create chap-record Description For iSCSI, creates a CHAP record to authenticate login requests. When CHAP is enabled, the record enables authentication between the originator (initiator) and recipient (target) of a login request. This command is permitted whether or not CHAP is enabled. The CHAP record can specify one name-secret pair to authenticate the originator only (one-way CHAP) or two pairs to authenticate both the originator and the recipient (mutual CHAP). For a login request from an iSCSI host to a storage system, the host is the originator and the storage system is the recipient. Syntax create chap-record name originator-name secret originator-secret [mutual-name recipient-name mutual-secret recipient-secret] Parameters name originator-name The originator name; typically the originator's IQN. The name can have a maximum of 223 bytes, including 0-9, lowercase a-z, hyphen, colon, and period. secret originator-secret The secret that the recipient uses to authenticate the originator. The secret is case sensitive and can include 12-16 bytes. mutual-name recipient-name Optional; for mutual CHAP only. The recipient name; typically the recipient's IQN. The name can have a maximum of 223 bytes, including 0-9, lowercase a-z, hyphen, colon, and period. A storage system's IQN is a controller host-port name without its .a or .b suffix; see the Port-Name field shown by the show host-parameters command. This parameter and mutual-secret must be set together. mutual-secret recipient-secret Optional; for mutual CHAP only. The secret that the originator uses to authenticate the recipient. The secret is case sensitive, can include 12-16 bytes, and must differ from the originator secret. A storage system's secret is shared by both controllers. This parameter and mutual-name must be set together. Example Create a one-way CHAP record to enable a storage system to authenticate a host initiator: # create chap-record name iqn.1991-05.com.microsoft:myHost.domain secret 123456abcDEF Success: created CHAP record for iqn.1991-05.com.microsoft:myHost.domain See also • delete chap-records • set chap-record • show chap-records • show host-parameters • show iscsi-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 35