Privileges required for execution
[Windows]
The privileges of a user belonging to the "Administrators" group are required to execute this command.
[UNIX]
The privileges of a system administrator (superuser) are required to execute this command.
Execution environment
This command can be executed on a Manager or Enterprise Manager.
Before executing this procedure
If the Enterprise Manager/Manager resident processes are running, then stop the service/daemon (refer to "Chapter 2 Starting and Stopping Resident Processes" for details). Additionally, make sure that the resident processes have stopped correctly.
Synopsis
Changing the PDB file location
[Windows]
<installation directory>\bin\sqcSetPDBStore.bat -M|-m|-h|-d -S <storage location directory path name> |
[UNIX]
/opt/FJSVssqc/bin/sqcSetPDBStore.sh -M|-m|-h|-d -S <storage location directory path name> |
Displaying the PDB file location
[Windows]
<installation directory>\bin\sqcSetPDBStore.bat -M|-m|-h|-d -V |
[UNIX]
/opt/FJSVssqc/bin/sqcSetPDBStore.sh -M|-m|-h|-d -V |
Returning the PDB file location to its initial value (If the storage location of the performance database (management data) is changed by following the steps described in "Management Data" in the Installation Guide, following directory means destination location of the management data)
[Windows]
<installation directory>\bin\sqcSetPDBStore.bat -M|-m|-h|-d -R |
[UNIX]
/opt/FJSVssqc/bin/sqcSetPDBStore.sh -M|-m|-h|-d -R |
Function
This command changes, displays and returns the PDB file (summary data and resource data (10 minutes, 1 hour and 1day) location to its initial value (If the storage location of the performance database (management data) is changed by following the steps described in "Management Data" in the Installation Guide, following directory means destination location of the management data) in Enterprise Manager and Manager environments.
Note
Do not execute this command more than once at the same time.
Options
-M
Executes summary data PDB file operations.
-m
Executes resource data (10 minutes) PDB file operations.
-h
Executes resource data (1 hour) PDB file operations.
-d
Executes resource data (1 day) PDB file operations.
-S <directory path>
Changes the PDB file location to the specified directory path.
Specify the -M, -m, -h, and -d options together to change the location of the PDB files for each option.
Specify the absolute and existing path.
-V
Displays the current PDB file location.
Specify the -M, -m, -h, and -d options together to display the location of the PDB files for each option.
-R
Returns the PDB file location to the initial value(If the storage location of the performance database (management data) is changed by following the steps described in "Management Data" in the Installation Guide, following directory means destination location of the management data).
Specify the -M, -m, -h, and -d options together to return the location of the PDB files for each option to the initial value. The initial value of the PDB file location is as follows.
[Windows]
<Variable file storage directory>\data\ |
[UNIX]
/var/opt/FJSVssqc/PDB/ |
Return values
0 : Normal termination
1 : Parameter error
10 : Other errors
Example
When the summary data PDB file location is changed:
[Windows]
C:\>cd C:\Program Files\SystemwalkerSQC\bin |
[UNIX]
# /opt/FJSVssqc/bin/sqcSetPDBStore.sh -M -S /data/PDB/PDB_summary |
When the resource data (10 minutes) PDB file location is displayed:
[Windows]
C:\>cd C:\Program Files\SystemwalkerSQC\bin |
[UNIX]
# /opt/FJSVssqc/bin/sqcSetPDBStore.sh -m -V |
Execution result/Output format
Normal termination (returning the PDB file location to its initial value; option specification: -S/-R)
The following normal completion message will be sent to standard output.
(Success) sqcSetPDBStore succeeded. |
Normal termination (displaying the PDB file location; option specification: -V)
The current file location and data type will be sent to the standard output.
DataType = %s |
Point
One of the following is output for "DataType":
Monitor: Summary data (when the -M option is specified)
Drill Down: Resource data (10 minutes) (when the -m option is specified)
Report(1Hour): Resource data (1 hour) (when the -h option is specified)
Report(1Day): Resource data (1 day) (when the -d option is specified)
In "Stored directory path name", the above data type PDB file storage location (absolute path) is output.
Other operations
When the -S and -R options are specified in this command, the following files will be updated if the command has succeeded:
[Windows]
<Variable file storage directory>\data\pdb.dat |
[UNIX]
/var/opt/FJSVssqc/PDB/pdb.dat |
This file may be changed by following the steps described in "Management Data" in the Installation Guide.