Previous Topic: How BES Primary Database Recovery Works

Next Topic: How You Recover Damaged Mirror and Primary Databases

Recover a Damaged BES Primary Database

Use the BES mirror database to recover from a damaged BES primary database.

To recover a damaged BES primary database from the BES mirror database

  1. Invoke the following command to stop each BES address space that shares the BES primary database:
    P BESn
    
    n

    Indicates the number of the BES address space that shares the BES primary database.

    The appropriate BES address space stops.

  2. Delete and redefine the BES primary database using the sample JCL member BESPALC.

    This deletes the original BES primary database and redefines the specifications for recovering the database.

  3. Copy the BES mirror database into the new BES primary database using IDCAMS REPRO or the backup utility of your choice.

    You can use the sample JCL member BESPCOPY.

    Note: This job must complete with a return code of 0.

    This copies the data from the mirror database into the new primary database.

  4. Start the BES address spaces that share the BES primary database with the following command:
    Start BES.BESn
    
    n

    Indicates the number of the BES address space that shares the BES primary database.

    This makes available all the appropriate BES address spaces for use with the newly-restored BES primary database.