Job Management Partner 1/Performance Management User's Guide
This subsection describes the methods for installing and setting up PFM - Web Console in a cluster system.
- Organization of this subsection
- (1) Process flow for installation and setup
- (2) Installation procedure
- (3) Setup procedure
- (4) Configuring the cluster software
(1) Process flow for installation and setup
The following figure shows the process flow for installation and setup of PFM - Web Console used on a logical host.
Figure 9-23 Process flow for installation and setup of PFM - Web Console used on a logical host
The installation and setup procedures for PFM - Web Console and the setup procedures for the cluster software are explained below.
In the procedure explanation, the image
indicates the tasks to be performed on the executing node, and the image
indicates the tasks to be performed on the standby node. In addition, the image
indicates the setup items required for specific environments, and optional setup items for when you want to change the default settings.
(2) Installation procedure
Perform a new installation of PFM - Web Console on the executing node and the standby node. The installation procedure is the same as for a non-cluster system.
For details on the installation procedure, see the chapter describing installation and setup (in UNIX) in the Job Management Partner 1/Performance Management Planning and Configuration Guide.
- Notes:
- Install PFM - Web Console on the local disk, not the shared disk.
- Install each PFM - Web Console for both the executing node and the standby node in a location with the same path.
(3) Setup procedure
When using PFM - Web Console on a logical host, the environment configurations on the executing node and the standby node have to be the same.
Each of the setup types for PFM - Web Console is explained below.
(a) Performing an additional setup for PFM - Agent or PFM - RM information
![]()
![]()
To perform integrated management of PFM - Agent or PFM - RM in a cluster system, register the agent information of PFM - Agent or PFM - RM in PFM - Web Console for the executing node and the standby node.
PFM - Manager version 09-00 or later automatically registers PFM - Agent or PFM - RM, so no additional setup is required for the PFM - Agent or PFM - RM information. However, if the release date of PFM - Agent or PFM - RM is later than that of PFM - Manager, PFM - Agent, or PFM - RM must be registered manually. For details on the release dates for PFM - Manager, PFM - Agent, and PFM - RM, see the Release Notes for each program.
- Notes:
- You do not need to register PFM - Agent or PFM - RM when you add the same version of PFM - Agent or PFM - RM with the same product ID to a Performance Management system in which the PFM - Agent or PFM - RM information has been already registered.
- Set up the latest version of PFM - Agent or PFM - RM if you install a different version of PFM - Agent or PFM - RM with the same product ID on a different host.
To perform an additional setup of agent information in PFM - Web Console, see the process flow shown in Figure 9-23.
To register the agent information in PFM - Web Console:
- Copy the setup files.
![]()
Copy the PFM - Agent or PFM - RM setup file to the following locations on the PFM - Web Console executing node and standby node.
/opt/jp1pcwebcon/setup
The files to copy and the procedure for copying the files are the same as when performing an additional setup for PFM - Manager. For details, see the chapter describing installation and setup (in UNIX) in the Job Management Partner 1/Performance Management Planning and Configuration Guide.
- Execute the setup command on the standby node.
Execute the jpcwagtsetup command on the standby node to register the agent information.
Execute the command as follows:
For details on the jpcwagtsetup command, see the chapters that describe commands in the manual Job Management Partner 1/Performance Management Reference.
jpcwagtsetup
- Supplemental information:
- When you register the agent information of PFM - Agent or PFM - RM in PFM - Web Console, you must restart PFM - Web Console. However, because PFM - Web Console restarts on the standby node when a failover occurs, you do not need to restart PFM - Web Console on the standby node after step 2.
(b) Setting up PFM - Manager for the connection destination
On the standby node, set the IP address or host name for the PFM - Manager that serves as the connection destination for PFM - Web Console in the initialization file (config.xml). If the PFM - Manager that serves as the connection destination is running on a cluster system, set the logical IP address or the logical host name.
To set up PFM - Manager for the connection destination:
- Open the initialization file (config.xml).
Use a text editor or XML editor to open the /opt/jp1pcwebcon/conf/config.xml file.
- Set the IP address or host name for the PFM - Manager host serving as the connection destination.
Enter the following tag immediately after the <vserver-connection> tag within the <vsa> tag:
For example, if the IP address of the PFM - Manager host is 10.210.24.56, perform the following settings:
<param name="host" value="IP-address-or-host-name"/>
<vsa> <vserver-connection> <param name="host" value="10.210.24.56"/> <!-- The host computer name to which PFM View Server uses. Specifiable values: 1024 to 65535 Default: 22286 --> <param name="port" value="22286"/> </vserver-connection>- Save the initialization file (config.xml) you edited in step 2.
- Note:
- If areas other than those specified are changed in the initialization file (config.xml), PFM - Web Console might not operate correctly.
(c) Setting up PFM - Web Console (logical host)
Set the logical IP address or logical host name for PFM - Web Console in the initialization file (config.xml) on the standby node.
To set a logical host for PFM - Web Console:
- Open the initialization file (config.xml).
Use a text editor or XML editor to open the /opt/jp1pcwebcon/conf/config.xml file.
- Set the logical IP address or logical host name for the PFM - Web Console host.
Enter the following tag in the <vserver-connection> tag within the <vsa> tag:
For example, if the logical IP address of the PFM - Web Console host is 10.210.26.18, make the following settings:
<param name="ownHost" value="logical-IP-address-or -logical-host-name"/>
<vsa> <vserver-connection> <param name="host" value="10.210.24.56"/> <!-- The host computer name to which PFM View Server uses. Specifiable values: 1024 to 65535 Default : 22286 --> <param name="port" value="22286"/> <param name="ownHost" value="10.210.26.18"/> </vserver-connection>- Save the initialization file (config.xml) you edited in step 2.
- Note:
- If areas other than those specified are changed in the initialization file (config.xml), PFM - Web Console might not operate correctly.
(d) Setting up the storage location for bookmark definition information
Set the storage directory for bookmark definition information in the initialization file (config.xml) on the standby node. Specify an installation directory on the shared disk to ensure that bookmark definition information is inherited when a failover occurs.
To set the storage location for bookmark definition information:
- Open the initialization file (config.xml).
Use a text editor or XML editor to open the /opt/jp1pcwebcon/conf/config.xml file.
- Set the directory for storing the bookmark definition information.
Set the storage directory in the <bookmark> tag immediately after the <format> tag within the <vsa> tag in the initialization file (config.xml).
The directory you set will be created automatically when the PFM - Web Console service starts.
For example, use the following setting to make environment-directory/jp1pcwebcon/common/bookmarks the storage directory.
</format> <bookmark> <!-- The directory where bookmark repository is stored. Default : <install directory>/bookmarks --> <param name="bookmarkRepository" value="environment-directory/jp1pcwebcon/common/bookmarks"/> </bookmark> </vsa>- Save the initialization file (config.xml) you edited in step 2.
- Note:
- If areas other than those specified are changed in the initialization file (config.xml), PFM - Web Console might not operate correctly.
(e) Copying the initialization file (config.xml) to the executing node
![]()
Copy the initialization file (config.xml) edited in (b), (c), and (d) to the executing node.
Copy the file to the following location on the executing node:
/opt/jp1pcwebcon/conf
(f) Making sure the shared disk is online
Make sure that the shared disk is online on the execution node. If the shared disk is not online, use the cluster software and the volume manager to bring it online.
(g) Performing an additional setup for PFM - Agent or PFM - RM information
![]()
Use the setup file copied in (a) to perform an additional setup of the agent information for PFM - Agent or PFM - RM on the execution node.
To add the PFM - Agent information:
- Stop the PFM - Web Console service on the executing node.
Use the jpcwstop command to stop the services if the PFM - Web Console services are not registered with the cluster software. To perform a forced stop, execute the jpcwstop command with the -immediate option.
When making changes to the Performance Management configuration such as adding PFM - Agent or PFM - RM after the services are registered with the cluster software, use the cluster software to stop the services. For details on changing the configuration of the cluster system, see 9.5 Changing the cluster system configuration (in UNIX).
- Execute the setup command on the executing node.
Execute the command as follows:
For details on the jpcwagtsetup command, see the chapters that describe commands in the manual Job Management Partner 1/Performance Management Reference.
jpcwagtsetup
- Start the PFM - Web Console service on the executing node.
Start the PFM - Web Console service that you stopped in step 1.
(4) Configuring the cluster software
Set up PFM - Web Console in the cluster software. Perform this task on both the executing node and the standby node.
The procedure is as follows:
(a) Registering PFM - Web Console with the cluster software
![]()
If you intend to use PFM - Web Console in a logical host environment, register PFM - Web Console with the cluster software. Also, set up the environment so that PFM - Web Console is started and stopped based on instructions from the cluster software.
Generally, the following four command items are required when registering an application in the cluster software: Start, Stop, Monitor operations, and Forced stop.
The following table lists and describes the settings for PFM - Web Console.
Table 9-8 Control commands for PFM - Web Console registered in the cluster software
Item Explanation Start Execute the following command to start PFM - Web Console:
/opt/jp1pcwebcon/tools/jpcwstartStop Execute the following command to stop PFM - Web Console:
/opt/jp1pcwebcon/tools/jpcwstopForced stop Execute the following command to perform a forced stop of PFM - Web Console:
/opt/jp1pcwebcon/tools/jpcwstop -immediateMonitor operations Use the ps command to check if the following process is running.
ps -ef | grep "process-name" | grep -v "grep process-monitored"
For details on process names, see 9.6.1(3) Service names.
- Note
- Do not configure PFM - Web Console to start automatically when the OS starts. When PFM - Web Console is registered in the cluster system, it is started and stopped by the cluster software.
- If the cluster software uses command return values to determine execution results, specify settings so that the command return values from PFM - Web Console are converted to the values that can be correctly interpreted by the cluster software. For details on the command return values for PFM - Web Console, check the reference documentation for each command.
- If you execute a jpcwstop command while PFM - Web Console is being used, it might delay the stop processing.
To successfully register the jpcwstop command in the cluster software, create a script to wait for several minutes if a value of 4 is returned by the command, and then to execute the jpcwstop command again to register the command.
(b) Checking starting and stopping from the cluster software
![]()
Check whether the cluster software is operating correctly by using it to issue start and stop requests to PFM - Manager on each node.
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.