How To Configure The Iscsi Software Initiator Using The D2Dsetup Script; How To Manually Configure The Iscsi Software Initiator Using The Command Line - HP StoreOnce B6000 Configuration Manual

Hp b6000 storeonce backup system linux and unix configuration guide
Hide thumbs Also See for StoreOnce B6000:
Table of Contents

Advertisement

# iSCSI-00 B.11.31.01 HP-UX iSCSI Software Initiator
iSCSI-00.ISCSI-SWD B.11.31.01 HP-UX iSCSI Software Initiator
8.
Issue the ioscan command as follows:
HP-UX 1 1i V2
# ioscan -fnC iscsi
HP-UX 1 1i V3
# ioscan -fnNC iscsi
If the software is installed correctly, the generated output will look similar to this:
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
iscsi 0 255/0 iscsi CLAIMED VIRTBUS iSCSI Virtual Node

How to configure the iSCSI software initiator using the D2Dsetup script

Use the D2Dsetup script to configure the iSCSI software initiator automatically. You must provide
the IP address as a parameter to the script.
# D2Dsetup <IP_address>
If you wish to configure CHAP authentication, you should also provide the user name and password
for the initiator and the target, if required.
# D2Dsetup <Initiator_CHAP_Username> <Initiator_CHAP_Password>
<Target_CHAP_Username> <Target_CHAP_Password> <IP_address>
The response from the HP StoreOnce Backup System will be similar to the following:
HP StoreOnce Backup System Linux and UNIX iSCSI Configuration Tool
Detecting OS...................................done
Checking iSCSI package.........................done
Contacting HP StoreOnce Backup System...done
Discovering available targets..................done
Configuring drivers............................done
Configuring CHAP authentication................done
The following library devices are configured:
tape
1
autoch
0

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 StoreOnce
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
This initiator node name is required by the HP StoreOnce Backup System web management
interface when manually configuring library devices.
3.
To discover available iSCSI target devices on a HP StoreOnce Backup System and add them
to iSCSI persistent information type the following, where x.x.x.x is the IP address of the HP
StoreOnce Backup System:
# iscsiutil
18
HP-UX 1 1i V2/V3 (PA-RISC & IA64)
255/0/2.0.0.0
stape
/dev/rmt/1m
/dev/rmt/1mb
/dev/rmt/1mn
/dev/rmt/1mnb
255/0/3.0.0.0
schgr
/dev/rac/c7t0d0
: iqn.1986-03.com.hp:mantis.ef28ceae-7203-11dc-82a4
-bf88291ef301
aI x.x.x.x
CLAIMED
DEVICE
/dev/rmt/c6t0d0BEST
/dev/rmt/c6t0d0BESTb
/dev/rmt/c6t0d0BESTn
/dev/rmt/c6t0d0BESTnb
CLAIMED
DEVICE
HP
Ultrium 3-SCSI
HP
1x8 G2 AUTOLDR

Advertisement

Table of Contents
loading

Table of Contents