Server Shadowing and Recovery

B.9 Server States

Figure B–2 Server States

INITIAL

Backendnot

ProposeKR

 

 

 

 

 

Secondary

yet quorate

to Routers

 

 

 

 

 

 

WAIT−TR−RETRY

 

SECONDARY

node failure

 

 

 

 

 

STANDBY

 

 

 

 

 

 

WAIT_QUORUM

Retry

Router detects

 

Secondary

 

Primary site

 

 

 

 

 

definition clash

 

alreadyactive

 

failure

 

ProposeKR

 

 

 

in cluster

 

 

 

to Routers

WAIT−TR−OK

 

 

STANDBY

 

 

 

 

 

 

 

 

KR already

 

 

Error

 

 

 

 

 

 

active on

 

 

 

 

 

 

 

 

 

 

Proposal accepted

anotherCPU

 

 

 

Server declaration

− commit KR

 

 

 

 

 

 

 

 

 

Primary node

 

rejected

 

 

 

 

 

 

 

 

 

failure

 

 

 

 

 

 

 

 

 

 

 

WAITRESTART

 

 

 

 

Legend:

 

Router sends

 

 

 

 

 

KR Key range

 

 

Inaccessible

 

 

 

 

listofrecovery

 

 

 

 

TX Transaction

 

 

 

 

 

 

Journals

 

Journal

 

 

 

TR TX Router

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RESTART

Journal

 

WAIT−JNL

 

 

 

Journal recovery

 

 

 

 

 

 

 

becomes

 

 

 

Non−shadowed

 

datafound(ifany)

 

accessible

 

 

 

Primary

 

 

 

Inaccessible

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Journal

 

 

 

 

 

RECOVERING

 

 

WAIT−RVY

 

 

NoSecondary

Primary

Journal

 

 

 

 

Journal recovery

 

 

 

 

 

 

becomes

 

 

 

 

datafound(ifany)

 

active

 

Inaccessible

 

 

 

accessible

 

 

 

 

No Primary

 

 

Journal

 

 

REMEMBER

 

CATCHUP

 

 

WAIT

 

 

 

 

 

 

Journal

CATCHUP

 

 

 

Primary

Primary

becomes

 

 

Secondary is

accessible

 

 

active

 

 

 

ready

 

failure

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACTIVE

 

SECONDARY

 

 

 

 

 

 

 

DD CDS 8−NOV−1991 17:23:35

Server Shadowing and Recovery B–7

Page 271
Image 271
Compaq AA-Q88CE-TE manual Server Shadowing and Recovery Server States, Figure B-2 Server States