HP StoreOnce Backup System Linux and UNIX Configuration Guide (BB852-90952)
Type: Sequential-Access ANSI SCSI revision: 03
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: Note: If iscsiadm does not return a list of iSCSI targets, ensure that port 3260 is
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: In the following commands, items in parentheses are user-defined strings. Substitute
the appropriate information for <iqn...>, <chap_password> and <chap_username>.
localhost:~ $ iscsiadm --mode node --targetname <iqn...>
--portal x.x.x.x:3260 --op update –-name node.session.auth.authmethod
--value CHAP
localhost:~ $ iscsiadm --mode node --targetname <iqn...>
--portal x.x.x.x:3260 --op update –-name node.session.auth.username
--value <chap_username>
localhost:~ $ iscsiadm --mode node --targetname <iqn...>
--portal x.x.x.x:3260 --op update –-name node.session.auth.password
--value <chap_password>
8 Linux (x86, x64 and IA64)