Hitachi

JP1 Version 11 JP1/Service Level Management Description


8.1.2 Backing up the database

A command is used to back up a database.

This subsection explains how to back up a database.

We recommend that you back up your database periodically.

Organization of this subsection

(1) Before you start

(2) Procedure

To back up the database:

  1. Terminate all SLM - URs that are connect to the SLM - Manager whose database is to be backed up.

    For details about how to terminate SLM - UR, see 2.1.3 Terminating SLM - UR.

  2. On the host on which the SLM - Manager whose database is to be backed up is installed, from the Windows Start menu, select Administrative Tools, and then Services.

  3. Stop the SLM - Manager service SLM - Manager Web Service (service name: JP1_ITSLM_MGR_Web_Service) of the SLM - Manager whose database is to be backed up.

  4. Stop the SLM - Manager service SLM - Manager Service (service name: JP1_ITSLM_MGR_Service) of the SLM - Manager whose database is to be backed up.

  5. Execute the database backup command.

    Execute the following backup command:

    jslmdbcopy absolute-path-of-backup-file

    For details about the backup command, see 9.4 jslmdbcopy (backs up database) in 9. Commands.

  6. Start the SLM - Manager service SLM - Manager Service that was stopped in step 4.

  7. Start the SLM - Manager service SLM - Manager Web Service that was stopped in step 3.

  8. Start all SLM - URs that were terminated in step 1.

    For details about how to start SLM - UR, see 2.1.2 Starting SLM - UR.

If the database backup command terminates normally and SLM - Manager and the SLM - URs start, the task of backing up the database is complete.

(3) Supplementary information

If you cannot end the SLM - Manager service in a short cycle, as shown in the following operation example, we recommend using a combination of the database backup command and the export command of monitor information to back up the database:

If data stored in the product goes missing due to, for example, a system failure, perform the following procedure to restore the data:

  1. Stop the monitoring of the monitoring target services.

  2. Stop the following services:

    • SLM - Manager Service (service name: JP1_ITSLM_MGR_Service)

    • SLM - Manager Web Service (service name: JP1_ITSLM_MGR_Web_Service)

  3. Use the jslmdbrstr command to restore the file output by the recently executed jslmdbcopy command.

  4. Start the services that were stopped in step 2.

  5. Use the jslmmgrimport command to chronologically import the files that were output by the jslmmgrexport command, beginning with the first files output after the most recent execution of the jslmdbcopy command.

  6. Start monitoring the monitoring target services.

(4) Related topics