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

How to con the Open-iSCSI module manually using the command line - login

Page 18 highlights

HP StorageWorks D2D Backup System Linux and UNIX iSCSI Configuration Tool Detecting OS done Checking iSCSI package done Contacting HP StorageWorks D2D Backup System...done Discovering available targets done Configuring CHAP authentication done Configuring persistant logins done Logging in to targets done The following library devices have been configured: Vendor: HP Model: 1x8 G2 AUTOLDR Rev: ai89 Type: Medium Changer ANSI SCSI revision: 03 6:0:0:0: Attached scsi generic sg2 type 8 -- Vendor: HP Model: Ultrium 3-SCSI Rev: ai89 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 StorageWorks D2D Backup System. • Discover iSCSI target devices on the HP StorageWorks D2D Backup System • Configure CHAP authentication • Configure automatic iSCSI logins • Verify the HP StorageWorks D2D Backup System is connected 1. To discover available iSCSI target devices on an HP StorageWorks D2D Backup System type the following, where x.x.x.x is the IP address of the HP StorageWorks D2D Backup System: localhost:~ $ iscsiadm --mode discovery --type sendtargets --portal x.x.x.x | grep x.x.x.x The response from the HP StorageWorks D2D Backup System will be two iSCSI Qualified Names (IQN) for each available iSCSI target. For example: [7db5cb] x.x.x.x:3260,1 iqn.198603.com.hp:storage.d2d.cr204c84d5.500110aa76f68fcb.library1.robotics [ebf06d] x.x.x.x:3260,1 iqn.198603.com.hp:storage.d2d.cr204c84d5.500110a05ed5497b.library1.drive1 In the following configuration the parameter 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. 18 Linux (x86, x64 and IA64)

  • 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

HP StorageWorks D2D Backup System Linux and UNIX iSCSI Configuration Tool
Detecting OS
...................................
done
Checking iSCSI package
.........................
done
Contacting HP StorageWorks D2D Backup System...done
Discovering available targets
..................
done
Configuring CHAP authentication
................
done
Configuring persistant logins
..................
done
Logging in to targets
..........................
done
The following library devices have been configured:
Vendor: HP
Model: 1x8 G2 AUTOLDR
Rev: ai89
Type:
Medium Changer
ANSI SCSI revision: 03
6:0:0:0: Attached scsi generic sg2 type 8
--
Vendor: HP
Model: Ultrium 3-SCSI
Rev: ai89
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 StorageWorks D2D Backup
System.
Discover iSCSI target devices on the HP StorageWorks D2D Backup System
Configure CHAP authentication
Configure automatic iSCSI logins
Verify the HP StorageWorks D2D Backup System is connected
1.
To discover available iSCSI target devices on an HP StorageWorks D2D Backup System type
the following, where
x.x.x.x
is the IP address of the HP StorageWorks D2D Backup System:
localhost:~ $ iscsiadm --mode discovery --type sendtargets --portal
x.x.x.x | grep x.x.x.x
The response from the HP StorageWorks D2D 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.
Linux (x86, x64 and IA64)
18