Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 System Design (Configuration) Guide


5.2.5 Backing up and recovering an embedded database by using the backup enhancement function

You can back up all of the tables in a JP1/AJS3 database (embedded database) in case a failure occurs. For details about the data stored in the embedded database, see 2.6 Determining the JP1/AJS3 database configuration. If a failure occurs in the embedded database, you can use the backup data to restore the embedded database to the status when the backup data was created.

Organization of this subsection

(1) Characteristics of backup and recovery by using the backup enhancement function

In an environment in which the backup enhancement function is enabled, you can back up the embedded database while JP1/AJS3 is running.

The recovery process can restore the registered execution-schedule information, the execution statuses, the execution results of jobs and jobnets, and the values of parameters that change with each job execution (macro valuables and passing information), in addition to the definitions of units, schedules, and calendars. Because there is no need to register jobnets for execution after recovery, the time required for recovery after a failure can be reduced.

After the embedded database recovers, the scheduler service that runs on the recovered embedded database automatically starts in disaster recovery mode, when you next start the scheduler services. This means that the scheduler service starts with job execution suppressed, and the statuses of jobs and jobnets are changed. If job execution is suppressed, you can use JP1/AJS3 - View or a command to check the status of each job, and then change the statuses of jobs or rerun jobs as needed. For details about the statuses of jobnets and jobs when the start mode is disaster recovery, see the description about the disaster-recovery start in 6.2.1(3) Jobnet and job statuses for each start mode in the JP1/Automatic Job Management System 3 Administration Guide.

Cautionary notes
  • Execution result details and temporary changes cannot be recovered.

  • Note that, in an environment in which the backup enhancement function is used, the amount of data to be stored in the embedded database increases compared to an environment in which the backup enhancement function is not used because information required for recovery is stored in the embedded database. For this reason, the performance of processing accompanied by update of the embedded database such as job execution and registration for execution will decline. If the system requires the JP1/AJS3's processing performance, verify the performance in an actual environment before considering the use of the backup enhancement function.

(2) Target of backup and recovery

The backup enhancement function backs up and recovers all data stored in the embedded database. Data not stored in the embedded database, such as JP1/AJS3 environment setting information, is not backed up. When using the backup enhancement function, consider how to back up data that is not stored in the embedded database, for example, by backing up the entire system or backing up individual data items as needed.

(3) Settings for using the backup enhancement function

To use the backup enhancement function, you need to enable this function when setting up the embedded database. For details about how to do this, see 21.6 Settings for backing up and recovering an embedded database while JP1/AJS3 is running in the JP1/Automatic Job Management System 3 Configuration Guide.

You can enable or disable the backup enhancement function for each embedded database. When you set up multiple scheduler services on the same embedded database, make sure that the function is enabled or disabled identically for the embedded database and all of its scheduler services.

The following figure shows a configuration that can be used to enable the backup enhancement function and a configuration that cannot be used.

Figure 5‒2:  Configuration that can be used to enable the backup enhancement function

[Figure]

(4) Backup and recovery by using the backup enhancement function

To back up and recover an embedded database by using the backup enhancement function, use the jajs_dbbackup and jajs_dbrestore commands. For details about how to back up and restore, see 2.5 Backing up and recovering JP1/AJS3 - Manager by using the backup enhancement function in the JP1/Automatic Job Management System 3 Administration Guide.

(5) Considerations before using the backup enhancement function

Consider the following before you use the backup enhancement function:

(6) Standard time required for backup

The time required for backup by using the backup enhancement function depends on the size of the data area used by the embedded database, operation status of JP1/AJS3, and disk performance of the environment where JP1/AJS3 is installed. Therefore, when you estimate the precise time required for backup, actually create a backup. To confirm the precise time required for backup, actually create a backup and then check the backup information file that shows the time it took for backup. For details about the backup information file, see jajs_dbbackup in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.