Job Management Partner 1/Performance Management User's Guide
To partially back up performance 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 Agent Store or Remote Monitor Store services, which manage the performance data to be backed up, have started.
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:
For example, execute the following command when you want to perform a partial backup of the performance data from three days ago until yesterday in the Store database of PFM - Agent for Oracle on the host02 host:
By default, executing the command creates the backup file named as shown below in the directory on the PFM - Agent or PFM - RM host:
jpctool db backup -id OS* -host host02 -partial 3,1
When Running on a Logical Host:
- In Windows:
installation-folder\xxxx#1\store\instance-name#2\partial\stdatabase-ID#3
- In UNIX:
/opt/jp1pc/xxxx#1/store/instance-name#2/partial/stdatabase-ID#3
For example, execute the following command when you want to perform a partial backup of the performance data from three days ago until yesterday in the Store database of PFM - Agent for Oracle on the logical host jp1-ha2:
By default, executing the command creates backup files in the following directory on the shared disk:
jpctool db backup -id OS* -lhost jp1-ha2 -partial 3,1
- In Windows:
environment-directory\jp1pc\xxxx#1\store\instance-name#2\partial\stdatabase-ID#3
- In UNIX:
environment-directory/jp1pc/xxxx#1/store/instance-name#2/partial/stdatabase-ID#3
- #1
- xxxx indicates the service key of each PFM - Agent or PFM - RM. For details on the PFM - Agent or PFM - RM service keys, see the description of the naming rules in an appendix of the Job Management Partner 1/Performance Management Planning and Configuration Guide.
- #2
- Created when PFM - Agent or PFM - RM is in the instance environment.
You can also back up the performance data on a host where PFM - Agent or PFM - RM is installed. To perform backup on a host where PFM - Agent or PFM - RM is installed, specify the -alone or -direct option in the jpctool db backup command.
- #3
- The following are the database IDs:
- PI: Database for records of the PI record type
- PD: Database for records of the PD record type
- PL: Database for records of the PL record type
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.
The following table describes the directories and file structure used for the files produced by a partial backup:
Table 8-11 Directories and file structure for partial backups
Directory or file Record type Format Min. Max. Description PI PD PL STXX Y Y Y n/a n/a n/a n/a Summary block Y N N n 1 6 Summary block (for PI records)
1: Minute
2: Hour
3: Day
4: Week
5: Month
6: YearYear Y Y Y YYYY 1900 2027 Year Month and day Y Y Y MMDD 0101 1231 Month and day Generation number Y Y Y nnn 001 002 Generation number record-type.DB Y Y Y n/a n/a n/a Database file for each record type
- Legend:
- Y: Is an applicable file or directory.
- N: Is not an applicable file or directory.
- n/a: Not applicable
- XX: Database ID
- PI: Database for records of the PI record type
- PD: Database for records of the PD record type
- PL: Database for records of the PL record type
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.