beautypg.com

Configure a basic iscsi setup – HP StorageWorks 1510i Modular Smart Array User Manual

Page 20

background image

2.

Configure a logical drive on a set of disks using the

add unit

command:

CLI> add unit 0 raid_level=5 data=disk101-disk105 size=100gb

Logical Unit size = 102398 MB

RAID overhead = 25597 MB

Total space occupied by new unit = 127995 MB

Free space left on this volume:

= 1064201 MB

Unit 0 is created successfully.

3.

Repeat the

add unit

command as needed, to configure the storage in to multiple logical drives.

Configuring a basic iSCSI setup (no access controls or

authentication)

The example commands in this section use the simplest syntax and many default parameters. You should

provide additional command arguments as required.

1.

Create an IP address for iSCSI data traffic using the

add ip

command:

CLI> add ip SA0 20.20.20.5

The IP address has been added successfully.

2.

Repeat the

add ip

command as required to configure addresses on multiple ports. Ports on the

primary controller are named SA0 and SA1. If you have a redundant array controller, the ports

are named SB0 and SB1.

3.

Use the

add portal

command to create an iSCSI portal that initiators will use to connect to the system:

CLI> add portal 20.20.20.5

The portal was added successfully.

Alias:

portal1

4.

Make a note of the portal alias, which is used in future commands to refer to the portal.

5.

Create a portal group using the

add portal_group

command:

CLI> add portal_group

The portal group was added successfully.

Alias:

pg1

Tag:

0

6.

Make a note of the portal group alias for use in future commands. Also make a note of the default

tag assigned to the portal group.

7.

Create an iSCSI target using the

add target

command:

CLI> add target

The iSCSI target was added successfully.

Name:

iqn.1986-03.com.hp.storage.msa1510i.sga043600g.target1

Alias:

target1

8.

Make a note of the iSCSI target node name and alias for use in future commands.

9.

Bind the portal to the portal group using the

bind portal

command:

CLI> bind portal portal1 pg1

The portal was bound successfully to the portal group.

20

Initial configuration sequence