How To Configure The Open-Iscsi Module Manually 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

Type:
Sequential-Access
st 7:0:0:0: Attached scsi tape st0

How to configure the Open-iSCSI module manually using the command line

The command line tool for configuring the Open-iSCSI package is iscsiadm. Detailed instructions
for iscsiadm can be found in the iscsiadm(8) man documents. The following instructions guide
the user through the following steps required to connect a Linux host to an HP StoreOnce Backup
System.
Discover iSCSI target devices on the HP StoreOnce Backup System
Configure CHAP authentication
Configure automatic iSCSI logins
Verify the HP StoreOnce Backup System is connected
1.
To discover available iSCSI target devices on an HP StoreOnce Backup System type the
following, where x.x.x.x is the IP address of the HP StoreOnce Backup System:
localhost:~ $ iscsiadm --mode discovery --type sendtargets --portal
x.x.x.x | grep x.x.x.x
The response from the HP StoreOnce Backup System will be two iSCSI Qualified Names (IQN)
for each available iSCSI target. For example:
[7db5cb] x.x.x.x:3260,1 iqn.1986-
03.com.hp:storage.d2d.cr204c84d5.500110aa76f68fcb.library1.robotics
[ebf06d] x.x.x.x:3260,1 iqn.1986-
03.com.hp:storage.d2d.cr204c84d5.500110a05ed5497b.library1.drive1
In the following configuration the parameter <iqn...> should be replaced with the IQN
value discovered in this step. Each command will need to be repeated for each IQN discovered.
NOTE:
open in any running firewalls.
2.
To optionally configure CHAP authentication you should update the iSCSI Authentication
details in the web management GUI, as shown below.
Once the HP StoreOnce Backup System has been modified, the operating system should be
modified as follows for each available target discovered in step 1:
NOTE:
the appropriate information for <iqn...>, <chap_password> and <chap_username>.
localhost:~ $ iscsiadm --mode node --targetname <iqn...>
--portal x.x.x.x:3260 --op update
--value CHAP
localhost:~ $ iscsiadm --mode node --targetname <iqn...>
--portal x.x.x.x:3260 --op update
--value <chap_username>
10
Linux (x86, x64 and IA64)
Note: If iscsiadm does not return a list of iSCSI targets, ensure that port 3260 is
In the following commands, items in parentheses are user-defined strings. Substitute
ANSI SCSI revision: 03
-name node.session.auth.authmethod
-name node.session.auth.username

Advertisement

Table of Contents
loading

Table of Contents