HP StoreOnce B6000 HP B6000 StoreOnce Backup System Linux and UNIX Configurati
HP StoreOnce B6000 Manual
View all HP StoreOnce B6000 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP StoreOnce B6000 manual content summary:
- HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 1
HP StoreOnce Backup System Linux and UNIX Configuration Guide HP Part Number: EJ022-90910 Published: December 2011 Edition: Edition 7.0 - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 2
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 trademarks of Adobe Systems Incorporated. Java is - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 3
script 18 How to manually configure the iSCSI software initiator using the command line 18 Configuring the HP StoreOnce Backup System for Fibre Channel 21 Configuring the HP StoreOnce Backup System for NAS (NFS 23 Controlling an HP StoreOnce Backup System using HP-UX 24 Using large block - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 4
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 Verify you - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 5
which backup applications are supported. 2. Make sure that your operating system is patched with the latest service packs. 3. Upgrade your backup application to the latest version. Configuration stages Configuration requirements are specific to each HP StoreOnce Backup System. This guide provides - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 6
the network has a DHCP server, the HP StoreOnce Backup System will be configured automatically with an IP address • If no DHCP server is available, the HP StoreOnce Backup System must be configured manually using the HP Discovery tool, provided on the HP StoreOnce CD-ROM supplied with your product - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 7
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. Select a device in the list and click Beacon. The lights on the front of the - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 8
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. 3. Make a note of the IP address of the HP StoreOnce Backup System because it - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 9
SLES 10 SP1 and RedHat 5 or greater. 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 11). How to install - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 10
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 B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 11
node --targetname --portal x.x.x.x:3260 --login 5. To enable the iSCSI target devices to remain persistent across system reboots, the open-iscsi service must be configured to run at system of all the configured SCSI devices on the system, including the HP StoreOnce Backup System. An example - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 12
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. An example - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 13
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 StoreOnce Backup System. • Verify you are controlling the correct library • Review the - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 14
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. Loading a cartridge into a library tape drive - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 15
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 B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 16
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 B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 17
HP-UX 11i V2 (page 24). 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 Installation Instruction to download instructions for using - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 18
-7203-11dc-82a4 -bf88291ef301 This initiator node name is required by the HP StoreOnce Backup System web management interface when manually configuring library devices. 3. To discover available iSCSI target devices on a HP StoreOnce Backup System and add them to iSCSI persistent information - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 19
iSCSI Portal Group Tag : 1 User Configured: Authenticaton Method : CHAP Method : CHAP_UNI Initiator CHAP Name : CHAP Secret : Header Digest : None,CRC32C (default) Data Digest : None,CRC32C (default) Target # 2 ----------- Configuring the HP StoreOnce Backup System for iSCSI 19 - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 20
None,CRC32C (default) 7. To optionally configure uni-directional CHAP authentication you should update the Once the HP StoreOnce Backup System has been modified, the operating system should be 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 - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 21
Type Description iscsi 0 255/0 iscsi CLAIMED VIRTBUS iSCSI Virtual Node ext_bus 8 255/0/0.0 iscsial CLAIMED INTERFACE iSCSI-SCSI Protocol Interface best density available Configuring the HP StoreOnce Backup System for Fibre Channel For a Switched Fabric Configuration, zone the individual - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 22
your product, please refer to the product's User Guide. Output needs checking. 1. To discover operational target 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 - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 23
/D2DBackupShare /mnt/D2DBackupShare The StoreOnce Backup System supports NFSv3. To explicitly mount the StoreOnce Backup System using NFSv3, the following syntax should be used: # mount -t nfs -o nfsvers=3 x.x.x.x:/ Configuring the HP StoreOnce Backup System for NAS (NFS - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 24
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 B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 25
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 - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 26
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 B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 27
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 30). How to enable the iSCSI software initiator 1. Enable the iSCSI services - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 28
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 StoreOnce Backup System. 1. Find the iSCSI initiator node for the Solaris - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 29
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 - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 30
/dev/rmt/2cb -> ../../devices/iscsi/[email protected]%3Astorage .d2d.cr203f18f4.01a9754150ae013a.library1.drive10001,0:cb Configuring the HP StoreOnce Backup System for Fibre Channel For a Switched Fabric Configuration, zone the individual devices to the host concerned using the virtual - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 31
should be configured to use NFS as the Access Protocol when backing up data using Solaris. The NFS share can then be mounted in Solaris using the mount command. For example: # mount -F nfs -o vers=3 192.168.0.100:/nas/D2DBackupShare /mnt/D2DBackupShare The HP StoreOnce Backup System supports NFSv3 - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 32
dev/rmt/*cb The output will be a list of device files for each configured tape drive. e.g. /dev/rmt/2cb. In this example the SCSI tape 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= - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 33
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. Loading a cartridge into a library tape drive - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 34
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 3. Restore the kernel to the temporary folder. # tar xvf /dev/rmt/2cb 4. Move the cartridge back to slot - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 35
)) • HP StoreOnce Backup System CLI reference guide (HP B6000 Series) • HP StoreOnce Backup System user guide (G1 and G2 products) • HP StoreOnce Backup System installation poster (not available for HP B6000 Series) You can find these documents from the Manuals page of the HP Business Support Center - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 36
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 - HP StoreOnce B6000 | HP B6000 StoreOnce Backup System Linux and UNIX Configurati - Page 37
/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 [email protected]. All submissions
HP StoreOnce
Backup System
Linux and UNIX Configuration Guide
HP Part Number: EJ022-90910
Published: December 2011
Edition: Edition 7.0