Job Management Partner 1/Performance Management User's Guide
The following describes how to back up and restore event data by using the jpctool db backup command and the jpctool db restore command.
- Organization of this subsection
- (1) Backing up the event data
- (2) Restoring event data
(1) Backing up the event data
To back up event data:
- Log on to the PFM - Manager host.
- Execute the jpctool service list command, and make sure that the services have started.
Make sure that the Name Server, Master Manager, and Master Store services are running.
For further details on the jpctool service list command, see the chapter that describes the command in the manual Job Management Partner 1/Performance Management Reference.
- Execute the jpctool db backup command.
When Running on a Non-Cluster System:
Back up the event data in the Store database of PFM -Manager. Execute the following command. PS1001 indicates the service ID for the Master Store service.
By default, executing this command creates the backup file named PA.DB in the backup directory on the PFM - Manager host.
jpctool db backup -id PS1001
- In Windows:
installation-folder\mgr\store\backup\generation-number#\PA.DB
- In UNIX:
/opt/jp1pc/mgr/store/backup/generation-number#/PA.DB
When Running on a Logical Host:
Back up the event data in the Store database of the PFM -Manager on the logical host. Execute the following command: PS1001 indicates the service ID for the Master Store service.
jpctool db backup -id PS1001 -lhost logical-host-name
By default, executing this command creates the backup file named PA.DB in the backup directory on the shared disk.
- In Windows:
environment-directory\jp1pc\mgr\store\backup\generation-number#\PA.DB
- In UNIX:
environment-directory/jp1pc/mgr/store/backup/generation-number#/PA.DB
- #
- The generation number is assigned in ascending order from 01. The maximum generation number is the value specified in the Backup Save in the jpcsto.ini file. By default, the maximum generation number is 05.
For further details on the jpctool db backup command, see the chapter that describes the command in the manual Job Management Partner 1/Performance Management Reference. For details on service IDs, see the section that describes service naming rules in an appendix of the Job Management Partner 1/Performance Management Planning and Configuration Guide.
(2) Restoring event data
To restore event data:
- Log on to the PFM - Manager host.
- Execute the jpcspm stop command to stop the PFM - Manager service.
For details on how to stop the PFM - Manager service, see 1.3 Stopping services. For further details on the jpcstop command, see the chapter that describes the command in the manual Job Management Partner 1/Performance Management Reference.
- Check the storage location for the backup file.
For details on the default backup destination for the event data, see step 3 of (1) Backing up the event data.
- Execute the jpctool db restore command.
When Running on a Non-Cluster System:
For example, execute the following command to restore the event data in installation-folder\mgr\store\backup\01. (Manager indicates the service key for PFM - Manager):
When Running on a Logical Host:
jpctool db restore -key Manager -d "installation-folder\mgr\store\backup\01"
For example, execute the following command to restore the event data in environment-directory\jp1pc\mgr\store\backup\01 on the logical host jp1-ha1. (Manager indicates the service key for PFM - Manager):
For further details on the jpctool db restore command, see the chapter that describes the command in the manual Job Management Partner 1/Performance Management Reference.
jpctool db restore -key Manager -d "environment-directory\jp1pc\mgr\store\backup\01" -lhost jp1-ha1
- Execute the jpcspm start command to start the PFM - Manager services.
Start the PFM - Manager services.
For details on how to start the PFM - Manager services, see 1.2 Starting services. For further details on the jpcspm start command, see the chapter that describes the command in the manual Job Management Partner 1/Performance Management Reference.
- Note:
- Restoring event data sometimes causes a delay in restarting the services, because the index of the database has to be rebuilt when the services start up again.
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.