Hitachi

JP1 Version 12 JP1/Performance Management - Remote Monitor for Virtual Machine Description, User's Guide and Reference


3.6.2 Updating monitoring targets

If you want to update monitoring targets in a cluster system, first check the monitoring target names. Then, specify the new monitoring target settings on the PFM - RM host that is currently operating as the executing node.

Before you update monitoring targets, check what information will be updated. For the information that will be updated, see 2.4.3 Updating monitoring targets.

To check the names of the monitoring targets, use the jpcconf target list command. To check the settings of the monitoring targets, use the jpcconf target display command. To update a monitoring target, use the jpcconf target setup command.

Note

You do not need to stop the PFM - RM for Virtual Machine service before updating the monitoring targets.

The following shows the procedure for updating a single monitoring target. Repeat the procedure if you want to update multiple monitoring targets. To update a monitoring target:

  1. Check the names of the monitoring targets.

    Execute the jpcconf target list command by specifying a service key, logical host name, and instance name. This identifies the PFM - RM for Virtual Machine instance that is monitoring the monitoring targets that you want to update.

    For example, if you want to check the names of the hosts that are monitored by the PFM - RM for Virtual Machine instance whose logical host is jp1_halvm and instance name is inst1, execute the following command:

    jpcconf target list -key RMVM -lhost jp1_halvm -inst inst1

    The following shows an example of information displayed when the above command is executed.

    Output example:

    Targets:
    targethost1
    targethost2
    Groups:
    All
  2. Check the settings of the monitoring target.

    Execute the jpcconf target display command by specifying the name of the monitoring-target host that you want to update, as well as the information that identifies the PFM - RM for Virtual Machine instance that is monitoring the host. For the identification information, specify the service key, logical host name, and instance name of the PFM - RM for Virtual Machine instance.

    For example, to display the settings of the host targethost1 that is monitored by the instance inst1 on the logical host jp1_halvm, execute the following command:

    jpcconf target display -key RMVM -lhost jp1_halvm -inst inst1 -target targethost1
  3. If the shared disk is offline, place it online from the cluster software or volume manager.

  4. Execute the jpcconf target setup command by specifying the name of the monitoring-target host that you want to update, as well as the information that identifies the PFM - RM for Virtual Machine instance that is monitoring the host. For the identification information, specify the service key, logical host name, and instance name of the PFM - RM for Virtual Machine instance.

    For example, to update the settings of host targethost1 that is monitored by instance inst1 on logical host jp1_halvm, execute the following command:

    jpcconf target setup -key RMVM -lhost jp1_halvm -inst inst1 -target targethost1

    Although the above jpcconf target setup command is executed in interactive mode, it can also be executed in non-interactive mode.

    For how to execute the jpcconf target setup command in non-interactive mode, see 3.3.4(7) Setting up monitoring targets.

    Note that if you execute the jpcconf target setup command in non-interactive mode, you can skip step 5.

  5. Update the settings of the host monitored by PFM - RM for Virtual Machine.

    Enter necessary information in response to the command's prompt. For the information that can be entered, see 2.4.3 Updating monitoring targets. The command sequentially displays the current values of settings (other than the password). For any value that you do not want to change, only press the Enter key. When all entries finish, the monitoring target is updated.

    Important

    There are settings whose values cannot be changed. To update the values of these settings, delete all monitoring-target information, and then re-create it with new values.