HP 12000 HP VLS Solutions Guide Design Guidelines for Virtual Library Systems - Page 141
NetBackup Import Example Script, IBM TSM, IBM TSM Application Overview
View all HP 12000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 141 highlights
• Multistreaming SQL Server: For large SQL Server databases with more than one file group and more than one data file per file group, configure the backup to create one backup set per database data file (for example, single stripe per data file) for optimal deduplication. • Different backup job names for the same data: You should not have different group names for backing up the same data or they will not deduplicate against each other. Different job names could be due to having different retention times for the different backup types (for example, different policy names for full backups vs. incremental backups or different names for weekly full backups vs. monthly full backups), but a single policy can also achieve this. NetBackup Import Example Script The following section details a script to perform the tape import commands for Symantec NetBackup. The input to the script is the ISV Import email report (containing a list of cartridges by /barcode/library/slot that were successfully replicated and thus are ready for import). This example uses a Linux server client which contains the Email Processing Example Script) and has CLI access to the NetBackup CLI. The virtual library on the VLS target device has been presented to NetBackup over Fibre Channel and configured in NetBackup as a tape library with tape drives. To perform the import you must define the target virtual library in NetBackup terms with a robot type and robot number. For example, create a libmap_filecontaining entries with the library serial number, library type, and library number: DEC06150U7~TLD~2 The actual script would process the cartridge list from stdin (identified by the "ISV" tag at the beginning of the line) and use the NetBackup CLI to trigger a tape import on the specified library. For example: #!/bin/bash #set -x #read from stdin CARTLIST=`grep ISV~ /dev/stdin` for CART in $CARTLIST do BARCODE=`echo $CART | awk -F"~" '{print $2}'` LIBSERIAL=`echo $CART | awk -F"~" '{print $3}'` BCSLOT=`echo $CART | awk -F"~" '{print $4}'` ROB_TYPE=`grep $LIBSERIAL libmap_file | awk -F"~" '{print $2}'` ROB_NUM=`grep $LIBSERIAL libmap_file | awk -F"~" '{print $3}'` vmupdate -rt $ROB_TYPE -rn $ROB_NUM bpmedia -unfreeze -m $BARCODE bpmedia -unsuspend -m $BARCODE bpexpdate -d 0 -force -m $BARCODE bpimport -create_db_info -id $BARCODE & done wait IBM TSM This section includes both general and deduplication guidelines as well as other useful information for IBM TSM. IBM TSM Application Overview Figure 61 (page 142) shows an overview of TSM (Tivoli Storage Manager) LAN-based backups that incorporate virtual libraries. The steps are described below. IBM TSM 141