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

How to con the iSCSI software initiator using the D2Dsetup script, HP-UX 11i V2

Page 28 highlights

7. After the system reboots, verify that the installation was successful by issuing the swlist command as follows: swlist iSCSI-00 If the HP-UX iSCSI Software Initiator is installed correctly, the output will be: HP-UX 11i V2 # Initializing... # Contacting target "localhost"... # # Target: localhost:/ # # iSCSI-00 B.11.23.03e HP-UX iSCSI Software Initiator iSCSI-00.ISCSI-SWD B.11.23.03e HP-UX iSCSI Software Initiator HP-UX 11i V3 # Initializing... # Contacting target "localhost"... # # Target: localhost:/ # # 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 11i V2 # ioscan -fnC iscsi HP-UX 11i 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 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 The response from the HP D2D Backup System will be similar to the following: 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 drivers done Configuring CHAP authentication done The following library devices are configured: 28 HP-UX 11i V2/V3 (PA-RISC & 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

7.
After the system reboots, verify that the installation was successful by issuing the
swlist
command
as follows:
swlist iSCSI-00
If the HP-UX iSCSI Software Initiator is installed correctly, the output will be:
HP-UX 11i V2
# Initializing...
# Contacting target "localhost"...
#
# Target: localhost:/
#
# iSCSI-00 B.11.23.03e HP-UX iSCSI Software Initiator
iSCSI-00.ISCSI-SWD B.11.23.03e HP-UX iSCSI Software Initiator
HP-UX 11i V3
# Initializing...
# Contacting target "localhost"...
#
# Target: localhost:/
#
# 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 11i V2
# ioscan -fnC iscsi
HP-UX 11i 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 D2D Backup System will be similar to the following:
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 drivers
............................
done
Configuring CHAP authentication
................
done
The following library devices are configured:
HP-UX 11i V2/V3 (PA-RISC & IA64)
28