Question & Answer
Question
In the event that the Tivoli Storage Manager server or underlying DB2 database crashes, how long will the recovery process take and how can it be monitored?
Answer
There is a DB2 diagnostic tool called 'db2pd' that can be used to obtain information from DB2 about on-going database recovery procedures.
Attempts to start the Tivoli Storage Manager or IBM Spectrum Protect server after a crash may result in a 'db2sysc' process consuming significant memory and CPU resources despite the fact that no dsmserv process is running. It is likely that the db2sysc process is involved in database recovery techniques. This can be confirmed by running the 'db2pd' program from a shell prompt.
For example:
- tsm:~ # db2pd
db2pd> You are running db2pd in interactive mode.
db2pd> If you want command line mode, rerun db2pd with valid options.
db2pd> Type -h or -help for help.
db2pd> Type q to quit.
To check the status of the database recovery operation, run the command '-recovery -db tsmdb1'. Please note that the database name will always be named 'tsmdb1'. For example, if a recovery is in progress the output would be similar to the following:
db2pd> -recovery -db tsmdb1
Database Partition 0 -- Database TSMDB1 -- Active -- Up 0 days 00:00:03
Recovery:
Recovery Status 0x04000C01
Current Log
Current LSN 0000000D017CA967
Job Type CRASH RECOVERY
Job ID 1
Job Start Time (1272488115) Wed Apr 28 13:55:15 2010
Job Description Crash Recovery
Invoker Type User
Total Phases 2
Current Phase 1
Progress:
Address | PhaseNum | Description | StartTime | CompletedWork | TotalWork |
0x0000000200CAEF08 | 1 | Forward | Wed Apr 28 13:55:15 | 306215037 bytes | 840613087 bytes |
0x0000000200CAF090 | 2 | Backward | NotStarted | 0 bytes | 840613087 bytes |
Product Synonym
TSM adsm spectrum protect
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21610522