The usual IT babble
Posts tagged Tivoli Storage Manager
Tivoli Storage Manager Server 5.5.3
Aug 28th
I spent yesterday afternoon upgrading our TS7530, and in my fad I also upgraded TSM to 5.5.3. Now, once I started TSM it quickly started complaining about the paths to the drives.
ANR8873E The path from source TSM1 to destination VTL1_DR03 (/dev/lin_tape/IBMtape03) is taken offline. ANR8873E The path from source TSM1 to destination VTL1_DR03 (/dev/lin_tape/IBMtape03) is taken offline. HBA_LoadLibrary: previously unfreed libraries exist, call HBA_FreeLibrary(). ANR8873E The path from source TSM1 to destination VTL1_DR07 (/dev/lin_tape/IBMtape07) is taken offline. ANR8873E The path from source TSM1 to destination VTL1_DR07 (/dev/lin_tape/IBMtape-07) is taken offline.
I thought maybe this is a mere device problem (we have had them before), so I rebooted the boxes. But still no luck and I went home after about an hour of trying without any luck. In the morning, my co-worker called our trustworthy IBM service partner, and the TSM consultant said he had the exact, same problem yesterday. We would have two options:
- Enable the option SANDISCOVERY, with the (completely undocumented) Passive setting (setopt SANDISCOVERY PASSIVE)
- Downgrade back to 5.5.2
For now, we implemented the first option, in the hope that’ll solve our troubles. And it actually does.
Mass-updating Tivoli Storage Manager drive status
Aug 28th
I was fighting with our VTL again, and TSM was thinking all the drives were offline. In order to update the drive status, you’d need to go into the ISC and select each drive and set them to ONLINE. Since I’m a bit click-lazy, I wrote a simple nested for-loop, which gives me the output to update all the drives at once:
for i in 1 2; do for k in $( seq -w 1 32 ); do echo "UPDATE DRIVE VTL$i VTL${i}_DR${k} ONLINE=YES" done done
Result is a list like this:
... UPDATE DRIVE VTL1 VTL1_DR31 ONLINE=YES UPDATE DRIVE VTL1 VTL1_DR32 ONLINE=YES UPDATE DRIVE VTL2 VTL2_DR01 ONLINE=YES UPDATE DRIVE VTL2 VTL2_DR02 ONLINE=YES UPDATE DRIVE VTL2 VTL2_DR03 ONLINE=YES ...
The same goes for mass-updating the path status:
for i in 1 2; do for k in $( seq -w 1 32 ); do echo "UPDATE PATH TSM$i VTL${i}_DR${k} SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=VTL$i ONLINE=YES" done done
Result is a list like this:
... UPDATE PATH TSM1 VTL1_DR31 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=VTL1 ONLINE=YES UPDATE PATH TSM1 VTL1_DR32 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=VTL1 ONLINE=YES UPDATE PATH TSM2 VTL2_DR01 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=VTL2 ONLINE=YES UPDATE PATH TSM2 VTL2_DR02 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=VTL2 ONLINE=YES