7 Copying One RTDB from Another RTDB

This chapter describes how to copy the contents of the Real Time Database (RTDB) that exists on the mated Oracle Communications EAGLE LNP Application Processor (ELAP) server to an RTDB within the same network element that needs database restoration or to copy the contents of the Real Time Database that exists on an ELAP on the mated network element to an RTDB that needs database restoration.

Copying One RTDB from Another RTDB

This section describes the two methods for copying an EAGLE LNP Application Processor (ELAP) Real Time Database (RTDB) from another ELAP RTDB to reload a corrupted or backlevel RTDB:

For more information about when to perform each method, see Choosing a Database Maintenance Procedure.

Restore the RTDB from the Mated ELAP

ELAP uses a Distributed Replicated Block Device (DRBD) to replicate the database. The DRBD replicates the database by using a snapshot image of the database. The Support ELAP Reload Via Database Image function, or SERVDI, is executed on the LSMS for the bulk download, and the process is completed with the procedure to restore the RTDB. See Restore RTDB on ELAP for the detailed procedure.

For more information on the SERVDI function, see SERVDI Bulk Download.

Copy RTDB from Remote ELAP

ELAP uses a snapshot image of the database to replicate the database. The Copy RTDB from Remote procedure is used to copy the RTDB from the remote ELAP.

After completing the copy procedure, the database must be restored to make the transferred file the active RTDB. See Restore RTDB on ELAP for the procedure to restore the RTDB.

Verifying RTDB Status

Before or after executing the Copy One RTDB to Another RTDB procedure, verify the status of the RTDBs using either or both of the following methods:

Verifying RTDB Status at the EAGLE Terminal

To verify the status of the ELAP RTDBs at the EAGLE terminal, enter the rept-stat-db:db=mps command.

The command output displays the database timestamp (DBTS) of both ELAP RTDBs in the RTDB-EAGLE field, as shown in bold in the following example. The DBTS indicates the last time an update was received by this RTDB from the LSMS. If the two DBTS values are not the same, the RTDB with the lower DBTS may need database maintenance.


    tekelecstp 02-10-29 08:55:54 NZST EAGLE 39.0.0

                     ELAP A  ( ACTV )
                     C  BIRTHDATE               LEVEL     EXCEPTION
                     -  -------------------   --------  --------------
    RTDB             Y  02-10-29 08:20:04       12345        -
    RTDB-EAGLE 02-10-29 08:20:04 12345 -
                                                                                -               
                     ELAP B ( STDBY )
                     C  BIRTHDATE               LEVEL      EXCEPTION
                     -  -------------------  ---------- --------------
    RTDB             Y  02-10-29 08:20:04       12345        -
    RTDB-EAGLE 02-10-29 08:20:04 12345 -
;

Verifying RTDB Status at the ELAP User Interface

To verify the status of ELAP RTDBs at the ELAP Graphic User Interface (view the status of the databases), perform the following procedure.

  1. Open a browser window and connect your web browser to the ELAP GUI.
  2. Log into the ELAP GUI with the user name and password for a user who is authorized to access the menu items shown in this procedure.
    The ELAP GUI is displayed, as shown in copying-one-rtdb-another-rtdb2.html#GUID-C800B955-3E7B-474A-8A36-B31BA1BE44DD__96963_1.

    Figure 7-1 ELAP Main Screen


    ELAP Main Screen

  3. From the Main Menu, select RTDB > View RTDB Status.
    The ELAP GUI workspace displays the RTDB status, as shown in Figure 7-2.

    Figure 7-2 ELAP RTDB Status


    img/t_verifying_rtdb_status_at_the_elap_user_interface_dbs-fig2.jpg
    Note the values displayed for DB Level and DB Birthday for both the local RTDB and the mate RTDB.
  4. To verify that both RTDBs are ready for normal service, ensure that:
    1. The status for both RTDBs displays
    2. Both RTDBs are coherent
    3. Both RTDBs have the same birthday
    4. Both RTDBs have the same level (if provisioning is occurring, the levels might be different by a small number)
      If you are not sure how to interpret the status of the RTDBs, contact unresolvable-reference.html#GUID-4DCE85D7-E15B-482F-B188-B54BBCAD7463.
    You have now completed this procedure.

Restore RTDB on ELAP

Follow these steps to restore the RTDB from a backup file after performing a bulk download.

  1. Open a browser window and connect your Web browser to the ELAP GUI.
  2. Log into the ELAP GUI with the user name and password for an authorized user.
  3. From the ELAP GUI menu, select Process Control, and then Stop Software to ensure that no other updates are occurring. The screen shown in Figure 7-3 displays. Click the Stop ELAP Software button.

    Figure 7-3 Stopping Software on the ELAP GUI


    img/t_procedure_to_copy_an_rtdb_from_the_mate_elap_dbs-fig3.jpg
    After the software on the selected ELAP has stopped, the screen shown in Figure 7-4 is displayed.

    Figure 7-4 Stop ELAP Software - Success


    img/t_restoring_databases_from_backup_files_mps_maintenance_t1100mps_maintmanual-fig2.jpg
  4. Select RTDB , and then Maintenance, and then Restore RTDB.

    The Restore the RTDB screen displays, Figure 7-5.

    Figure 7-5 Restore the RTDB


    img/c_rtdb_menu_elapgui_elapadmin-fig10aa.jpg
  5. Select the appropriate file to restore and click the Restore RTDB from the Selected File button.
  6. To confirm restoring the file, click the Confirm RTDB Restore button on the confirmation dialog, Figure 7-6.

    Figure 7-6 Confirm RTDB Restore


    img/c_rtdb_menu_elapgui_elapadmin-fig11a.jpg
  7. After the file is successfully restored, the screen shown in Figure 7-7 displays.

    Figure 7-7 Successful RTDB Restoration


    img/c_rtdb_menu_elapgui_elapadmin-fig12.jpg

Copy RTDB from Remote

Note:

The software does not have to be stopped before performing this procedure.

Restore the RTDB to make the transferred file the active RTDB.

Follow these steps to copy the RTDB from a remote ELAP to the local ELAP.

  1. Open a browser window and connect your Web browser to the ELAP GUI.
  2. Log into the ELAP GUI with the user name and password for a user who is authorized to access the menu items shown in this procedure.
  3. From the ELAP GUI menu, select RTDB , and then Maintenance, and then Copy from Remote .

    The Figure 7-8 screen is displayed.

    Figure 7-8 Copy RTDB from Remote Screen


    img/copy_rtdb_from_remote.jpg
  4. To copy the remote RTDB, enter the remote box's IP address and a password for the "elapdev" user ID in the fields shown in Figure 7-8. Then, click the Select File To Transfer button.
  5. Select the appropriate source from the screen that is displayed, as shown in Figure 7-9. Then, click the Copy the selected remote RTDB backup button.

    Figure 7-9 Copy RTDB from Remote Selection


    img/copy_rtdb_from_remote_selection.jpg
    After the copy is complete, a confirmation message is displayed.

    To reload the RTDB, follow the procedure as shown in Restore RTDB on ELAP.