Resilience > FailSafe > Miscellaneous FailSafe Procedures > Swapping Primary and Secondary Databases and Continuing FailSafe

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

Swapping Primary and Secondary Databases and Continuing FailSafe (Resilience - FailSafe) (m646722+swapping.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

Swapping Primary and Secondary Databases and Continuing FailSafe

Notes:

This procedure allows you to close down a primary/secondary pair and start them up again, but in a reverse configuration.

Procedure

  1. Select option 5 on the Miscellaneous menu.
  2. A confirmation prompt is displayed — enter y  to automatically execute the following procedure:

    • The primary database is locked.
    • A pre-shutdown Proc called TL-SHUTDOWN is run on the primary. The contents of this Proc are intended to be entirely site-specific, but typically it will request all users to logoff, stops all TIPHs, Despoolers, background servers etc. TL-SHUTDOWN is in the SYSPROG-PL file.
    • Any remaining users are logged off, the primary database is shutdown and reconfigured as a secondary.
    • A pre-startup Proc called PRESTARTUP is run on the new primary. The contents of this Proc are intended to be entirely site-specific, but typically it starts processes which must be run before users can log on, such as application integrity checkers. PRESTARTUP is in the SYSPROG-PL file.
    • The secondary is reconfigured as a primary and unlocked, allowing users to log on.
    • A post-startup Proc called STARTUP is run on the new primary. The contents of this Proc are entirely site-specific, but typically it will start processes to perform other initialisation procedures such as, starting TIPHs and Despoolers. STARTUP is in the SYSPROG-PL file.
  3. After approximately one minute the procedure completes with the message:

        Primary and Secondary roles reversed.
    This system is now the Secondary, please logon to the Primary and run tlmenu from that system.

RealityV15.1 (MoTW) Revision 7Comment on this topic