HP StoreOnce D2D2502i HP StorageWorks Linux and UNIX configuration guide for D
HP StoreOnce D2D2502i Manual
View all HP StoreOnce D2D2502i manuals
Add to My Manuals
Save this manual to your list of manuals |
HP StoreOnce D2D2502i manual content summary:
- HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 1
HP StorageWorks D2D Backup System Linux and UNIX Configuration Guide Part Number: EJ001-90978 Edition 7.0 edition: July 2010 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 3
guide 7 Intended audience ...7 Related documentation ...7 Document conventions and symbols 7 HP technical support ...8 Customer self repair ...9 Product warranties ...9 Subscription service ...9 HP websites ...9 Documentation feedback ...9 1 Introduction 11 Overview ...11 NAS targets for backup - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 4
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 38 Using large - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 5
Tables 1 Document conventions 7 D2D Backup System 5 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 6
6 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 10
10 About this guide - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 16
16 Discovery - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 17
4 (x86, x64 and IA64) • RedHat Advanced Server 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 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 19
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 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 22
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 controlling the correct library • Review the - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 27
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 System - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 28
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 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 29
instructions provide the minimum steps required to connect an HP-UX host to an HP StorageWorks D2D Backup System 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 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 31
Operational Target Information Target # 1 ----------- Target Name : iqn.1986- 03.com.hp:storage.d2d.cr209107ff.500110a6656e596f.library1 .drive1 Target Alias : No. of Target Addresses : : Header Digest : None,CRC32C (default) Data Digest : None,CRC32C (default) D2D Backup System 31 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 32
-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 authmethod CHAP None # iscsiutil -u -H CHAP_UNI # iscsiutil - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 device files for the target devices, type the following: # insf -H 255 D2D Backup System 33 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 34
best density available Berkeley, no rewind, best density available 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 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 37
AT&T, best density available Berkeley, no rewind, best density available And the autochanger device file 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 as the Access Protocol when backing up data using - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 42
42 HP-UX 11i V2/V3 (PA-RISC & IA64) - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 44
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 is required by the HP StorageWorks D2D Backup System web management interface when manually configuring library devices. 44 Solaris (x86 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 45
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 # iscsiadm - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 47
116 Apr 18 14:51 /dev/rmt/2cb -> ../../devices/iscsi/[email protected]%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 - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - Page 48
D2D Backup System supports NFSv3. To explicitly mount the D2D Backup System using NFSv3, the following syntax should be used: # mount -F nfs -o vers=3 x.x.x.x:/ Controlling an HP StorageWorks D2D Backup System using Solaris The HP StorageWorks D2D Backup System appears - HP StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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 StoreOnce D2D2502i | HP StorageWorks Linux and UNIX configuration guide for D - 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