HP D2D HP StorageWorks Linux and UNIX configuration guide for D2D Backup Syste - Page 29

How to manually con the iSCSI software initiator using the command line

Page 29 highlights

tape autoch 1 255/0/2.0.0.0 stape CLAIMED /dev/rmt/1m /dev/rmt/1mb /dev/rmt/1mn /dev/rmt/1mnb 0 255/0/3.0.0.0 schgr CLAIMED /dev/rac/c7t0d0 DEVICE HP Ultrium 3-SCSI /dev/rmt/c6t0d0BEST /dev/rmt/c6t0d0BESTb /dev/rmt/c6t0d0BESTn /dev/rmt/c6t0d0BESTnb DEVICE HP 1x8 G2 AUTOLDR How to manually configure the iSCSI software initiator using the command line The command line tool for configuring the HP-UX iSCSI software initiator is iscsiutil. Detailed instructions for iscsiutil can be found in the iscsiutil(1M) man documents. The following instructions provide the minimum steps required to connect an HP-UX host to an HP StorageWorks D2D Backup System. 1. Add the path for iscsiutil and other iSCSI executables to the root path: # PATH=$PATH:/opt/iscsi/bin 2. Find the iSCSI initiator node for the HP-UX host: # iscsiutil -l Initiator Name : iqn.1986-03.com.hp:mantis.ef28ceae-7203-11dc-82a4 -bf88291ef301 This initiator node name is required by the HP StorageWorks D2D Backup System web management interface when manually configuring library devices. 3. To discover available iSCSI target devices on a HP StorageWorks D2D Backup System and add them to iSCSI persistent information type the following, where x.x.x.x is the IP address of the HP StorageWorks D2D Backup System: # iscsiutil -aI x.x.x.x The response will be: Target address "x.x.x.x:3260,1" has been successfully added. 4. To display the discovery target that has been configured, type the following: # iscsiutil -pD The output will be similar to this: Discovery Target Information Target # 1 ----------- IP Address : x.x.x.x iSCSI TCP Port : 3260 iSCSI Portal Group Tag : 1 User Configured: Authenticaton Method : CHAP Method : CHAP_UNI Initiator CHAP Name : CHAP Secret : Header Digest : None,CRC32C (default) Data Digest : None,CRC32C (default) D2D Backup System 29

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52

tape
1
255/0/2.0.0.0
stape
CLAIMED
DEVICE
HP
Ultrium 3-SCSI
/dev/rmt/1m
/dev/rmt/c6t0d0BEST
/dev/rmt/1mb
/dev/rmt/c6t0d0BESTb
/dev/rmt/1mn
/dev/rmt/c6t0d0BESTn
/dev/rmt/1mnb
/dev/rmt/c6t0d0BESTnb
autoch
0
255/0/3.0.0.0
schgr
CLAIMED
DEVICE
HP
1x8 G2 AUTOLDR
/dev/rac/c7t0d0
How to manually configure the iSCSI software initiator using the command line
The command line tool for configuring the HP-UX iSCSI software initiator is
iscsiutil
. Detailed
instructions for
iscsiutil
can be found in the iscsiutil(1M) man documents. The following instructions
provide the minimum steps required to connect an HP-UX host to an HP StorageWorks D2D Backup
System.
1.
Add the path for iscsiutil and other iSCSI executables to the root path:
# PATH=$PATH:/opt/iscsi/bin
2.
Find the iSCSI initiator node for the HP-UX host:
# iscsiutil -l
Initiator Name
: iqn.1986-03.com.hp:mantis.ef28ceae-7203-11dc-82a4
-bf88291ef301
This initiator node name is required by the HP StorageWorks D2D Backup System web
management interface when manually configuring library devices.
3.
To discover available iSCSI target devices on a HP StorageWorks D2D Backup System and add
them to iSCSI persistent information type the following, where
x.x.x.x
is the IP address of the
HP StorageWorks D2D Backup System:
# iscsiutil –aI x.x.x.x
The response will be:
Target address “x.x.x.x:3260,1” has been successfully added.
4.
To display the discovery target that has been configured, type the following:
# iscsiutil –pD
The output will be similar to this:
Discovery Target Information
----------------------------
Target # 1
-----------
IP Address
: x.x.x.x
iSCSI TCP Port
: 3260
iSCSI Portal Group Tag : 1
User Configured:
----------------
Authenticaton Method
:
CHAP Method
: CHAP_UNI
Initiator CHAP Name
:
CHAP Secret
:
Header Digest
: None,CRC32C (default)
Data Digest
: None,CRC32C (default)
D2D Backup System
29