Member restart and crash recovery
Member restart is the process of restarting the database server processes on a failed member and performing member crash recovery on each database that requires it.
- Local restart
- If a member fails because of a software failure but the member's home host is still active, Db2 cluster services attempts a local restart. The local member restart uses a reduced memory model to ensure the in-flight data is recovered to a consistent state quickly. Once the in-flight data has been recovered, the database's normal memory model is then initialized for full transaction processing.
- Restart light
- If a member's home host is inactive or if a local restart attempt fails, the member is automatically restarted as a guest member on another member's home host using a minimal amount of resources. A member running in restart light mode does not process new transactions because its sole purpose is to perform member crash recovery.
Member crash recovery
Member crash recovery is responsible for the rolling back of incomplete transactions and the completing of committed transactions as a part of member restart. This will ensure that the database data modified by this member is brought to a consistent state. If indoubt transactions exist at the end of member crash recovery, the member will be made available to the user to resolve them.
Member crash recovery will be performed when a viable cluster caching facility is still available and the database on a member is activated and it is determined that the member's log stream is inconsistent on disk due to an abnormal termination. In most cases, member crash recovery will be automatically invoked through member restart and the automatic recovery agent. The automatic recovery agent that is started when the instance is brought up, takes action when it detects that a database on the member is inconsistent.
Once member crash recovery of a database completes, the member will be able to accept incoming connection requests from other applications if that member was restarted on its original host.