beautypg.com

HP StorageWorks 1510i Modular Smart Array User Manual

Page 21

background image

10.

Use the

bind portal_group

to bind the portal group to the iSCSI target just created:

CLI> bind portal_group pg1 target1

The portal group was bound successfully to the target.

11.

Bind logical drives to the iSCSI target using the

bind unit

command:

CLI> bind unit 0 target1 1

On Target target1:

LUN 1 mapped to Unit 0

Alias:

lun1t1

12.

Repeat the

bind unit

command as required to bind several logical drives to the target.

13.

Use the

add initiator

command to create an entry for the iSCSI initiator to enable it to access the

system:
CLI> add initiator iqn.1991-05.com.microsoft:myini.domain.com

The initiator was added successfully.

Name:

iqn.1991-05.com.microsoft:myini.domain.com

Alias:

initiator1

NOTE:

The iSCSI node name of your initiator can be found under the Initiator Settings tab of the Microsoft

iSCSI Initiator control panel window.

Configuration of a basic setup with a single iSCSI target, portal, and initiator is now complete. The

initiator has full access to the LUNs on the target and is not required to provide any authentication

information to log in.

Configuring CHAP authentication for iSCSI connections

NOTE:

The steps in this section assume that you already have a basic iSCSI setup configured.

1.

Set up a target CHAP secret (password) for one-way authentication using the

set target_chap

command:
CLI> set target_chap target1 mychapsecret123

The CHAP settings have been applied.

2.

Activate CHAP authentication for the target using the

set iscsi_keys

command:

CLI> set iscsi_keys target1 authentication=chap

The new values were set successfully.

3.

[Optional] Set up an initiator CHAP secret for mutual authentication using the

set initiator_chap

command:
CLI> set initiator_chap initiator1 inichapsecret123

The CHAP settings have been applied.

1510i Modular Smart Array Command Line Interface user guide

21