
1.
Run the
set chap
command in the iSCSI CLI to determine if the iSCSI initiator IQN is listed.
MEZ75 (admin) #> set chap
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.
Index iSCSI Name
----- ----------
0 iqn.2004-09.com.hp:fcgw.mez75.1
1 iqn.2004-09.com.hp:fcgw.mez75.1
2 iqn.2004-09.com.hp:fcgw.mez75.1.01.5001438004c68968
3 iqn.2004-09.com.hp:fcgw.mez75.1.01.5001438004c6896c
4 iqn.2004-09.com.hp:fcgw.mez75.1.02.5001438004c68968
5 iqn.2004-09.com.hp:fcgw.mez75.1.03.5001438004c68968
6 iqn.2004-09.com.hp:fcgw.mez75.1.04.5001438004c68968
7 iqn.2004-09.com.hp:fcgw.mez75.1.02.5001438004c6896c
8 iqn.2004-09.com.hp:fcgw.mez75.1.03.5001438004c6896c
9 iqn.2004-09.com.hp:fcgw.mez75.1.04.5001438004c6896c
10 iqn.1991-05.com.microsoft.perf2.sanbox.com
Please select a iSCSI node from the list above ('q' to quit): 10
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.
CHAP (0=Enable, 1=Disable) [Disabled] 0
CHAP Secret (Max = 100 characters) [ ] ************
All attribute values that have been changed will now be saved.
If the iSCSI initiator IQN is listed, enter the index number of the initiator. Then, enter 0 (zero)
to enable CHAP, and enter the CHAP secret as shown in the CLI example.
2.
If the iSCSI initiator IQN is not listed, you can use either the CLI or HP P6000 Command View
to add the iSCSI initiator IQN:
•
CLI: Use the initiator add command.
MEZ75 (admin) #> initiator add
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.
Initiator Protocol (0=ISCSI, 1=FC, 2=FCOE) [ISCSI ] 0
Only valid iSCSI name characters will be accepted. Valid characters include
lower-case alphabetical (a-z), numerical (0-9), colon, hyphen, and period.
iSCSI Initiator Name (Max = 223 characters) [ ] iqn.1991-05.com.microsoft.perf2.sanbox.com
OS Type (0=Windows, 1=Linux, 2=Solaris,
3=OpenVMS, 4=VMWare, 5=Mac OS X,
6=Windows2008, 7=HP-UX, 8=AIX,
9=Other) [Windows ] 6
All attribute values that have been changed will now be saved.
•
HP P6000 Command View: Add the iSCSI initiator IQN using the Add Host function
(select
Hosts
in the Navigation pane, and then select
Add Host
).
To enable CHAP for the Microsoft iSCSI initiator running on the iSCSI server:
14
Reviewing and confirming your plans