HP StoreOnce B6000 Configuration Manual

Hp b6000 storeonce backup system linux and unix configuration guide
Hide thumbs Also See for StoreOnce B6000:
Table of Contents

Advertisement

HP StoreOnce
Backup System
Linux and UNIX Configuration Guide
HP Part Number: EJ022-90910
Published: December 201 1
Edition: Edition 7.0

Advertisement

Table of Contents
loading

Summary of Contents for HP StoreOnce B6000

  • Page 1 HP StoreOnce Backup System Linux and UNIX Configuration Guide HP Part Number: EJ022-90910 Published: December 201 1 Edition: Edition 7.0...
  • Page 2 © Copyright 2007–201 1 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for 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 shall not be liable for technical or editorial errors or omissions contained herein.
  • Page 3: Table Of Contents

    Contents 1 Introduction....................5 Overview ..........................5 NAS targets for backup applications..................5 Virtual Tape Library targets for backup applications..............5 Hardware installation .......................5 Software requirements ......................5 Configuration stages.........................5 2 Discovery ....................6 Overview..........................6 Using DHCP to discover the HP StoreOnce Backup System ............6 Using the HP Discovery tool ......................6 To identify the required device....................7 To configure the network settings of a device................7 3 Linux (x86, x64 and IA64)................9...
  • Page 4 Restore the HP-UX kernel ....................26 5 Solaris (x86 and SPARC)................27 Overview ..........................27 Configuring the HP StoreOnce Backup System for iSCSI...............27 How to enable the iSCSI software initiator................27 How to configure the iSCSI software initiator using the D2Dsetup 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)............31 Controlling an HP StoreOnce Backup System using Solaris............31...
  • Page 5: Introduction

    1 Introduction Overview HP StoreOnce Backup Systems are a family disk-based storage appliance for backing up host network servers or PCs to target devices on the appliance. These devices are configured as either Network-Attached Storage (NAS) or Virtual Tape Library (VTL) targets for backup applications. The total number of “devices”...
  • Page 6: Discovery

    2 Discovery Overview The HP StoreOnce Backup System must be assigned an IP address before an iSCSI connection or access to the Web Management Interface can be made. If your product has been installed by HP Engineers, this configuration will have been carried out. Go to Chapter 3.
  • Page 7: To Identify The Required Device

    NOTE: If no HP StoreOnce Backup Systems 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 StoreOnce Backup Systems on the network you can use the Beacon button to help identify the unit that you wish to configure.
  • Page 8 Enter the network details and click Configure to send the details to the HP StoreOnce Backup System. The list of available HP StoreOnce 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 StoreOnce Backup System because it will be required during iSCSI configuration.
  • Page 9: Linux (X86, X64 And Ia64)

    3 Linux (x86, x64 and IA64) Overview This chapter describes how to configure the HP StoreOnce 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) RedHat Advanced Server 4 (x86, x64 and IA64) RedHat Advanced Server 5 (x86, x64 and IA64) NOTE:...
  • Page 10: How To Configure The Open-Iscsi Module Manually Using The Command Line

    Type: Sequential-Access ANSI SCSI revision: 03 st 7:0:0:0: Attached scsi tape st0 How to configure the Open-iSCSI module manually using the command line 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 StoreOnce Backup System.
  • Page 11: Configuring The Hp Storeonce Backup System For Fibre Channel

    localhost:~ $ iscsiadm --mode node --targetname <iqn...> --portal x.x.x.x:3260 --op update -name node.session.auth.password --value <chap_password> If the target is required to logon to the Initiator then the following two commands are also required: localhost:~ $ iscsiadm --mode node --targetname <iqn...> --portal x.x.x.x:3260 --op update -name node.session.auth.username_in --value <chap_username>...
  • Page 12: Configuring The Hp Storeonce Backup System For Nas (Nfs)

    An example of a GUI is shown below; for details of the GUI specific to your product, please refer to the product's User Guide. 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 StoreOnce Backup System.
  • Page 13: Controlling An Hp Storeonce Backup System Using Linux

    Controlling an HP StoreOnce Backup System using Linux The HP StoreOnce 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.
  • Page 14: Reviewing The Media In A Library

    The output should be: mt: /dev/st0 : No medium found This indicates that 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 library, the following command should be used: localhost:~ $ mtx f /dev/sg2 status The output for a MSL 2024 library with 1 tape drive and 24 cartridges configured would look...
  • Page 15: Moving A Cartridge To The Library Mail Slot

    Moving a cartridge to the library Mail Slot To move a cartridge to the mail slot for exporting to an attached tape drive, the mtx transfer command should be used. For example, to move the cartridge in slot 1 to the mail slot 25, the following command should be used: localhost:~ $ mtx f /dev/sg2 transfer 1 25...
  • Page 16: Restore The Linux Kernel

    Move the cartridge back to slot 1. localhost:~ $ mtx f /dev/sg2 unload 1 0 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 Restore the Linux kernel to the temporary folder.
  • Page 17: Hp-Ux 1 1I V2/V3 (Pa-Risc & Ia64)

    4 HP-UX 1 1i V2/V3 (PA-RISC & IA64) Overview This chapter describes how to configure the HP StoreOnce Backup System for use with the following HP-UX operating systems: HP-UX 1 1i V2 (PA-RISC and IA64) HP-UX 1 1i V3 (PA-RISC and IA64) NOTE: A block size no larger than 256 KB is strongly recommended when working with HP-UX 1 1i V2.
  • Page 18: How To Configure The Iscsi Software Initiator Using The D2Dsetup Script

    # iSCSI-00 B.11.31.01 HP-UX iSCSI Software Initiator iSCSI-00.ISCSI-SWD B.11.31.01 HP-UX iSCSI Software Initiator Issue the ioscan command as follows: HP-UX 1 1i V2 # ioscan -fnC iscsi HP-UX 1 1i 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 ===================================================================== iscsi 0 255/0 iscsi CLAIMED VIRTBUS iSCSI Virtual Node...
  • Page 19 The response will be: Target address “x.x.x.x:3260,1” has been successfully added. To display the discovery target that has been configured, type the following: # iscsiutil The output will be similar to this: Discovery Target Information ---------------------------- Target # 1 ----------- IP Address : x.x.x.x iSCSI TCP Port...
  • Page 20 Target Name : iqn.1986- 03.com.hp:storage.d2d.cr209107ff.500110ad6bd1034b.library 1 .robotics Target Alias No. of Target Addresses : 1 Target Address # 1 ------------------- 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...
  • Page 21: Configuring The Hp Storeonce Backup System For Fibre Channel

    # kcmodule B stape=static schgr=static * The automatic 'backup' configuration has been updated. Module State Cause schgr (now) static best (next boot) static explicit stape (now) static best (next boot) static explicit HP-UX 1 1i V3 # kcmodule B stape=static estape=static schgr=static eschgr=static * The automatic 'backup' configuration has been updated.
  • Page 22 An example of a GUI is shown below; for details of the GUI specific to your product, please refer to the product's User Guide. Output needs checking. To discover operational target devices, type the following: # ioscan The output will be similar to this: H/W Path Class Description...
  • Page 23: Configuring The Hp Storeonce Backup System For Nas (Nfs)

    estape (now) static best (next boot) static explicit To create device files for the target devices, type the following: # insf To display the device files associated with the operational target devices, type: # ioscan Class H/W Path Driver S/W State H/W Type Description ==========================================================================...
  • Page 24: Controlling An Hp Storeonce Backup System Using Hp-Ux

    Controlling an HP 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 can also be accessed using the command man mc.
  • Page 25: Loading A Cartridge Into A Library Tape Drive

    ST_slot_24:Full 722551118 IE_slot_25:Empty The DT_slot 1 represent Ultrium tape drives within the library. The ST_slots 1 to 24 represent the 24 configured 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.
  • Page 26: Back Up The Hp-Ux Kernel

    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 27: Solaris (X86 And Sparc)

    5 Solaris (x86 and SPARC) Overview This chapter describes how to configure the HP StoreOnce Backup System for use with the following Solaris operating systems: Solaris 9 (SPARC) Solaris 10 (x86 and SPARC) NOTE: HP StoreOnce Backup Systems with iSCSI interfaces are only supported with Solaris 10u4 or greater.
  • Page 28: How To Manually Configure The Iscsi Software Initiator Using The Command Line

    TPGT: 1 ISID: 4000002a0000 Connections: 1 LUN: 0 Vendor: Product: Ultrium 3-SCSI OS Device Name: /dev/rmt/1 total 2 lrwxrwxrwx 1 root root 136 Nov 3 18:00 c7t1d0 -> ../../../devices /iscsi/medium-changer@0000iqn.1986-03.com.hp%3Astorage.d2d.cr2070143b .500110a125810bbf.library1.roboticsFFFF,0:changer lrwxrwxrwx 1 root root 115 Nov 3 18:00 /dev/rmt/1cb -> ../../devices /iscsi/tape@0000iqn.1986-03.com.hp%3Astorage.d2d.cr2070143b .500110a250017b86.library1.drive0001,0:cb How to manually configure the iSCSI software initiator using the command line...
  • Page 29 iqn.1986-03.com.hp:storage.d2d.cr203f18f4.01a9754150ae013a .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 <iqn...>, <chap_password> and <chap_username>. 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 been modified, the operating system should be modified as follows: # iscsiadm modify initiator-node --authentication CHAP...
  • Page 30: Configuring The Hp Storeonce Backup System For Fibre Channel

    Alias: - ISID: 4000002a0000 Connections: 1 To create generic devices drivers for the iSCSI target devices, using the following commands: # update_drv -ai '"scsiclass,08"' sgen # devfsadm -i iscsi To verify devices files for the iSCSI target device have been created, use these commands: # ls l /dev/scsi/changer lrwxrwxrwx...
  • Page 31: Configuring The Hp Storeonce Backup System For Nas (Nfs)

    To verify devices files for the iSCSI target device have been created, use these commands: lrwxrwxrwx 1 root root 87 Apr 21 16:33 c2t500110AE1443192Ed0 -> ../../../devices/pci@7c0/pci@0/pci@9/SUNW,qlc@0/ fp@0,0/sgen@w500110ae1443192e,0:changer Here you can see device file c2t5001 10AE1443192Ed0 has been created for the changer element.
  • Page 32: To Verify The Device File For The Robotics Of The Library

    To verify the device file for the robotics of the library To verify the correct device file has been determined, the following command should be used: # mtx f /dev/scsi/changer/c3t1d0 inquiry The output for an MSL 2024 library should be: Product Type: Medium Changer Vendor ID: ‘HP ‘...
  • Page 33: Loading A Cartridge Into A Library Tape Drive

    Storage Element 24:Full :VolumeTag=722551118 Storage Element 25 IMPORT/EXPORT:Empty 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 StoreOnce Backup System Web Management Interface.
  • Page 34: Restore The Kernel

    Move the cartridge from slot 1 to the tape drive. # mtx f /dev/scsi/changer/c3t1d0 load 1 0 Ensure you are in the root directory. # cd / Back up the kernel using tar. # tar cvf /dev/rmt/2cb ./platform/`arch -k`/kernel/sparcv9/unix Move the cartridge back to slot 1. # mtx f /dev/scsi/changer/c3t1d0 unload 1 0 Restore the kernel...
  • Page 35: About This Guide

    About this guide This guide provides information about: Configuring UNIX™ and Linux for use with the HP StoreOnce Backup System Controlling an HP StoreOnce Backup System Intended audience This guide is intended for network administrators and users with knowledge of: Ethernet networks UNIX Linux...
  • Page 36: Hp Technical Support

    CAUTION: Indicates that failure to follow directions could result in damage to equipment or data. IMPORTANT: Provides clarifying information or specific instructions. NOTE: Provides additional information. TIP: Provides helpful hints and shortcuts. HP technical support For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: Product model names and numbers...
  • Page 37: Documentation Feedback

    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. Documentation feedback...

Table of Contents