HP StoreOnce D2D4106i HP StoreOnce Backup System Linux and UNIX Configuration
HP StoreOnce D2D4106i Manual
View all HP StoreOnce D2D4106i manuals
Add to My Manuals
Save this manual to your list of manuals |
HP StoreOnce D2D4106i manual content summary:
- HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 1
HP StoreOnce Backup System Linux and UNIX Configuration Guide for G3 multinode and single node appliances HP Part Number: BB852-90943 Published: May 2013 Edition: Edition 3.0 - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 2
accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Adobe and Acrobat are trademarks of Adobe Systems Incorporated. Intel, Itanium, Pentium - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 3
7 How to install the Open-iSCSI module 7 How to configure the Open-iSCSI module using the D2Dsetup script 7 How to configure the Open-iSCSI module manually using the command line 8 Configuring the HP StoreOnce Backup System for Fibre Channel 9 Configuring the HP StoreOnce Backup System for NAS - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 4
script 27 How to manually configure the iSCSI software initiator using the command line 28 Configuring the HP StoreOnce Backup System for Fibre Channel 30 Configuring the HP StoreOnce Backup System for NAS (NFS 30 Controlling an iSCSI or Fibre Channel HP StoreOnce Backup System using Solaris 31 - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 5
the replication function on the HP StoreOnce Backup System (which is configured and run without any communication to/from the backup application). These functions require a backup application that supports HP StoreOnce Catalyst. Some applications require the HP OST 2.0 plugins to be installed on - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 6
multi-node product) is installed and configured initially by HP Support engineers. For the single node products, HP StoreOnce 2620, 42xx and 44xx Backup systems, please refer to the HP StoreOnce Backup System Installation and Configuration guide for instructions on network configuration and getting - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 7
details. Configuring the HP StoreOnce Backup System for iSCSI This section covers how to configure iSCSI on Linux. If you wish to use Fibre Channel or your Backup System does not support iSCSI, then go to Configuring the HP Backup System for Fibre Channel (page 9) How to install the Open-iSCSI - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 8
instructions guide the user through the following steps required to connect a Linux host to an HP StoreOnce Backup System. • Discover iSCSI target devices on the HP StoreOnce Backup System • Configure CHAP authentication • Configure automatic iSCSI logins • Verify the HP StoreOnce Backup System - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 9
x.x.x.x:3260 --op update --name node. system reboots, the open-iscsi service must be configured to run at system HP StoreOnce B6200 Backup System is shown below; for details of the GUI specific to your product, please refer to the product's User Guide. Configuring the HP StoreOnce Backup System - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 10
an expert Linux administrator. To apply the patch, please refer to the StoreOnce Downloads page to acquire the patch file, the appropriate instructions in the release notes, and any associated customer advisory. The StoreOnce Backup System NAS interface should be configured to use NFS as the Access - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 11
.141) Controlling an iSCSI or Fibre Channel HP StoreOnce Backup System using Linux The HP StoreOnce Backup System can appear to the Linux operating system as one of many supported emulation types. Refer to your product's user guide for supported emulation types. The robotics within the autoloader - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 12
-A 4 "Ultrium" The output will be similar to this: Vendor: HP Model: Ultrium 3-SCSI Rev: pc81 Type: Sequential-Access ANSI SCSI revision slot of the library, also known as the Mail Slot in the HP StoreOnce Backup System Web Management Interface. Loading a cartridge into a library tape drive To - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 13
and restore files using TAR in Linux This section describes how to perform a simple backup and recovery of files to an HP StoreOnce 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 - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 14
) 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 3. Restore the Linux kernel to the temporary folder. localhost:~ $ tar xvf /dev/st0 4. Move the - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 15
.tar ./boot/vmlinux* NOTE: is the path to the NFS share configured on the StoreOnce appliance. Restore the Linux kernel (NAS) 1. Create a temporary folder to restore the backup into. localhost:~ $ mkdir temp localhost:~ $ cd /temp 2. Restore the Linux kernel to the temporary folder - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 16
(page 23). Configuring the HP StoreOnce Backup System for iSCSI If your product supports iSCSI use the information in this section to configure it. If your product does not support iSCSI, go to Configuring the HP Backup System for Fibre Channel (page 20). How to install the iSCSI software initiator - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 17
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 StoreOnce Backup System. 1. Add the path for iscsiutil and other iSCSI executables to the root path: # PATH=$PATH:/opt/iscsi/bin - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 18
Target # 1 ----------- Target Name : iqn.1986- 03.com.hp:storage.d2d.cr209107ff.500110a6656e596f.library1 .drive1 Target Alias : No. of x.x.x.x iSCSI TCP Port : 3260 iSCSI Portal Group Tag : 1 User Configured: Authenticaton Method : CHAP Method : CHAP_UNI Initiator CHAP Name : - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 19
update the iSCSI Authentication details in the Web Management Interface, as shown below. NOTE: In the following commands, items in parentheses are user-defined strings. Substitute the appropriate information for , and . Once the HP StoreOnce Backup System - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 20
available AT&T, no rewind, best density available Berkeley, no rewind, best density available AT&T, best density available Berkeley, best density available AT&T, best density available Berkeley, no rewind, best density available Configuring the HP StoreOnce Backup System for Fibre Channel For - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 21
product's User Guide. best (next boot) static explicit eschgr (now) static best (next boot) static explicit estape (now) static best (next boot) static explicit 3. To create device files for the target devices, type the following: # insf Configuring the HP StoreOnce Backup System - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 22
, best density available Configuring the HP StoreOnce Backup System for NAS (NFS) The StoreOnce Backup System NAS interface should be configured to use NFS as the Access Protocol when backing up data using HP-UX. Once configured, the Network Path is displayed. The StoreOnce Backup System supports - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 23
StoreOnce Backup System using HP-UX The HP StoreOnce Backup System appears to the HP-UX operating system as a changer device and Ultrium tape drive. The changer device represents the robotics within the library and can be controlled from the console using a command called MC. The complete MC manual - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 24
slots within the library. The IE_slot_1 represents the import/export slot of the library, also known as the Mail Slot in the HP StoreOnce 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 StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 25
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 /dev/rmt/1mnb 4. Move the cartridge back to slot 1. # mc -p /dev/rac - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 26
TAR. localhost :~ $ tar cvf /kernel.tar ./stand/vmunix Restore the HP-UX kernel (NAS) 1. Create a temporary folder to restore the backup into. localhost:~ $ mkdir temp localhost:~ $ cd /temp 2. Restore the HP-UX kernel to the temporary folder. localhost:~ $ tar xvf /kernel - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 27
) • Solaris 11 (x86 and SPARC) NOTE: HP StoreOnce Backup Systems with iSCSI interfaces are only supported with Solaris 10 Update 4 (08/07) or greater. Always refer to http://www.hp.com/go/ebs for up-to-date compatibility details. Configuring the HP StoreOnce Backup System for iSCSI If your product - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 28
man documents. The following instructions provide the minimum steps to connect a Solaris host to an HP StoreOnce Backup System. 1. Find the iSCSI initiator node name is required by the HP StoreOnce Backup System web management interface when manually configuring library devices. 2. Configure the - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 29
are user-defined strings. Substitute the appropriate information for , and . 4. To optionally configure CHAP authentication you should update the iSCSI Authentication details in the web management GUI, as shown below. Once the HP StoreOnce Backup System has - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 30
21 16:33 /dev/rmt/2cb -> ../../devices/pci@7c0/pci@0/pci@9/SUNW,qlc@0/fp@0,0/ st@w500110a057bb1b32,0:cb Configuring the HP StoreOnce Backup System for NAS (NFS) The StoreOnce Backup System NAS interface should be configured to use NFS as the Access Protocol when backing up data using Solaris. 30 - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 31
console using a command called mtx. mtx 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 StoreOnce Backup System. • Verify you are controlling the correct library • Review - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 32
. To verify the tape device file for the 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= 0 This indicates that the tape drive files are valid but - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 33
slots within the library. Storage element 25 represents the import/export slot of the library, also known as the Mail Slot in the HP StoreOnce 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 be - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 34
Channel) 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 3. Restore the kernel to the temporary folder. # tar xvf /dev/rmt/2cb 4. Move the cartridge back to slot - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 35
the Solaris kernel to the temporary folder. localhost:~ $ tar xvf /kernel.tar 3. Compare the original Solaris kernel with the restored HP-UX kernel. localhost:~ $ cmp /platform/`arch -k`/kernel/sparcv9/unix /temptemp/platform/`arch -k`/kernel/sparcv9/unix If no differences are found - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 36
user guide (2620, 42xx and 44xx products) • HP StoreOnce Backup System installation poster (2620, 42xx and 44xx products) • HP StoreOnce Backup System Installation and Configuration Guide (2620, 42xx and 44xx products) You can find these documents from the Manuals page of the HP Business Support - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 37
numbers • Error messages • Operating system type and revision level • Detailed questions Product warranties For information about HP StorageWorks product warranties, see the warranty information website: http://www.hp.com/go/storagewarranty Subscription service HP recommends that you register your - HP StoreOnce D2D4106i | HP StoreOnce Backup System Linux and UNIX Configuration - Page 38
additional information, see the following HP websites: • http://www.hp.com • http://www.hp.com/go/storage • 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
HP StoreOnce Backup System
Linux and UNIX Configuration Guide for G3
multinode and single node appliances
HP Part Number: BB852-90943
Published: May 2013
Edition: Edition 3.0