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

Partition States

 

Primary KR

 

 

 

committed

 

 

 

−recoveryin

 

 

INITIAL

progress

ShadowKR

 

 

 

 

 

committed

 

Primary

 

 

Shadow

recovery

 

 

BLOCKED

recovery

complete

complete

 

 

 

Primary

Primary

 

 

recovery

 

 

fails

complete

 

CATCHUP

 

(no shadow)

LAGGING

Shadow

 

 

 

 

 

recovery

 

Primary

 

complete

 

Shadow recovery

 

recovery

in progress

 

 

complete

ACTIVE

DD CDS 8−NOV−1991 19:27:5 9

Server Shadowing and Recovery B–9

Page 273
Image 273
Compaq AA-Q88CE-TE manual Server Shadowing and Recovery Partition States