This section explains the Server Resource Information Collection Policy Creation Command.
Refer to Section 1.1.1, "sqcRPolicy (Server Resource Information Collection Policy Creation Command)" and Section 1.1.3, "sqcSetPolicy (Policy Application Command)” in the Reference Guide for more information.
Required privileges
[Windows]
The user must have the privileges of a member of the Administrators group.
[UNIX]
The user must have the privileges of the system administrator (superuser).
[Windows]
For Windows systems, to collect disk-related performance information, the diskperf Windows command must be executed beforehand to enable information to be collected. This command is used as follows:
diskperf -y |
Refer to the Windows help for details on the diskperf command. Before using this command, be sure to enable both physical drives and logical drives.
Point
The system must be restarted after settings are made using the diskperf command.
The diskperf command must be executed before the Systemwalker Service Quality Coordinator DCM service starts (before performance information starts being collected).
Format
Create a server resource information collection policy
[Windows]
Installation directory\bin\sqcRPolicy.exe |
[UNIX]
/opt/FJSVssqc/bin/sqcRPolicy.sh |
Apply the policy
[Windows]
Installation drectory\bin\sqcSetPolicy.exe [-h host name] [-p <IP address>] |
[UNIX]
/opt/FJSVssqc/bin/sqcSetPolicy.sh [-h <host name>] [-p <IP address>] |
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, when using the "-h" or "-p" option, stop the service or daemon first by referring to "A.4 How to Start and Stop Resident Processes".
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.
Options of sqcSetPolicy (Policy Application Command)
Use this option to specify a system name to change the managed system name.
Also, use this option to specify a system name for the managed system in the following kinds of cluster operations:
Where the server is a Manager and information about resources within the server is to be collected.
=> Specify the inheritance node.
Where the server is an Agent in a cluster system that uses node name inheritance.
=> Specify node name of each Agent.
If this option is omitted, host name which is set at the installation or the system name which was set at the last -h option will be used as system name.
Host name will not be updated automatically, so use this option to change the host name.
Note
If this command is re-executed or an Agent is reinstalled where an operating environment for this product already exists and an Agent has already been registered, then use the same system name as was used before if the -h option is specified.
If the system name has to be changed for some reason, first delete the previous system name information from the PDB using the data deletion command explained in Section 1.7.3 “sqcPDBerase (Data Deletion Command)" in the Reference Guide for details. However, in this case, performance information that has already been collected cannot be displayed.
In the dashboard, management target is managed by using IP address.
When using the dashboard, be sure to specify IP address of the management target by using this option after installation. Specify the IP address of the connection Manager or Enterprise Manager which is available for connection.
Specify the inheritance node if the cluster system is being used.
If this option is omitted, IP address which was set at the last -p option will be used.
IP address will not be updated automatically, so use this option to change the IP address.
Note
If this command is executed at the first time after the installation, and if this option is omitted, IP address will be set by the address which is automatically collected. However, if multiple IP addresses are existed, IP address which can communicate with the connection Manager or Enterprise Manager might not be acquired. Be sure to specify IP address of the management target by using -p option.
Point
When the Server Resource Information Collection Policy Creation Command (sqcRPolicy) or sqcCtrlPolicy.exe -e RP (Remote Policy Operation Command) is executed, a file named "MiddlewareConf.xml" is created. To delete a managed object, edit the content of MiddlewareConf.xml by referring to Chapter 3, "Resource Configuration Information (MiddlewareConf.xml)" in the Reference Guide.