Top
Systemwalker Service Quality Coordinator Reference Guide
Systemwalker

1.1.5 sqcViewPolicy (Policy Definition Information Verification Command)

Privileges required for execution

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

Note

To execute this command under Windows Server 2008/Windows Vista and later, execute with the administrator privilege.

For Windows Server 2012/Windows 8

Right-click the Start menu (located at the bottom-left corner of the Desktop) and select Command Prompt (Admin). Run the command from the Command Prompt.

For Windows Server 2008/Windows 7/Windows Vista

From the Start menu, select All Programs - Accessories, then right-click Command Prompt, and select Run as administrator. Run the command from the Command Prompt.


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.

Note

Do not execute multiple sqcViewPolicy command simultaneously.


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.