Top
Systemwalker Service Quality Coordinator Reference Guide
Systemwalker

1.1.5 sqcViewPolicy (Policy Definition Information Verification Command)

Privileges required for execution

[Windows]

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

Note

To execute this command under Windows Vista(R)/Windows(R) 7/Windows(R) 2008 environment, execute with the administrator privilege. Select [Start] button of Windows, [All Programs], [Accessories], [Command prompt], and select [Run as administrator] of the right click menu, and then execute this command.

Execution environment

This command can be executed on an operation management client.


Format

<Operation management client installation directory>\bin\sqcViewPolicy.exe [ -l [ as | ab | mg | pm | em ] ]

<Operation management client installation directory >\bin\sqcViewPolicy.exe -c

Function

The policy definition information confirmation command confirms whether the server of the system name that distributes the policy the list display and the distribution ahead can distribute the policy.

Options

-l Parameter

Lists the system names of the installation type specified by parameter that are targeted for policy distribution.

Note: If parameter is omitted, policies will be distributed to all the systems.

-c

Checks if the distribution destination servers are ready to receive policies.


Parameters

The following parameters specify the abbreviation of each installation type.

The following shows the correspondence between the abbreviations and installation types.

as: Agent for Server

ab: Agent for Business

mg: Manager

pm: Proxy Manager

em: Enterprise Manager


Return values

0: Normal termination

1: Parameter error

2: Server processing error

3: Communication error

10: Other error


Example 1

To display all servers that will be targeted by the policy distribution function:

C:\Program Files\SystemwalkerSQC-C\bin\sqcViewPolicy.exe -l


Example 2

To display a list of Agents for Server that will be targeted by the policy distribution function:

C:\Program Files\SystemwalkerSQC-C\bin\sqcViewPolicy.exe -l as

Example 3

To display a list of Agents for Server that will be targeted by the policy distribution function:

C:\Program Files\SystemwalkerSQC-C\bin\sqcViewPolicy.exe -o

Execution results/Output format

Normal termination

A normal termination message together with the following information will be sent to standard output:

Abnormal termination

  1. An error message will be sent to standard error output:

    (Error): Message, error number

    Error numbers and corresponding error messages

    Error number

    Message

    Content

    010

    parameter error.

    (Error detail code)

    Parameter specification error

    020

    Server access error.(Error detail code)

    Server processing error

    030

    aborted connection error.(Error detail code)

    Communication error

    100

    system error.

    Other error


  2. Correcting errors

    Perform the corrective measure that is appropriate for the situation where the error occurred.

    Error number

    Content

    Corrective measure

    010

    Parameter error

    Correct the parameter and re-execute the command.

    020

    Server access error

    Check the connection with the Manager and re-execute the command.

    030

    Communication error

    Check the connection with the Manager and re-execute the command.

    100

    System error

    Collect maintenance information, and contact a Fujitsu SE.