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
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.
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:
For sqcViewPolicy.exe -l
Server name, installation type, version, edition Server name, installation type, version, edition : (Success) : sqcViewPolicy succeeded.,000 |
Server list output format (CSV)
Item | Content | Remarks (output format, etc.) |
---|---|---|
Server name | Name of server | |
Installation type | Installation type | EM/MG/PM/AB/AS |
Version | Version information | 15.0.1 |
Edition | Edition information | SE/EE |
For sqcViewPolicy.exe -c
{ OK | NG } : { alive | noresp | refuse },systemname,{ Installation type },{ Version },{ Edition },{ IP : port } : (Success) : sqcViewPolicy succeeded.,000 |
Refer to the following for the action for NG.
For NG:noresp
It is not possible to connect it with the port of Internet Protocol address at the connection destination.
Cause | Action method |
---|---|
Server on the Agent side or Systemwalker SQC thttpd service/thttpd process on the Agent side doesn't start. | Confirm whether the server and Systemwalker SQC thttpd service/thttpd process start, and start. |
It is not management client accessible from Agent. | There is a possibility to be generated when two or more network interfaces exist in the server that installs Agent. Confirm Internet Protocol address that can be connected from the operation management client with Agent, and define Internet Protocol address that can be connected with the agentlist.cfg file. |
Packet is not accessible in the firewall. | Confirm the setting of the firewall. |
For NG:refuse
Though it connected with the port of Internet Protocol address at the connection destination when a correct response doesn't return.
Cause | Action method |
---|---|
A correct response doesn't return though it connected with the port of Internet Protocol address at the connection destination. | There is a possibility that the mistake is found in the setting of Systemwalker SQC thttpd service/thttpd process. Please confirm whether the Agent side is correctly set up. |
Abnormal termination
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 |
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. |