Top
Systemwalker Service Quality Coordinator User's Guide
Systemwalker

11.2.6 Creating and applying policies remotely

Policies can be created and applied to distribution destination servers remotely from the operation management client. Use the sqcCtrlPolicy command (Policy Remote Operation Command) to create and apply policies.

Refer to section 1.1.7, "sqcCtrlPolicy (Policy Remote Operation Command)" in the Reference Guide for more information about the sqcCtrlPolicy command (Policy Remote Operation Command).


Format

<Operation Management Client installation directory>\bin\sqcCtrlPolicy.exe

-e <Command type> {-g <Policy distribution group>, | -s <Server name>,}


Options

-e <Command type>

Specify the command type for the remote operation.

  • AP: Collection policy creation command (sqcAPolicy: collection policies for response/operating information)

  • RP: Collection policy creation command (sqcRPolicy: collection policies for server resource information)

  • SP: Collection policy application command (sqcSetPolicy)

-g <Policy distribution group>

Specify one or more policy distribution group names.

-s <Server name>

Specify the server where the remote operation will be performed.

To check which servers policy definition information will be distributed to, execute the sqcViewPolicy command by referring to "11.3.1 How to check which servers policies can be distributed to".

Point

From Systemwalker Service Quality Coordinator V13.3.0 or later, the services/daemons do not have to be stopped before the policy application command is executed.

However, if the services/daemons are running and performance data for various middleware is being collected when the policy application command is executed, then the collection of this performance data will be temporarily suspended while policies are applied. Collection of this performance data will start again after the policies have been finished being applied.


Usage example

Performing remote policy operations using the following definitions

[Operation server]

wasabi

[Operation command]

Collection policy creation (sqcRPolicy)

C:\Program Files\SystemwalkerSQC-C\bin\sqcCtrlPolicy.exe -e RP -s wasabi