
2.
Perform one of the following, depending on whether the IQN was listed.
a.
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.
b.
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.
•
Using the
initiator add
command with the CLI:
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.
•
Using HP P6000 Command View: Add the initiator IQN using the Add Host function
(select
Hosts
in the Navigation pane, and then select
Add Host
).
3.
Enable CHAP for the iSCSI or iSCSI/FCoE port using HP P6000 Command View or the CLI.
•
If using HP P6000 Command View:
Choose the appropriate iSCSI or iSCSI/FCoE controller, select the IP Ports tab, and
then select the appropriate IP port.
a.
b.
Under Security, select
Enabled
in CHAP Status, then type in the CHAP secret. For
example: hpstorageworks
c.
Click the
Save Changes
tab to save the changes.
•
If using the CLI to enable CHAP for the iSCSI or iSCSI/FCoE port:
a.
Enter the
set chap
command.
b.
Select the appropriate Portal IQN name index to which the initiator will log in.
c.
Select
0
to enable CHAP.
d.
Enter a CHAP secret. For example: hpstorageworks.
4.
Enable CHAP for the iSCSI or iSCSI/FCoE presented target. To enable CHAP for the Discovered
iSCSI Initiator entry using the CLI:
a.
Enter the
set chap
command.
b.
Select the presented target to which the initiator will log in.
c.
Enable CHAP and enter a CHAP secret. For example: hpstorageworks.
16
Reviewing and confirming your plans