Coupling facility failure scenarios
Coupling facility failure scenarios include connectivity failures and structure failures.
Connectivity failure to the SCA or lock structure
The following table summarizes what happens when there are connectivity failures to the SCA.
Active SFM policy? | Weighted loss < REBUILDPERCENT? | Db2 response | Operational response |
---|---|---|---|
No | Not applicable | Each affected member issues: Db2 comes down. Connection is deleted; structure remains allocated. |
Options include:
|
Yes | Yes | Each affected member issues: Db2 comes down. Connection is deleted; structure remains allocated. |
Options include:
|
Yes | No | Automatic rebuild.
|
None needed. |
The following table summarizes what happens when there are connectivity failures to the lock structure.
Active SFM policy? | Weighted loss < REBUILDPERCENT? | Db2 response | Operational response |
---|---|---|---|
No | Not applicable | Each affected member issues: Db2 comes down. Connection is failed-persistent; structure remains allocated. |
Options include:
|
Yes | Yes | Each affected member issues: Db2 comes down. Connection is failed-persistent; structure remains allocated. |
Options include:
|
Yes | No | Automatic rebuild.
|
None needed. |
Connectivity failure to non-duplexed group buffer pools
The following table summarizes what happens when there are connectivity failures to the group buffer pools.
Connectivity lost from | Weighted loss < REBUILDPERCENT? | Db2 response | Operational response |
---|---|---|---|
100% of members connected to a group buffer pool that is defined with GBPCACHE(YES) | No | Each affected member issues: Add pages to logical page list, if necessary. Damage assessment, GRECP page sets.
|
None needed if the group buffer pool is defined with AUTOREC(YES), and Db2 successfully recovers the page sets. Otherwise, enter START DATABASE commands. |
100% of members connected to a group buffer pool that is defined with GBPCACHE(NO) | No | Automatic rebuild.
|
None needed. |
A subset of members connected to some or all group buffer pools. | Yes | Each affected member issues: Quiesce applications that use the group buffer pool. Add pages to logical page list if necessary. Disconnect GBPx failed-persistent.
|
Options include:
Enter START DATABASE commands to recover logical page list entries. |
A subset of members connected to some or all group buffer pools. | No | Automatic rebuild. |
None needed. |
Note:
|
Structure failures
The following table summarizes what happens to each structure if there is a structure failure. This information is for non-duplexed group buffer pools.
Failed structure | Db2 response | Operational response |
---|---|---|
SCA | Automatic rebuild
|
None needed. |
Lock structure | Automatic rebuild
|
None needed. |
Group buffer pool that is defined with GBPCACHE(YES) | Add pages to logical page list, if necessary. Damage assessment, GRECP page sets.
|
None needed if the group buffer pool is defined with AUTOREC(YES) and Db2 successfully recovers the page set. Otherwise, enter START DATABASE commands. |
Group buffer pool that is defined with GBPCACHE NO | Automatic rebuild.
|
None needed. |
Connectivity failures for the duplexed group buffer pools
For duplexed group buffer pools, a failure response is the same for both a loss of structure and for lost connectivity, as shown in the following table.
Structure loss | Db2 response | Operational response |
---|---|---|
Primary | Switch to secondary in simplex mode If DUPLEX(ENABLED) then reduplexing is attempted. |
If the system did not automatically reduplex, correct the problem with the failed coupling facility. If you want to restart duplexing, use the z/OS® SETXCF command. |
Secondary | Revert to primary in simplex mode If DUPLEX(ENABLED) then reduplexing is attempted. |
If the system did not automatically reduplex, correct the problem. If you want to restart duplexing, use the SETXCF command. |
Both (loss of structure or 100 % LOSSCONN) | Damage assessment, GRECP page sets. | None needed if the group buffer pool is defined with AUTOREC(YES) and Db2 successfully recovers the page set. Otherwise, enter START DATABASE commands. |