HP D2D4004fc HP StorageWorks Linux and UNIX configuration guide for D2D Backup
HP D2D4004fc Manual
View all HP D2D4004fc manuals
Add to My Manuals
Save this manual to your list of manuals |
HP D2D4004fc manual content summary:
- HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 1
HP StorageWorks D2D Backup System Linux and UNIX Configuration Guide Part Number: EJ001-90978 Edition 7.0 edition: July 2010 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 2
HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP Corporation. Adobe and Acrobat are trademarks of Adobe Systems Incorporated. Java is a US trademark of Sun - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 3
applications 11 Virtual Tape Library targets for backup applications 11 Hardware installation ...11 Software requirements ...11 Configuration stages ...12 2 Discovery 13 Overview ...13 Using DHCP to discover the HP D2D Backup System 13 Using the HP Discovery tool ...13 To identify the required - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 4
the HP D2D Backup System for iSCSI 27 How to install the iSCSI software initiator 27 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 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 5
Tables 1 Document conventions 7 D2D Backup System 5 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 6
6 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 7
: • HP StorageWorks D2D Backup System user guide, available in 13 languages • HP StorageWorks D2D Backup System installation poster, available in 4 languages You can find these documents from the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals Search on - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 8
HP support website: http://www.hp.com/support Before contacting HP, collect the following information: • Product model names and numbers • Technical support registration number (if applicable) • Product serial numbers • Error messages • Operating system type and revision level 8 About this guide - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 9
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 [email protected]. All submissions become the property of HP. D2D Backup System 9 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 10
10 About this guide - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 11
instructions on installing the HP D2D Backup System and optional tape drive. The User Guide also describes how to use the Web Management Interface. Software requirements 1. Refer to http://www.hp.com/go/connect or http://www.hp.com/go/ebs to find out which versions of UNIX and Linux are supported - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 12
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. 12 Introduction - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 13
> If you cannot connect to the HP D2D Backup System using the Web Management interface: • Check that you are using a supported web browser and that Active Scripting or JavaScript is en- abled. See the HP StorageWorks D2D Backup System User Guide for more information about recommended web browser - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 14
are discovered, ensure that UDP port 8106 is open in any firewalls that are running. To identify the required device If you have multiple HP StorageWorks D2D Backup Systems on the network you can use the Beacon button to help identify the unit that you wish to configure. Select a device in the list - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 15
list and click Configure. 2. Enter the network details and click Configure to send the details to the HP StorageWorks D2D 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. 3. Make a note - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 16
16 Discovery - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 17
5 (x86, x64 and IA64) NOTE: HP StorageWorks D2D Backup Systems with iSCSI interfaces are only supported with SLES 10 SP1 and RedHat 5 or greater. Configuring the HP D2D Backup System for iSCSI How to install the Open-iSCSI module SLES 10 1. Open the Software Management tool from within YaST Control - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 18
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 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 19
. 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 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 20
devices to remain persistent across system reboots, the open-iscsi service must be configured to run at system startup. This can be done 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: - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 21
HP Model: Ultrium 3-SCSI Rev: pc81 Type: Sequential-Access ANSI SCSI revision: 03 Configuring the HP D2D Backup System for NAS (NFS) The D2D Backup System /mnt/D2DBackupShare The D2D Backup System supports NFSv3. To explicitly mount the D2D Backup System using NFSv3, the following syntax - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 22
. If the MTX utility is not installed, it can be added using the package manager. The complete MTX manual can also be accessed from any Linux console using the command man mtx. The following examples illustrate how to complete common tasks with the HP StorageWorks D2D Backup System. • Verify you are - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 23
The output will be similar to this: Vendor: HP Model: Ultrium 3-SCSI Rev: pc81 Type: Sequential-Access ANSI SCSI revision: 03 2:0:0:0: Attached scsi generic slot of the library, also known as the Mail Slot in the HP StorageWorks D2D Backup System Web Management Interface. D2D Backup System 23 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 24
and restore files using TAR in Linux 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 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 25
1 0 Restore the Linux kernel 1. Move the cartridge from slot 1 to the first tape drive. localhost:~ $ mtx -f /dev/sg2 load 1 0 2. Create a temporary folder to restore the backup into. localhost:~ $ mkdir temp localhost:~ $ cd /temp D2D Backup System 25 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 26
3. Restore the Linux kernel to the temporary folder. localhost:~ $ tar xvf /dev/st0 4. Move the cartridge back to slot 1. localhost:~ $ mtx -f /dev/sg2 unload 1 0 5. Compare the original Linux kernel with the restored Linux kernel. localhost:~ $ cmp /boot/vmlinux* /temp/boot/vmlinux* If no - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 27
on Installation Instruction to download instructions for using the Software Distributor tool to install the iSCSI Software Initiator. NOTE: The Software Distributor is used for software installations on HP-UX systems. It also provides an interface for removing software from HP-UX systems. D2D Backup - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 28
-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 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 29
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. 1. Add the path - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 30
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 HP Ultrium 3-SCSI 255/0/2.0 ext_bus iSCSI-SCSI Protocol Interface 255/0/2.0.0 target 255/0/2.0.0.0 autoch - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 31
iqn.1986- 03.com.hp:storage.d2d.cr209107ff.500110a6656e596f.library1 iSCSI Portal Group Tag : 1 User Configured: Authenticaton Method : CHAP : iqn.1986- 03.com.hp:storage.d2d.cr209107ff.500110ad6bd1034b.library iSCSI Portal Group Tag : 1 User Configured: Authenticaton Method : CHAP - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 32
. NOTE: In the following commands, items in parentheses are user-defined strings. Substitute the appropriate information for , and . Once the HP StorageWorks D2D Backup System has been modified, the operating system should be modified as follows: # iscsiutil - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 33
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. Module State files for the target devices, type the following: # insf -H 255 D2D Backup System 33 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 34
target devices, type: # ioscan -fnH 255 Class I H/W Path Driver S/W State H/W Type Description iscsi 0 255/0 iscsi CLAIMED VIRTBUS iSCSI autochanger device file is: /dev/rac/c9t0d0 Configuring the HP StorageWorks D2D Backup System for Fibre Channel For a Switched Fabric Configuration, zone - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 35
Fibre Channel Adapter (FC Port 1) 0/5/1/0.166 fcp 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 HP MSL G3 Series 0/5/1/0.166.0.255.0.2 target 0/5/1/0.166.0.255.0.2.0 tape HP Ultrium 3-SCSI D2D Backup System 35 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 36
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. Module State Cause schgr (now) static best (next boot) static - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 37
Path Driver S/W State H/W Type Description ba 4 0/5 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) fc 5 0/5/1/0 fcd CLAIMED INTERFACE HP AB379- is: /dev/rac/c33t1d0 Configuring the HP D2D Backup System for NAS (NFS) The D2D Backup System NAS interface should be configured to use NFS - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 38
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:/ Controlling an HP StorageWorks D2D Backup System using HP-UX The HP StorageWorks D2D Backup System appears - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 39
within the library. The IE_slot_1 represents the import/export slot of the library, also known as the Mail Slot in the HP StorageWorks D2D Backup System Web Management Interface. Loading a cartridge into a library tape drive To load a cartridge into the tape drive, the mc -s -d command should be - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 40
# mc -p /dev/rac/c9t0d0 -s D1 -d S1 Restore the HP-UX kernel 1. Move the cartridge from slot 1 to the first tape drive. # mc -p /dev/rac/c9t0d0 -s S1 -d D1 2. Create a temporary folder to restore the backup into. # mkdir temp # cd /temp 3. Restore the HP-UX kernel to the temporary folder. # tar xvf - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 41
4. Move the cartridge back to slot 1. # mc -p /dev/rac/c9t0d0 -s D1 -d S1 5. 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 41 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 42
42 HP-UX 11i V2/V3 (PA-RISC & IA64) - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 43
• Solaris 10 (x86 and SPARC) NOTE: HP StorageWorks D2D Backup Systems with iSCSI interfaces are only supported with Solaris 10u4 or greater. Configuring the HP D2D Backup System for iSCSI How to enable the iSCSI software initiator 1. Enable the iSCSI services using the command: # svcadm -v enable - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 44
software initiator using the command line 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 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 45
.library1.robotics iqn.1986-03.com.hp:storage.d2d.cr203f18f4.7e0cdac23ab4eab1 .library1.drive1 NOTE: In the following commands, items in parentheses are user-defined strings. Substitute the appropriate information for , and . D2D Backup System 45 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 46
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 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 47
.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. 1. To create generic devices drivers for the iSCSI target devices - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 48
The D2D Backup System supports NFSv3. To explicitly mount the D2D Backup System using NFSv3, installed with Solaris by default but it can be downloaded and installed from sourceforge.net The following examples illustrate how to complete common tasks with the HP StorageWorks D2D Backup System - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 49
tape drive, the MT command should be used: # mt -f /dev/rmt/2cb status The output should be: HP Ultrium LTO 3 tape drive: sense key(0x6)= Unit Attention file no= 0 block no= 0 residual= 0 retries Element 1:Full :VolumeTag=72255101 Storage Element 2:Full :VolumeTag=72255102 D2D Backup System 49 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 50
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. Loading a cartridge into a library tape drive To load a cartridge into the tape drive, the mtx load command should - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 51
1 0 Restore the kernel 1. Move the cartridge from slot 1 to the first tape drive. # mtx -f /dev/scsi/changer/c3t1d0 load 1 0 2. Create a temporary folder to restore the backup into. # mkdir temp # cd /temp D2D Backup System 51 - HP D2D4004fc | HP StorageWorks Linux and UNIX configuration guide for D2D Backup - Page 52
3. Restore the kernel to the temporary folder. # tar xvf /dev/rmt/2cb 4. Move the cartridge back to slot 1. # mtx -f /dev/scsi/changer/c3t1d0 unload 1 0 5. Compare the original kernel with the restored kernel. # cmp /platform/`arch -k`/kernel/sparcv9/unix /temp/platform/`arch -k`/kernel/sparcv9/unix
HP StorageWorks
D2D Backup System
Linux and UNIX Configuration Guide
Part Number: EJ001-90978
Edition 7.0 edition: July 2010