HP StorageWorks 12000 HP StorageWorks VLS and D2D Solutions Guide (AG306-96028 - Page 199

IBM TSM, TSM General Guidelines

Page 199 highlights

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. TSM General Guidelines The following TSM guidelines apply to a VLS regardless of whether deduplication is enabled or disabled: • Configuration of libraries: See the HP StorageWorks Enterprise Backup Solution with Tivoli Storage Manager implementation guide for details on how to configure the device drivers for HP libraries and drives, including how to set the library element numbers, install the appropriate "tsmscsi" drivers, etc. The "HP VLS" library emulation is only supported in TSM version 5.5.2.1 or higher. • Disable client compression: When configuring clients on the TSM server, HP recommends not enabling client compression. The built-in compression in the virtual library device gives better performance. In addition, the client compression prevents deduplication from operating. Therefore, when registering a new client node on the server, set the client compression setting to NO rather than CLIENT. The default value for the COMPression parameter for the REGister Node command is CLIENT. • TSM server/client performance: There are a multitude of settings available in the TSM server options file that make TSM very configurable in a wide variety of environments. However, there are a few key recommended settings shown in Table 28 and Table 29 to improve performance with backup and restore to tape libraries. See the IBM Tivoli Storage Manager Performance Tuning Guide for more information on server and client performance. Table 28 Recommended Settings for each TSM Server's dsmserv.opt File or Storage Agent's dsmsta.opt Command1 TCPNODELAY Value YES Notes Default HP StorageWorks VLS and D2D Solutions Guide 199

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218

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.
TSM General Guidelines
The following TSM guidelines apply to a VLS regardless of whether deduplication is enabled or
disabled:
Configuration of libraries: See the
HP StorageWorks Enterprise Backup Solution with Tivoli Storage
Manager implementation guide
for details on how to configure the device drivers for HP libraries
and drives, including how to set the library element numbers, install the appropriate "tsmscsi"
drivers, etc.
The "HP VLS" library emulation is only supported in TSM version 5.5.2.1 or higher.
Disable client compression: When configuring clients on the TSM server, HP recommends not en-
abling client compression. The built-in compression in the virtual library device gives better per-
formance. In addition, the client compression prevents deduplication from operating. Therefore,
when registering a new client node on the server, set the client compression setting to NO rather
than CLIENT. The default value for the
COMPression
parameter for the
REGister Node
com-
mand is
CLIENT
.
TSM server/client performance: There are a multitude of settings available in the TSM server options
file that make TSM very configurable in a wide variety of environments. However, there are a few
key recommended settings shown in
Table 28
and
Table 29
to improve performance with backup
and restore to tape libraries. See the
IBM Tivoli Storage Manager Performance Tuning Guide
for
more information on server and client performance.
Table 28 Recommended Settings for each TSM Server's dsmserv.opt File or Storage Agent
s
dsmsta.opt
Notes
Value
Command
1
Default
YES
TCPNODELAY
HP StorageWorks VLS and D2D Solutions Guide
199