Job Management Partner 1/Performance Management Planning and Configuration Guide

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


6.3.3 Changing the host name in a Performance Management system

This subsection describes how to change the host name in a Performance Management system. A host name that is applied to the Performance Management system is called a monitoring host name.

Reference note
The monitoring host name forms part of the service ID (that is, device name). For example, if you installed PFM - Agent for Platform (UNIX) on a host whose monitoring host name is HostA, the service ID of Agent Collector is UA1HostA. If you use the product name display function, the service ID is HostA<UNIX>.

By default, the real host name is used as the monitoring host name (obtained from OS with the uname -n command).

For a Performance Management system existing within in a physical host environment, you can set a host name or an alias name obtained from the OS with hostname command (any given host name) as the monitoring host name. This function is called the function for setting monitoring-host names.

For example, in an environment with multiple hosts sharing the same real host name, this allows you to distinguish the hosts by alias name.

To identify the monitoring host name currently used by the Performance Management system, you must execute the following command. In this command, hostmode represents the method used to obtain the monitoring host name and hostname represents the monitoring host name.

 
jpcconf host hostmode -display
 

Example
hostmode : uname
hostname : hostA

The following table describes the relationship between the monitoring host name and the method used to obtain the name.

Table 6-11 Relationship between the monitoring host name and the method used to obtain the name

Method for acquiring a monitoring host name Monitoring host name
Uname Physical host name (displayed by using the uname -n command)
Hostname Physical host name (displayed by using the hostname command)
Alias Alias name

To set an alias name for the monitoring host name, you must execute the jpcconf host hostmode command to set hostname or alias as the method used to obtain the monitoring host name.

If you execute the jpcconf host hostmode command, all existing information, such as definition and performance information, is inherited. For details on the jpcconf host hostmode command, see the chapters that describe commands in the manual Job Management Partner 1/Performance Management Reference.

Note
Do not execute any other commands while executing the jpcconf host command. If you execute another command, both the jpcconf host command and the executed command might fail.
Organization of this subsection
(1) Changing the monitoring host name of the PFM - Manager host
(2) Changing the monitoring host name of the PFM - Agent or PFM - RM host
(3) Notes
(4) Optional Agent-specific steps for host name changes

(1) Changing the monitoring host name of the PFM - Manager host

You must perform operations on the following hosts when changing the monitoring host name of the PFM - Manager host:

The following figure shows the process flow.

Figure 6-5 Process flow for changing the monitoring host name of the PFM - Manager host

[Figure]

To set the display conditions (each step corresponds to the number in the above figure):

  1. Clear the setting for the health check agent.
    If you have been using the health check function, use the PFM - Web Console browser to delete the definition for the health check agent. (To delete an agent definition, delete the agent definition from a management folder in the Agents tree, and then delete the linkage with an alarm table.) For details on the procedure for changing the agent definition, see the chapter that describes monitoring agents or the operation monitoring with alarms in the Job Management Partner 1/Performance Management User's Guide.
  2. Stop the services on the PFM - Web Console host.
    On the PFM - Web Console host connected to PFM - Manager for which you intend to change the host name, stop all Performance Management programs and services. To stop the services, use the jpcwstop command.
  3. Stop the services on the PFM - Agent or PFM - RM host.
    On the PFM - Agent or PFM - RM host connected to PFM - Manager for which you intend to change the host name, stop all Performance Management programs and services. To stop the services, use the jpcspm stop command.
  4. Stop the services on the PFM - Manager host.
    Stop all Performance Management programs and services on the PFM - Manager host for which you intend to change the host name. To stop the services, use the jpcspm stop command.
  5. Change the monitoring host name of the PFM - Manager host.
    Execute the jpcconf host hostmode command to change the method of acquiring a monitoring host name. The following shows examples of executing this command:

    Changing the method for acquiring a monitoring host name to hostname
    jpcconf host hostmode -mode hostname -d d:\backup -dbconvert convert

    Changing the method for acquiring a monitoring host name to an alias name (aliasA)
    jpcconf host hostmode -mode alias -aliasname aliasA -d d:\backup -dbconvert convert
    For details on the jpcconf host hostmode command, see the chapters that describe commands in the manual Job Management Partner 1/Performance Management Reference.
    Reference note
    The directory specified for the -d option in the jpcconf host hostmode command must have empty disk space that is equal to or greater than the total size of the PFM - Agent and PFM - RM Store databases on the specified host.
    For example, if the health check agent, PFM - Agent for Platform, and PFM - Agent for Oracle are on the specified host, empty disk space equal to or greater than the total size of the Store databases of those agents is required. However, you do not need to include the size of Store database for the PMF - Manager Master Store service in the total size.
  6. Change the settings of the jpchosts file, hosts file, and DNS, if necessary.
  7. Perform the PFM - Agent-specific procedure, if necessary.
    If PFM - Agent has been installed on the PFM - Manager host, the PFM - Agent-specific procedure might be necessary. The following table describes whether the PFM - Agent-specific procedure is necessary.

    Table 6-12 PFM - Necessity of the Agent-specific procedure

    Configuration Necessity and reference
    The version of PFM - Agent installed on the PFM - Manager host is 09-00 or later. Whether the PFM - Agent-specific procedure is necessary depends on PFM - Agent. For details on the PFM - Agent-specific procedure, see the chapters describing the installation and setup in the PFM - Agent manuals.
    The version of PFM - Agent installed on the PFM - Manager host is earlier than 09-00. When the following PFM-Agent has been installed:
    • PFM - Agent for Enterprise Applications
    • PFM - Agent for Microsoft SQL Server
    The Agent-specific procedure is necessary. For details on the Agent-specific procedure, see (4) Optional Agent-specific steps for host name changes.
    For all other cases (including the case that PFM - RM is installed on the PFM - Manager host) The Agent-specific procedure is not necessary.
    If the PFM - Agent-specific procedure is necessary, perform the procedure indicated in the table above, and then proceed to the following steps.
  8. Start the services on the PFM - Manager host.
    Start the Performance Management programs and services on the PFM - Manager host. To start the services, use the jpcspm start command.
  9. Delete service information on the PFM - Manager host.
    Even though the PFM - Manager host name is changed, the service information of the Performance Management programs with the old host name remains the same. If you changed the PFM - Manager host name, you need to delete the old PFM - Manager service information. For example, if the original PFM - Manager host name is hostA, execute the following command on the PFM - Manager host to delete all the PFM - Manager service information from hostA.

    jpctool service delete -id "P*" -host hostA
    jpctool service delete -id "0*" -host hostA
     
    For details on the jpctool service delete command, see the chapters that describe commands in the manual Job Management Partner 1/Performance Management Reference.
  10. Restart the services on the PFM - Manager host.
    To refresh information, start the Performance Management programs and services on the PFM - Manager host. To start services, use the jpcspm start command.
  11. Change the settings for PFM - Manager for the connection destination on the PFM - Agent or PFM - RM host.
    Change the settings for PFM - Manager for the connection destination on the PFM - Agent or PFM - RM host connected to PFM - Manager for which you have changed the host name. Use the jpcconf mgrhost define command to change the settings for PFM - Manager for the connection destination. For example, if the host name of PFM - Manager for the connection destination is changed to hostB, specify and execute the command as follows:
     
    jpcconf mgrhost define -host hostB
     
    For details on the jpcconf mgrhost define command, see the chapters that describe commands in the manual Job Management Partner 1/Performance Management Reference.
  12. Start the services on the PFM - Agent or PFM - RM host.
    Start the Performance Management programs and services on the PFM - Agent or PFM - RM host connected to PFM - Manager for which you have changed the host name. To start the services, use the jpcspm start command.
  13. Change the settings of PFM - Manager for the connection destination on the PFM - Web Console host.
    Change the settings for PFM - Manager for the connection destination on the PFM - Web Console host connected to PFM - Manager for which you have changed the host name. Change the information in the Windows initialization file (config.xml) to change the settings for PFM - Manager for the connection destination. For details, see 6.4.6(1)(b) Setting PFM - Manager for the connection destination.
  14. Start the services on the PFM - Web Console host.
    Start the Performance Management programs and services on the PFM - Web Console host connected to PFM - Manager for which you have changed the host name. To start the services, use the jpcwstart command.
  15. Reconfigure the definition for the health check agent.
    If you have been using the health check function, reconfigure the definition (that was cleared in step 1) of the health check agent after changing the host name.
  16. Update the alarm settings.
    In the following cases, you must update the alarm settings by using the jpctool alarm command of the PFM - Manager host or the monitoring console:
    • The action handler of the PFM - Manager host is specified for the action handler that executes actions.
      Edit the alarm to set PH1<new-pfm-manager-host-name> for the action handler that executes actions.
    • JP1 events are issued by actions.
      Set the JP1 event settings in the action again.
    For details on how to edit alarms, see the chapter that describes the operation monitoring with alarms in the Job Management Partner 1/Performance Management User's Guide.
  17. Update the JP1 system event settings.
    If one of the following conditions is met, you need to update the JP1 system event settings by using the PFM - Web Console browser:
    • The previous host name has been specified as the name of the event server to which JP1/Base connects.
    • The previous host name has been specified as the host name of the monitoring console for JP1 system events.
  18. Check whether the JP1 system event settings have been properly updated.
    Check the following items after the settings are changed:
    • Collection of performance data
      Make sure that performance data can be collected for a period at least twice as long as the time period specified as the collection interval (Collection Interval).
    • Execution of the jpctool db dump command
      Make sure that there is no problem in outputting the collected performance data.
    • Check of the report definition and alarm definition
      Make sure that there is no problem with the report definition and alarm definition created in the browser.
    • Check of the actions
      Make sure that there is no problem in executing the created alarm actions.

(2) Changing the monitoring host name of the PFM - Agent or PFM - RM host

You must perform operations on the following hosts when changing the monitoring host name of the PFM - Manager or PFM - RM host:

The following figure shows the process flow.

Figure 6-6 Process flow for changing the monitoring host name of the PFM - Agent or PFM - RM host

[Figure]

To set the display conditions (each step corresponds to the step number in the above figure):

  1. Delete the settings for PFM - Agent or PFM - RM.
    Use the PFM - Web Console browser to delete the agent definition for the PFM - Agent or PFM - RM host whose name is to be changed. (To delete an agent definition, delete the agent definition from a management folder in the Agents tree, and then delete the linkage with an alarm table.)
    For details on the procedure for changing the agent definition, see the chapter that describes monitoring agents or the operation monitoring with alarms in the Job Management Partner 1/Performance Management User's Guide.
  2. Stop the services on the PFM - Agent or PFM - RM host.
    Stop all Performance Management programs and services on the PFM - Agent or PFM - RM host for which you intend to change the host name. To stop the services, use the jpcspm stop command.
  3. Change the monitoring host name of the PFM - Agent or PFM - RM host.
    Execute the jpcconf host hostmode command to change the method of acquiring a monitoring host name. The following shows examples of executing this command:

    Changing the method for acquiring a monitoring host name to hostname
    jpcconf host hostmode -mode hostname -d d:\backup -dbconvert convert

    Changing the method for acquiring a monitoring host name to an alias name (aliasA)
    jpcconf host hostmode -mode alias -aliasname aliasA -d d:\backup -dbconvert convert
    For details on the jpcconf host hostmode command, see the chapters that describe commands in the manual Job Management Partner 1/Performance Management Reference.
    Reference note
    The directory specified for the -d option in the jpcconf host hostmode command must have empty disk space that is equal to or greater than the total size of the PFM - Agent and PFM - RM Store databases on the specified host.
    For example, if PFM - Agent for Platform and PFM - Agent for Oracle are on the specified host, empty disk space equal to or greater than the total size of the Store databases of those agents is required. However, you do not need to include the size of Store database for the PMF - Manager Master Store service in the total size.
  4. Change the settings of the jpchosts file, hosts file, and DNS, if necessary.
  5. Perform the PFM - Agent-specific procedure, if necessary.
    The following table describes whether the PFM - Agent-specific procedure is necessary.

    Table 6-13 PFM - Necessity of the Agent-specific procedure

    Configuration Necessity and reference
    The version of PFM - Agent installed on the PFM - Manager host is 09-00 or later. Whether the PFM - Agent-specific procedure is necessary depends on PFM - Agent. For details on the PFM - Agent-specific procedure, see the chapters describing the installation and setup in the PFM - Agent manuals.
    The version of PFM - Agent installed on the PFM - Manager host is earlier than 09-00. When the following PFM-Agent has been installed:
    • PFM - Agent for Enterprise Applications
    • PFM - Agent for Microsoft SQL Server
    The Agent-specific procedure is necessary. For details on the Agent-specific procedure, see (4) Optional Agent-specific steps for host name changes.
    For all other cases (including the case that PFM - RM is installed on the PFM - Manager host) The Agent-specific procedure is not necessary.
    If the PFM - Agent-specific procedure is necessary, perform the procedure indicated in the table above, and then proceed to the following steps.
  6. Start the services on the PFM - Agent or PFM - RM host.
    Start Performance Management programs and services on the PFM - Agent or PFM - RM host for which you have changed the host name. To start the services, use the jpcspm start command.
  7. Delete service information on the PFM - Manager host.
    Even though the PFM - Agent or PFM - RM host name is changed, the service information of Performance Management programs to which the old host name is added remains the same. You need to delete the old PFM - Agent or PFM - RM service information on the PFM - Manager host. For example, to delete the information on the Agent Store service of PFM - Agent for Oracle on the PFM - Agent or PFM - RM host (hostB), execute the following command on the PFM - Manager host:
     
    jpctool service delete -id "OS*" -host hostB
     
  8. Restart the services on the PFM - Manager host.
    To refresh information, restart the Performance Management programs and services on the PFM - Manager host. To start the services, use the jpcspm start command.
  9. Restart the services on the PFM - Web Console host.
    Start the Performance Management programs and services on the PFM - Web Console host connected to PFM - Manager. To start the services, use the jpcwstart command.
  10. Update the alarm settings.
    In the following cases, you must update the alarm settings by using the jpctool alarm command of the PFM - Manager host or the monitoring console:
    • The action handler of the PFM - Agent or PFM - RM host is specified for the action handler that executes actions.
      Edit the alarm to set PH1<new-pfm-agent-or-pfm-rm-host-name> for the action handler that executes actions.
    • JP1 events are issued by actions.
      Set the JP1 event settings in the action again.
    For details on how to edit alarms, see the chapter that describes the operation monitoring with alarms in the Job Management Partner 1/Performance Management User's Guide.
  11. Update the JP1 system event settings.
    If one of the following conditions is met, you need to update the JP1 system event settings by using the PFM - Web Console browser:
    • The previous host name has been specified as the name of the event server to which JP1/Base connects.
    • The previous host name has been specified as the host name of the monitoring console for JP1 system events.
  12. Check whether the JP1 system event settings have been properly updated.
    Check the following items after the settings are changed:
    • Collection of performance data
      Make sure that performance data can be collected for a period at least twice as long as the time period specified as the collection interval (Collection Interval).
    • Execution of the jpctool db dump command
      Make sure that there is no problem in outputting the collected performance data.
    • Check of the report definition and alarm definition
      Make sure that there is no problem with the report definition and alarm definition created in the browser.
    • Check of the actions
      Make sure that there is no problem in executing the created alarm actions.

(3) Notes

Note the following when using the function for setting monitoring-host names:

(4) Optional Agent-specific steps for host name changes

This subsection describes the PFM - Agent-specific steps necessary to perform the following operations for each product:

For details on when this procedure is required, see (1) Changing the monitoring host name of the PFM - Manager host or (2) Changing the monitoring host name of the PFM - Agent or PFM - RM host.

(a) In PFM - Agent for Enterprise Applications

Execute the jpcconf inst setup command for all the created instance environments. For example, if an instance environment o246bci_SD5_00 exists in PFM - Agent for Enterprise Applications, execute the following command:

jpcconf inst setup -key agtm -inst o246bci_SD5_00

The interactive jpcconf inst setup command returns a prompt that requests you to enter a value. In this case, enter a new host name in ASHOST, leave other items blank, and press the Enter key. If you do not enter a value and press the Enter key, the setting prior to executing the command is used.

(b) In PFM - Agent for Microsoft SQL Server

Execute the jpcconf inst setup command for all the created instance environments. For example, if an instance environment default exists in PFM - Agent for Microsoft SQL Server, execute the following command:

jpcconf inst setup -key agtq -inst default

The interactive jpcconf inst setup command returns a prompt that requests you to enter a value. At the SQL_HOST prompt, enter the new host name, and press the Enter key at the other prompts. If the Enter key is pressed at a prompt without entering a value, the existing value is assumed.

[Contents][Back][Next]


[Trademarks]

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