Compaq AA-Q88CE-TE Network Router User Manual


 
Server Shadowing and Recovery
B.11 Partition States
B.11 Partition States
The current state of a key-range partition can be examined using the
SHOW
PARTITION/FULL
command for the routers and the backends:
RTR> show partition/router/full
Facility: RTR$DEFAULT_FACILITY State: ACTIVE
Low Bound: 0 High Bound: 4294967295
Failover policy: fail_to_standby
Backends: depth
States: active
Primary Main: depth Shadow Main:
Backend partitions:
RTR> show partition/backend/full
Partition name: RTR$DEFAULT_PARTITION_16777217
Facility: RTR$DEFAULT_FACILITY State: active
Low Bound: "aaaa" High Bound: "mmmm"
Active Servers: 0 Free Servers: 1
Transaction presentation: active Last Rcvy BE:
Txns Active: 0 Txns Rcvrd: 0
Failover policy: fail_to_standby Key range ID: 16777217
Partition name: RTR$DEFAULT_PARTITION_16777218
Facility: RTR$DEFAULT_FACILITY State: active
Low Bound: "nnnn" High Bound: "zzzz"
Active Servers: 0 Free Servers: 1
Transaction presentation: active Last Rcvy BE:
Txns Active: 0 Txns Rcvrd: 0
Failover policy: fail_to_standby Key range ID: 16777218
Figure B–4 describes the partition state changes which appear in the "State:"
field
Figure B–4 Router Partition States
INITIAL
BLOCKED
LAGGING
CATCHUP
ACTIVE
Primary KR
committed
− recovery in
progress
Shadow KR
committed
(no shadow)
Primary
recovery
complete
Primary
recovery
complete
recovery
complete
Shadow
Primary
fails
recovery
complete
Shadow
Primary
recovery
complete
Shadow recovery
in progress
P
art
i
t
i
on
S
tates
DD CDS 8−NOV−1991 19:27:5
9
Server Shadowing and Recovery B–9