Figure 1. User-Managed Duplexing Rebuild
Timeline Rebuild Rebuild Rebuild Rebuild
Connect Duplex Cleanup Process
event Established event Complete
presented event presented event
Start to all presented to all presented
Duplexing connectors to all connectors to all
Rebuild (Sync Point) connectors (Sync Point) connectors
: : (Sync Point) : (Sync Point)
: : : : :
<------------------------------------------------------------------------------------------------------------------->
: : : : :
: : : -Connectors : -Connectors cease :
: -Event exits driven : -Each connector issues : operate in : processing for old :
: with Rebuild : IXLCONN with the : duplex mode. : structure. :
: Quiesce event. : REBUILD keyword : : :
: : to allocate/connect to : -Duplexing can be : -Each connection :
: -Each connector : the new structure. : stopped to fall : invokes IXLEERSP :
: quiesces activity : : back to old str. : to provide an :
: on the structure : -New contoken provided; : : event exit response :
: and invokes IXLEERSP : old contoken revalidated.: -Duplexing can be : for the Rebuild :
: to provide an event : : stopped to switch : Cleanup event. :
: exit response for the : -Each connector propa- : to new structure. : :
: Rebuild Quiesce event. : gates data to the new : WHEN SWITCHING: : -Original contoken :
: : structure to establish : -CONA indicates : revalidated to :
: - Old contoken : duplexing. : switch-in-progress. : access new :
: invalidated. : : : structure. :
: : -Rebuild Connects : -Connectors receive : :
: : Complete event NOT : Rebuild Switch : :
: : presented to connectors : event. : :
: : during the rebuild : : :
: : process. : -Connectors quiesce : :
: : : duplexing and : :
: : : invoke IXLREBLD : :
: : -As each connector : DUPLEXCOMPLETE. : :
: : completes its data : : :
: : propagation, each : -Old and new : :
: : connector invokes : contokens : :
: : IXLREBLD COMPLETE. : invalidated. : :
:--New IXLCONNs permitted---------------------------------------------------|: :
: : : : :
: -CONA indicates rebuild : -CONA indicates : -CONA indicates : : -IXLCONNs
: in progress and phase. : rebuild in progress : rebuild in progress : : permitted.
: : and phase. : and phase. : :
: -New connectors owe : : : : -Rebuild Start
: IXLEERSP for Rebuild : -New connectors issue : -New connectors use : : requests
: Quiesce event. : IXLCONN REBUILD to : IXLCONN REBUILD to : : permitted
: : connect to new str, : connect to new str, : : again.
: : propagate data, and : then participate in : :
: : invoke IXLREBLD : duplexing (or : :
: : COMPLETE. : switch, if : :
: : : requested) : :
:- Stop Rebuild requests permitted -----------------------------------------|: :
: : : : :
---- Old structure allocated --------------------------------------------------------------------------|
: : : : :
: : |- New structure allocated ------------------------------------------>
: : : : :
- SVC Dump dumps old structure -------------| : : :
: : SVC Dump dumps :
: : |-- old and new structure -----------------------|-> : SVC Dump dumps
: : : : new structure