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 Managers and Enterprise Managers.
Syntax
[Windows]
<installation directory>\bin\sqcPDBexport.bat -o folder_path [-n host_name] |
[UNIX]
/opt/FJSVssqc/bin/sqcPDBexport.sh -o folder_path [-n host_name] |
Function
This command outputs configuration information in a PDB to a file.
Configuration information is information that represents the Manager name, the Agent name, and the type of information collected by that Agent.
Configuration information that is output can be used in the following situations:
When, to transfer a Manager to a separate machine, the configuration information in a PDB taken from the original Manager to a new Manager is rewritten with the name of the new Manager
When a PDB is initialized (recreated), but the configuration information of the previous environment is used as is
Options
Specifies the path of the folder where the configuration information data file (agententry.tmp) will be output.
Specifies the host name of the Manager where the configuration information will be transferred. If this option is omitted, the actual host name will be used.
Return values
0 : Normal termination
1 : Abnormal termination
Usage example
[Windows]
C:\>cd C:\Program Files\SystemwalkerSQC\bin C:\Program Files\SystemwalkerSQC\bin>sqcPDBexport -o C:\temp -n HOSTNAME |
To store the output configuration information file (agententry.tmp) in a PDB, place the file in the following directory and start the Systemwalker SQC DCM service.
<Variable file storage directory>\transfer\DsaPDBWriter |
[UNIX]
# cd /opt/FJSVssqc/bin/ # ./sqcPDBexport.sh -o /tmp -n HOSTNAME |
To store the output configuration information file (agententry.tmp) in a PDB, place the file in the following directory and start thedcmd process.
/var/opt/FJSVssqc/temp/DsaPDBWriter |
The configuration information will be stored in the PDB within approximately 60 seconds. The agententry.tmp file will then be deleted.