HP StorageWorks D2D HP StorageWorks D2D Backup System Linux and UNIX Configura
HP StorageWorks D2D - Backup Systems Manual
View all HP StorageWorks D2D manuals
Add to My Manuals
Save this manual to your list of manuals |
HP StorageWorks D2D manual content summary:
- HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 1
HP StorageWorks D2D Backup System Linux and UNIX Configuration Guide Part number: EH990-90918 Edition 5.0 edition: November 2008 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - 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 . Adobe and Acrobat are trademarks of Adobe Systems Incorporated. Java is a US trademark of Sun - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 3
module using the D2Dsetup script How to configure the Open-iSCSI module manually using the command line Configuring the HP StorageWorks D2D Backup System for Fibre Channel Controlling an HP StorageWorks D2D Backup System using Linux Verify you are controlling the correct library To verify the - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 4
How to manually configure the iSCSI software initiator using the command line Configuring the HP StorageWorks D2D Backup System for Fibre Channel Controlling an HP StorageWorks D2D Backup System using HP-UX Reviewing the media in a library Loading a cartridge into a library tape drive Unloading - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 5
Tables 1 Document conventions 7 D2D Backup System 5 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 6
6 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - 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 StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 8
Product model names and numbers • Technical support registration number (if applicable) • Product serial numbers • Error messages • Operating system type and revision level • Detailed questions Customer self repair HP customer self repair (CSR) programs allow you to repair your StorageWorks product - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 9
://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 StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 10
10 About this guide - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 11
to the printed poster and the HP StorageWorks D2D Backup System User Guide on the HP StorageWorks CD-ROM for detailed 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 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 12
12 Introduction - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 13
number> 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 enabled. See the HP StorageWorks D2D Backup System User Guide for more information about recommended web browser - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - 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 StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 15
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 of the IP address of the HP StorageWorks D2D Backup System because it will be - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 16
16 Discovery - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - 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 StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 18
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 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 19
are user-de node.session.auth.password nl --value < system reboots, the open-iscsi service must be configured to run at system startup. This can be done by issuing the following command: SLES 10 localhost:~ $ chkconfig open-iscsi on RedHat 5 localhost:~ $ chkconfig iscsi on D2D Backup System - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 20
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: nl Host: scsi4 Channel: 00 Id: 00 Lun: 00 nl Vendor: HP Model: MSL G3 Series Rev: pc81 nl Type: Medium Changer nl ANSI SCSI - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 21
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 controlling the correct library • Review the media - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 22
-A 4 "Ultrium" The output will be similar to this: Vendor: HP Model: Ultrium 3-SCSI Rev: pc81 nl Type: Sequential-Access ANSI SCSI revision: the tape drive files are valid but no media is loaded into the drive. Reviewing the media in a library To verify the contents of the media slots within a - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 23
, also known as the Mail Slot in the HP StorageWorks D2D Backup System Web Management Interface. Loading a cartridge into a library tape Back up 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 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 24
3. Ensure you are in the root directory. localhost:~ $ cd / 4. Back up the Linux kernel using tar. localhost:~ $ tar cvf /dev/st2 ./boot/vmlinux* 5. Move the cartridge back to slot 1. localhost:~ $ mtx -f /dev/sg2 unload 1 0 Restore the Linux - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 25
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 differences are found between the two files, no message will be displayed. D2D Backup System 25 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 26
26 Linux (x86, x64 and IA64) - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 27
& 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) Configuring the HP D2D Backup System for iSCSI How to install the iSCSI software initiator The iSCSI - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 28
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 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 29
-bf88291ef301 This initiator node name is required by the HP StorageWorks D2D Backup System web management interface when manually configuring library devices. 3. To discover available iSCSI target devices on a HP StorageWorks D2D Backup System and add them to iSCSI persistent information type the - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 30
Name : CHAP Secret : Header Digest : None,CRC32C (default) Data Digest : None,CRC32C (default) 7. To optionally configure uni-directional CHAP authentication you should update the iSCSI Authentication details in the Web Management Interface, as shown below. 30 HP-UX 11i V2/V3 (PA-RISC & IA64 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 31
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 -t - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 32
target 11 255/0/2.0.0 tgt CLAIMED DEVICE autoch 0 255/0/2.0.0.0 schgr CLAIMED DEVICE HP MSL G3 Series /dev/rac/c9t0d0 In this example the tape drives device file is: /dev/rac/c9t0d0 Configuring the HP StorageWorks D2D Backup System for Fibre Channel For a Switched Fabric Configuration, zone - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 33
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 33 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 34
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 StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 35
from the console using a command called MC. The complete MC manual can also be accessed using the command man mc. The following examples illustrate how to complete common tasks with the HP StorageWorks D2D Backup System. • Review the media • Load a cartridge into the tape drive • Unload a cartridge - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 36
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 used - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 37
tape drive, the command will be: # mc -p /dev/rac/c9t0d0 -s I1 -d S4 Back up and restore files using TAR in HP-UX 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 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 38
. # mc -p /dev/rac/c9t0d0 -s S1 -d D1 2. Create a temporary folder to restore the backup into. # mkdir temp nl # cd /temp 3. Restore the HP-UX kernel to the temporary folder. # tar xvf /dev/rmt/1mnb 4. Move the cartridge back to slot 1. # mc -p /dev/rac/c9t0d0 -s D1 -d S1 5. Compare the original - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 39
) • 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 StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 40
iscsiadm man documents. The following instructions provide the minimum steps to connect a Solaris host to an HP StorageWorks D2D Backup System. 1. Find the iSCSI required by the HP StorageWorks D2D Backup System web management interface when manually configuring library devices. 40 Solaris (x86 and - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 41
2. 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 nl # iscsiadm list discovery-address nl Discovery Address: x.x.x.x:3260 nl nl # iscsiadm modify - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 42
HP StorageWorks D2D Backup System has been modified, the operating system should be modified as follows: # iscsiadm modify initiator-node --authentication CHAP nl # iscsiadm modify initiator-node --CHAP-name nl # iscsiadm modify initiator-node --CHAP-secret Enter the CHAP password - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 43
116 Apr 18 14:51 /dev/rmt/2cb -> ../../devices/iscsi/[email protected]%3Astorage. nl d2dbs.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 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 44
is not 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. • Verify you are controlling the correct library • Review the media • Load a cartridge into - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 45
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 drive files are valid but no media is loaded into the drive. Reviewing the media in a library To verify the contents of the media slots D2D Backup System 45 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 46
also known as the Mail Slot in the HP StorageWorks D2D Backup System Web Management Interface. Loading a cartridge into a library tape 2 0 Back up and restore files using TAR This section describes how to perform a simple backup and recovery of files to an HP StorageWorks D2D Backup System using the - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 47
using tar. # tar cvf /dev/rmt/2cb ./platform/'arch -k'/kernel/sparcv9/unix 5. Move the cartridge back to slot 1. # mtx -f /dev/scsi/changer/c3t1d0 unload 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 D2D Backup System 47 - HP StorageWorks D2D | HP StorageWorks D2D Backup System Linux and UNIX Configura - Page 48
2. Create a temporary folder to restore the backup into. # mkdir temp nl # cd /temp 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. #
HP
StorageWorks
D2D
Backup
System
Linux
and
UNIX
Con
fi
guration
Guide
Part
number:
EH990-90918
Edition
5.0
edition:
November
2008