Job Management Partner 1/Performance Management - Remote Monitor for Platform Description, User's Guide and Reference

[Contents][Glossary][Index][Back][Next]


2.3.2 How to cancel the setup (for Windows)

This subsection describes how to cancel the setup of PFM - RM for Platform.

Organization of this subsection
(1) Canceling the setup for a monitoring target
(2) Canceling an instance environment setup

(1) Canceling the setup for a monitoring target

To cancel the setup for a monitoring target, first check the name of the monitoring target, and then use the PFM - RM host to delete the monitoring target.

To check the name of a monitoring target, use the jpcconf target list command. To delete a configured monitoring target, use the jpcconf target unsetup command.

Reference note
There is no need to stop PFM - RM for Platform services while you are deleting a monitoring target.

To delete a monitoring target:

  1. Check the name of the monitoring target.
    Execute the jpcconf target list command with the service key that indicates PFM - RM for Platform and the instance name specified:
    jpcconf target list -key RMPlatform -inst inst1
    The names of all monitoring targets are displayed:
    Targets:
    targethost1
    targethost2
    Groups:
    All
  2. Delete the desired monitoring target.
    Execute the jpcconf target unsetup command with the service key that indicates PFM - RM for Platform, the instance name, and the name of the monitoring target specified:
    jpcconf target unsetup -key RMPlatform -inst inst1 -target targethost1
    When the jpcconf target unsetup command in this example terminates normally, targethost1 will no longer be a monitoring target.
    Note
    Canceling the setup for a monitoring target may not delete the service information that is displayed by the jpctool service list command. In such a case, use the jpctool service delete command at the host where PFM - Manager is installed to delete the service information. After the command executes, restart the PFM - Manager service. The following shows a specification example:
    • Instance name: inst1
    • Monitoring target name: targethost1
    • PFM - RM host name: lhost1
    • Service ID of the Remote Agent service: 7A1inst1[targethost1@lhost1]
    jpctool service delete -id 7?1inst1[targethost1@lhost1] -host lhost1
    For details about the commands, see the chapter that describes commands in the manual Job Management Partner 1/Performance Management Reference.
    Canceling the setup for a monitoring target does not delete the folders and files listed below. You must delete these folders and files manually.
    • PFM-RM-for-Platform-installation-folder#\agt7\agent\instance-name\targets\monitoring-target-name
    • PFM-RM-for-Platform-installation-folder#\agt7\agent\instance-name\log\target_monitoring-target-name_nn

    #
    If you use a logical host for operation, replace PFM-RM-for-Platform-installation-folder with environment-folder\jp1pc.

(2) Canceling an instance environment setup

To cancel the setup for an instance environment, first check the name of the instance, and then delete the instance environment. Execute deletion of an instance environment at the PFM - RM host. To check the name of an instance, use the jpcconf inst list command. To delete a configured instance environment, use the jpcconf inst unsetup command.

To delete an instance environment:

  1. Check the name of the instance.
    Execute the jpcconf inst list command with the service key that indicates PFM - RM for Platform specified:
    jpcconf inst list -key RMPlatform
    For example, if the set instance name is inst1, the command displays inst1.
  2. If any services of PFM - RM for Platform are running in the instance environment, stop all of them.
    For details about how to stop services, see the chapter that describes starting and stopping Performance Management in the Job Management Partner 1/Performance Management User's Guide.
  3. Delete the instance environment.
    Execute the jpcconf inst unsetup command with the service key that indicates PFM - RM for Platform and the instance name specified.
    For example, if the set instance name is inst1, specify the command as follows:
    jpcconf inst unsetup -key RMPlatform -inst inst1
    When the jpcconf inst unsetup command terminates normally, the folders configured as the instance environment, the service ID, and the Windows services are deleted.
    Note
    Canceling the setup of an instance environment may not delete the service information that is displayed by the jpctool service list command. In such a case, use the jpctool service delete command at the host where PFM - Manager is installed to delete the service information. After the command executes, restart the PFM - Manager service. The following shows a specification example:
    • Instance name: inst1
    • Host name: lhost1
    • Service ID of the Remote Monitor Collector service: 7A1inst1[lhost1]
    • Service ID of the Remote Monitor Store service: 7S1inst1[lhost1]
    • Service ID of the Group Agent service: 7S1inst1[All@lhost1]
    jpctool service delete -id 7?1inst1[lhost1] -host lhost1
    jpctool service delete -id 7?1inst1[*@lhost1] -host lhost1
    For details about the commands, see the chapter that describes commands in the manual Job Management Partner 1/Performance Management Reference.

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.