How to configure the Open-iSCSI module using the D2Dsetup script ......... 17 How to configure the Open-iSCSI module manually using the command line ......18 Configuring the HP StorageWorks D2D Backup System for Fibre Channel ......... 20 Configuring the HP D2D Backup System for NAS (NFS) ..............21 Controlling an HP StorageWorks D2D Backup System using Linux ...........
Page 4
How to configure the iSCSI software initiator using the D2Dsetup script ........28 How to manually configure the iSCSI software initiator using the command line ......29 Configuring the HP StorageWorks D2D Backup System for Fibre Channel ........34 Configuring the HP D2D Backup System for NAS (NFS) ..............37 Controlling an HP StorageWorks D2D Backup System using HP-UX ..........
About this guide This guide provides information about: • Configuring UNIX™ and Linux for use with the HP D2D Backup System • Controlling an HP D2D Backup System Intended audience This guide is intended for network administrators and users with knowledge of: •...
Convention Element • File and directory names • System output Monospace text • Code • Commands, their arguments, and argument values • Code variables Monospace, italic text • Command variables Monospace, bold text Emphasized monospace text WARNING! Indicates that failure to follow directions could result in bodily harm or death. CAUTION: Indicates that failure to follow directions could result in damage to equipment or data.
• http://www.hp.com/go/connect • http://www.hp.com/go/ebs • http://www.hp.com/service_locator • http://www.hp.com/support/manuals • http://www.hp.com/support/downloads Documentation feedback HP welcomes your feedback. To make comments and suggestions about product documentation, please send a message to storagedocs.feedback@hp.com. All submissions become the property of HP. D2D Backup System...
Network-Attached Storage (NAS) or Virtual Tape Library (VTL) targets for backup applications. The total number of “devices” provided by a D2D appliance is split between VTL and NAS devices. For example: an HP D2D4000 Series device supports the creation of a maximum of 16 devices; an HP D2D4112 device supports the creation of a maximum of 24 devices;...
Configuration stages There are two stages to configuration: • Discover the HP D2D Backup System on the network, give it a name and, if DHCP is not supported, assign network settings • Create a base configuration to get started This guide describes how to perform these two stages.
The IP address and other network settings are assigned automatically when you connect the HP D2D Backup System to the network. You only need to know the serial number of the HP D2D Backup System to complete the installation and create a library configuration. The serial number can be found on a label on the top of the unit.
When the HP Discovery tool is run it will find any HP StorageWorks D2D Backup Systems on the local network and list them by name. The name displayed by the HP Discovery tool should match the label on the top of the HP StorageWorks D2D Backup System.
Backup System. The list of available HP StorageWorks D2D Backup System on the network will be displayed again, this time with the updated network settings shown. Make a note of the IP address of the HP StorageWorks D2D Backup System because it will be required during iSCSI configuration.
3 Linux (x86, x64 and IA64) Overview This chapter describes how to configure the HP D2D Backup System for use with the following Linux operating systems: • SuSE Linux Enterprise Server 9 (x86, x64 and IA64) • SuSE Linux Enterprise Server 10 (x86, x64 and IA64) •...
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.
Page 19
To optionally configure CHAP authentication you should update the iSCSI Authentication details in the web management GUI, as shown below. Once the HP StorageWorks D2D 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.
To verify that the Linux machine now has access to the target device, use the following command: localhost:~ $ cat /proc/scsi/scsi The output of this command will be a list of all the configured SCSI devices on the system, including the HP StorageWorks D2D Backup System. An example output would be: Attached devices: Host: scsi4...
ANSI SCSI revision: 03 Configuring the HP D2D Backup System for NAS (NFS) The D2D Backup System NAS interface should be configured to use NFS as the Access Protocol when backing up data using Linux. The NFS share can then be mounted in Linux using the mount command. For example: localhost:~ $ mount 192.168.0.100:/nas/D2DBackupShare /mnt/D2DBackupShare...
Controlling an HP StorageWorks D2D Backup System using Linux The HP StorageWorks D2D Backup System appears to the Linux operating system as a 1x8 G2 autoloader and Ultrium tape drive. The robotics within the autoloader can be controlled from the console using a command called MTX.
Each data transfer element represents an Ultrium tape drive within the library. Storage elements 1 to 24 represent the 24 configured slots within the library. Storage element 25 represents the import/export slot of the library, also known as the Mail Slot in the HP StorageWorks D2D Backup System Web Management Interface.
This section describes how to perform a simple backup and recovery of files to an HP StorageWorks D2D Backup System using the console applications; MTX and TAR. In the examples, the autoloader robotics is controlled using generic SCSI device file sg2 and the autoloader tape drive uses tape device file st0.
Restore the Linux kernel Move the cartridge from slot 1 to the first tape drive. localhost:~ $ mtx –f /dev/sg2 load 1 0 Create a temporary folder to restore the backup into. localhost:~ $ mkdir temp localhost:~ $ cd /temp D2D Backup System...
Page 26
Restore the Linux kernel to the temporary folder. localhost:~ $ tar xvf /dev/st0 Move the cartridge back to slot 1. localhost:~ $ mtx –f /dev/sg2 unload 1 0 Compare the original Linux kernel with the restored Linux kernel. localhost:~ $ cmp /boot/vmlinux* /temp/boot/vmlinux* If no differences are found between the two files, no message will be displayed.
4 HP-UX 11i V2/V3 (PA-RISC & IA64) Overview This chapter describes how to configure the HP D2D Backup System for use with the following HP-UX operating systems: • HP-UX 11i V2 (PA-RISC and IA64) • HP-UX 11i V3 (PA-RISC and IA64) NOTE: A block size no larger than 256 KB is strongly recommended when working with HP-UX 11i V2.
# 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...
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 StorageWorks D2D Backup System.
Page 30
To discover operational target devices, type the following: # ioscan -H 255 The output will be similar to this: H/W Path Class Description ================================================== 255/0 iscsi iSCSI Virtual Node 255/0/0.0 ext_bus iSCSI-SCSI Protocol Interface 255/0/0.0.0 target 255/0/0.0.0.0 tape Ultrium 3-SCSI 255/0/2.0 ext_bus iSCSI-SCSI Protocol Interface...
Page 31
IP Address : x.x.x.x iSCSI TCP Port : 3260 iSCSI Portal Group Tag User Configured: ---------------- Authenticaton Method CHAP Method : CHAP_UNI Initiator CHAP Name CHAP Secret Header Digest : None,CRC32C (default) Data Digest : None,CRC32C (default) D2D Backup System...
Page 32
In the following commands, items in parentheses are user-defined strings. Substitute the appropriate information for <iqn...>, <chap_password> and <chap_username>. Once the HP StorageWorks D2D Backup System has been modified, the operating system should be modified as follows: # iscsiutil –t authmethod CHAP None # iscsiutil –u –H CHAP_UNI...
Page 33
(next boot) static explicit eschgr (now) static best (next boot) static explicit estape (now) static best (next boot) static explicit To create device files for the target devices, type the following: # insf –H 255 D2D Backup System...
/dev/rmt/c8t0d0BESTnb And the autochanger device file is: /dev/rac/c9t0d0 Configuring the HP StorageWorks D2D Backup System for Fibre Channel For a Switched Fabric Configuration, zone the individual devices to the host concerned using the virtual device WWNs shown on the GUI.
Page 35
Local PCI-X Bus Adapter (783) 0/5/1/0 HP AB379-60001 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1) 0/5/1/0.166 FCP Domain 0/5/1/0.166.0.255.0 t_bus FCP Device Interface 0/5/1/0.166.0.255.0.1 target 0/5/1/0.166.0.255.0.1.0 autoch MSL G3 Series 0/5/1/0.166.0.255.0.2 target 0/5/1/0.166.0.255.0.2.0 tape Ultrium 3-SCSI D2D Backup System...
Page 36
If the device type shown above is UNKNOWN instead of TAPE or AUTOCH then you must configure the stape and schgr modules for the HP-UX kernel. This can be done as follows: HP-UX 11i V2 # kcmodule –B stape=static schgr=static *The automatic 'backup' configuration has been updated.
/dev/rac/c33t1d0 Configuring the HP D2D Backup System for NAS (NFS) The D2D Backup System NAS interface should be configured to use NFS as the Access Protocol when backing up data using HP-UX. The NFS share can then be mounted in HP-UX using the mount command. For example: # mount 192.168.0.100:/nas/D2DBackupShare /mnt/D2DBackupShare...
The D2D Backup System supports NFSv3. To explicitly mount the D2D Backup System using NFSv3, the following syntax should be used: # mount –t nfs –o nfsvers=3 x.x.x.x:/<name of share> <local mount> Controlling an HP StorageWorks D2D Backup System using...
This section describes how to perform a simple backup and recovery of files to an HP StorageWorks D2D Backup System using the console applications; MC and TAR. In the examples, the library robotics is controlled using generic SCSI device file /dev/rac/c9t0d0 and the autoloader tape drive uses tape device file /dev/rmt/1mnb.
Back up the HP-UX kernel Check to see what media is available. # mc –p /dev/rac/c9t0d0 –rDSI DT_slot_1 EMPTY ST_slot_1:Full 72255101 ST_slot_2:Full 72255102 ST_slot_3:Full 72255103 ST_slot_4:Full 72255104 ST_slot_5:Full 72255105 ST_slot_6:Full 72255106 ST_slot_7:Full 72255107 ST_slot_8:Full 72255108 ST_slot_9:Full 72255109 ST_slot_10:Full 72255110A ST_slot_11:Full 72255110B ST_slot_12:Full 72255110C ST_slot_13:Full 72255110D ST_slot_14:Full 72255110E...
Page 41
Move the cartridge back to slot 1. # mc –p /dev/rac/c9t0d0 –s D1 –d S1 Compare the original HP-UX kernel with the restored HP-UX kernel. # cmp /stand/vmunix /temp/stand/vmunix If no differences are found between the two files, no message will be displayed. D2D Backup System...
5 Solaris (x86 and SPARC) Overview This chapter describes how to configure the HP D2D Backup System for use with the following Solaris operating systems: • Solaris 9 (SPARC) • Solaris 10 (x86 and SPARC) NOTE: HP StorageWorks D2D Backup Systems with iSCSI interfaces are only supported with Solaris 10u4 or greater.
The command line tool for configuring the iSCSI is iscsiadm. Detailed instructions for iscsiadm can be found in the iscsiadm man documents. The following instructions provide the minimum steps to connect a Solaris host to an HP StorageWorks D2D Backup System. Find the iSCSI initiator node for the Solaris host: # iscsiadm list initiator-node Initiator node name: iqn.1986-03.com.sun:01:00144f1d9196.4715d8a3...
Page 45
Configure the Solaris host to discover available iSCSI targets as follows, where x.x.x.x is the IP address of the HP StorageWorks D2D Backup System: # iscsiadm add discovery-address x.x.x.x:3260 # iscsiadm list discovery-address Discovery Address: x.x.x.x:3260 # iscsiadm modify discovery -t enable...
Page 46
To optionally configure CHAP authentication you should update the iSCSI Authentication details in the web management GUI, as shown below. Once the HP StorageWorks D2D Backup System has been modified, the operating system should be modified as follows: # iscsiadm modify initiator-node --authentication CHAP # iscsiadm modify initiator-node --CHAP-name <chap_username>...
116 Apr 18 14:51 /dev/rmt/2cb -> ../../devices/iscsi/tape@0000iqn.1986-03.com.hp%3Astorage .d2d.cr203f18f4.01a9754150ae013a.library1.drive10001,0:cb Configuring the HP StorageWorks D2D Backup System for Fibre Channel For a Switched Fabric Configuration, zone the individual devices to the host concerned using the virtual device WWNs shown on the GUI.
Configuring the HP D2D Backup System for NAS (NFS) The D2D Backup System NAS interface should be configured to use NFS as the Access Protocol when backing up data using Solaris. The NFS share can then be mounted in Solaris using the mount command. For example: # mount –F nfs –o vers=3 192.168.0.100:/nas/D2DBackupShare /mnt/D2DBackupShare...
The output for a MSL 2024 library with 1 tape drive and 24 cartridges configured would look similar to this: Storage Changer /dev/scsi/changer/c3t1d0:1 Drives, 24 Slots ( 1 Import/Export ) Data Transfer Element 0:Empty Storage Element 1:Full :VolumeTag=72255101 Storage Element 2:Full :VolumeTag=72255102 D2D Backup System...
Each data transfer element represents an Ultrium tape drive within the library. Storage elements 1 to 24 represent the 24 configured slots within the library. Storage element 25 represents the import/export slot of the library, also known as the Mail Slot in the HP StorageWorks D2D Backup System Web Management Interface.
# mtx –f /dev/scsi/changer/c3t1d0 unload 1 0 Restore the kernel Move the cartridge from slot 1 to the first tape drive. # mtx –f /dev/scsi/changer/c3t1d0 load 1 0 Create a temporary folder to restore the backup into. # mkdir temp # cd /temp D2D Backup System...
Page 52
Restore the kernel to the temporary folder. # tar xvf /dev/rmt/2cb Move the cartridge back to slot 1. # mtx –f /dev/scsi/changer/c3t1d0 unload 1 0 Compare the original kernel with the restored kernel. # cmp /platform/`arch -k`/kernel/sparcv9/unix /temp/platform/`arch -k`/kernel/sparcv9/unix If no differences are found between the two files, no message will be displayed. Solaris (x86 and SPARC)