Top
Systemwalker Service Quality Coordinator Reference Guide
Systemwalker

1.10.2 sqcGetXMLConfig (Configuration Information Collection Command)

Function

Based on registered console definitions, this command can perform the collection of the configuration information of ProxyManager/Agent which is usually performed via a define GUI.

Note

Do not execute multiple sqcGetXMLConfig command simultaneously.


Privileges required for execution

The privileges of a user belonging to the "Administrators" group are required to execute this command.


Execution environment

This command can be run on an operation management client.


Syntax

<Installation directory>\bin\sqcGetXMLConfig.bat -c console_define [-g system_group] [-t]

Note

Specify the options in the sequence of -c console_define [-g system_group] [-t].


Options

-c <console_define>

Specify the console definition name of the target of the configuration information collection.

-g <system_group>

Specify system group. The configuration information of the ProxyManager/Agent registered in the specified system group will be collected.

If this option is omitted, the configuration information for ProxyManager/Agent registered in all system groups will be collected.

-t

If this option is specified, the collection date time of the configuration information of the ProxyManager/Agent will be displayed.


Return values

Normal termination: 0

Abnormal termination: 1


Execution results/Output format

Normal termination

The following normal completion message will be sent to standard output.

System group name 1
<ProxyManager>
Display name 1(Host name 1), Configuration information accession date time
<Agent>
Display name 1(Host name 1), Configuration information accession date time

System group name 2
<Agent>
Display name 2(Host name 2),
Display name 3(Host name 3), Configuration information accession date time

(Success): sqcGetXMLConfig

* If the configuration information could not be taken, the configuration information accession date time will be blank and this command terminates normally.

Example of execution

GRP1

<ProxyManager>
SYSTEM01(SYSTEM01), 2011-08-22 19:34:12
<Agent>
SYSTEM01(SYSTEM01), 2011-08-22 19:34:13

GRP2
<Agent>
SYSTEM01#(SYSTEM01), 2011-08-22 19:34:14
SYSTEM02(SYSTEM02), 2011-08-22 19:34:15

(Success): sqcGetXMLConfig

Abnormal termination

An error message will be sent to standard error output:

(Error):Message,error number

Error messages, corresponding error numbers, contents, and corrective measures are as follows.

Error number

Message

Content

Corrective measure

010

Parameter error.(error detail code)

Parameter specification error

Modify the parameter and try again.

020

Server access error.(error detail code)

Server communication error

Confirm the connection state of the Manager and try again.

100

System error.(error detail code)

Other error

Collecting the maintenance information and contact a Fujitsu SE.

Example of execution

In case the specified console definition name not exist

"C:\Program Files\SystemwalkerSQC-C\bin\ sqcGetXMLConfig.bat" -c Console1
Target console definition (Console1) is not found.
(Error):Parameter error.(11), 010

Example of execution

In case the Systemwalker SQC DCM service of the Manager is not running.

"C:\Program Files\SystemwalkerSQC-C\bin\ sqcGetXMLConfig.bat" -c Console1
Cannot connect to the Manager.
(Error):Server access error.(21), 020


Usage Example

Below is an example collecting console definition under following condition.

Console definition name

Console1

"C:\Program Files\SystemwalkerSQC-C\bin\ sqcGetXMLConfig.bat" -c Console1

The following is an example collecting the date time of configuration information's collection date time under following contents.

Console definition name

Console1

System group

GRP1

"C:\Program Files\SystemwalkerSQC-C\bin\ sqcGetXMLConfig.bat" -c Console1 -g GRP1 -t