Job Management Partner 1/Integrated Management - Manager Administration Guide

[Contents][Index][Back][Next]


1.2.2 Database backup and recovery

Organization of this subsection
(1) Command execution log backup and recovery procedures
(2) Monitored object database backup and recovery procedures
(3) Host information database backup and recovery procedures
(4) Event database backup and recovery procedures
(5) IM database backup and recovery procedures

(1) Command execution log backup and recovery procedures

The following explains the procedures for backing up and recovering the command execution log.

(a) Backup procedure

To back up the command execution log:

  1. Stop JP1/IM - Manager.
  2. Stop JP1/Base.
  3. Back up the target files.
    For details about which files to back up, see (c) Files to back up.
  4. Start JP1/Base.
  5. Start JP1/IM - Manager.

(b) Recovery procedure

To recover the command execution log:

  1. Stop JP1/IM - Manager.
  2. Stop JP1/Base.
  3. Place the backup files in their respective directories.
  4. Start JP1/Base.
  5. Start JP1/IM - Manager.
    Note
    When the log is recovered, the history of the automated actions taken and the commands executed from the Command Execution window between the time of backup and the time of recovery cannot be viewed.

(c) Files to back up

The files to back up are listed below.

In Windows:

Table 1-3 Files to back up (Windows)

Information type Files to back up
Command execution log file All files under Base-path\log\COMMAND\
All files under shared-folder\jp1base\log\COMMAND\
Action information file Console-path\log\action\actinf.log
shared-folder\jp1cons\log\action\actinf.log
Action hosts file Console-path\log\action\acttxt{1|2}.log
shared-folder\jp1cons\log\action\acttxt{1|2}.log

In UNIX:

Table 1-4 Files to back up (UNIX)

Information type Files to back up
Command execution log file All files under /var/opt/jp1base/log/COMMAND/
All files under shared-directory/jp1base/log/COMMAND/
Action information file /var/opt/jp1cons/log/action/actinf.log
shared-directory/jp1cons/log/action/actinf.log
Action hosts file /var/opt/jp1cons/log/action/acttxt{1|2}.log
shared-directory/jp1cons/log/action/acttxt{1|2}.log

For details about the command execution log file, see the Job Management Partner 1/Base User's Guide.

(2) Monitored object database backup and recovery procedures

The following explains the procedures for backing up and recovering the monitored object database. The monitored object database is used when the Central Scope functions are used.

(a) Backup procedure

To back up the monitored object database:

  1. Stop JP1/IM - Manager.
  2. Back up the target files.
    The table below shows the files to back up.

    Table 1-5 Files to back up

    OS Information type Files to back up
    Windows Monitored object database All files under Scope-path\database\jcsdb\
    All files under shared-folder\jp1scope\database\jcsdb\
    UNIX Monitored object database All files under /var/opt/jp1scope/database/jcsdb/
    All files under shared-directory/jp1scope/database/jcsdb/
  3. Start JP1/IM - Manager.

(b) Recovery procedure

To recover the monitored object database:

  1. Stop JP1/IM - Manager.
  2. Place the backup files in directories.
  3. Start JP1/IM - Manager.

(3) Host information database backup and recovery procedures

The following explains the procedures for backing up and recovering the host information database. The host information database is used when the Central Scope functions are used.

(a) Backup procedure

To back up the host information database:

  1. Stop JP1/IM - Manager.
  2. Back up the target files.
    The table below shows the files to back up.

    Table 1-6 Files to back up

    OS Information type Files to back up
    Windows Host information database All files under Scope-path\database\jcshosts\
    All files under shared-folder\jp1scope\database\jcshosts\
    UNIX Host information database All files under /var/opt/jp1scope/database/jcshosts/
    All files under shared-directory/jp1scope/database/jcshosts/
  3. Start JP1/IM - Manager.

(b) Recovery procedure

To recover the host information database:

  1. Stop JP1/IM - Manager.
  2. Place the backup files in directories.
  3. Start JP1/IM - Manager.

(4) Event database backup and recovery procedures

For details about the procedures for backing up and recovering the event database, see the explanation on backup and recovery in the Job Management Partner 1/Base User's Guide.

When you are recovering the event database of a JP1/IM - Manager host, you must also back up and recover the command execution log at the same time. For details about the procedures for backing up and recovering the command execution log, see (1) Command execution log backup and recovery procedures.

Note
When you are backing up and recovering the event database, you must also back up and recover the command execution log at the same time.
If you back up and recover only the event database, an inconsistency will occur in the association of JP1 event execution results and automated actions inside the event database.
The results of automated actions executed before the event database recovery may be displayed as the execution results of automated actions for JP1 events registered after the event database recovery.

(5) IM database backup and recovery procedures

This subsection explains the procedures for backing up and recovering the IM database on a physical host, and in a cluster environment.

(a) Procedures for backing up and recovering the IM database on a physical host

To back up the IM database on a physical host:

  1. Stop the JP1/IM - Manager service.
  2. Use the jimdbbackup command to make a backup of the target database.
    For details about the jimdbbackup command, see jimdbbackup (1. Commands) in the manual Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference.
  3. Start the JP1/IM - Manager service.

To recover the IM database on a physical host:

  1. Stop the JP1/IM - Manager service.
  2. Using the jimdbrecovery command, recover the target database.
    For details about the jimdbrecovery command, see jimdbrecovery (1. Commands) in the manual Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference.
  3. Start the JP1/IM - Manager service.

(b) Procedures for backing up and recovering the IM database in a cluster environment

The procedure for backing up the IM database in a cluster environment is described below. In the case of a cluster environment, execute the backup process on the executing host. Furthermore, the shared directory must be accessible.

To back up the IM database in a cluster environment:

  1. Stop the JP1/IM - Manager service and the cluster database service.
  2. Using the jimdbbackup command, make a backup of the target database.
    For details about the jimdbbackup command, see jimdbbackup (1. Commands) in the manual Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference.
  3. Start the JP1/IM - Manager service and the cluster database service that was stopped in Step 1.

To recover the IM database in a cluster environment:

  1. Stop the JP1/IM - Manager service and the cluster database service.
  2. Using the jimdbrecovery command, recover the target database.
    For details about the jimdbrecovery command, see jimdbrecovery (1. Commands) in the manual Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference.
  3. Start the JP1/IM - Manager service and the cluster database service that was stopped in Step 1.

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.