10.5.4 Changing the logical host environment after starting operation
This subsection describes how to perform operations such as modifying the jpchosts file and changing port numbers or the environment directory path when Performance Management is running in a logical host environment.
These settings are required if you want to start PFM - Manager in a logical host environment.
- Organization of this subsection
(1) Modifying the jpchosts file
-
Edit the jpchosts file on the executing node.
-
Copy the jpchosts file from the executing node to the standby node.
(2) Changing or adding port numbers
-
Set the port numbers by executing the jpcconf port define command on the executing node.
Place the shared disk online before you execute the command.
For example, execute the following command to set all of the port numbers for the services on the logical host jp1-ha1 to the default values:
jpcconf port define -key all -lhost jp1-ha1
When you execute the jpcconf port define command, the port numbers and service names of Performance Management (by default, TCP services whose names start with jp1pc) are defined in the services file.
For details on how to set port numbers, see the chapter describing installation and setup (in UNIX) in the JP1/Performance Management Planning and Configuration Guide.
For details on the jpcconf port define command, see the chapter on commands in the manual JP1/Performance Management Reference.
-
Execute the jpcconf ha export command on the executing node.
The settings for Performance Management in the logical host environment are exported to a file you specify.
For example, execute the command as follows to export the settings for the logical host environment to the file lhostexp.conf:
jpcconf ha export -f lhostexp.conf
-
Copy the file you exported using the jpcconf ha export command from the executing node to the standby node.
-
Execute the jpcconf ha import command to import the exported file into the standby node.
The shared disk does not need to be online on the standby node during this step.
The environment definition file exported from the executing node is imported into the standby node.
For example, execute the command as follows to import the file lhostexp.conf:
jpcconf ha import -f lhostexp.conf
When you execute the jpcconf ha import command, the environment of the standby node becomes the same environment as the executing node.
(3) Changing the environment directory path
To change the environment directory path when you are already using Performance Management in a logical host environment:
-
For PFM - Manager, PFM - Base, PFM - Agent, and PFM - RM
The logical host must be set up again. Use the following procedure to perform migration. For details about how to unset up and set up PFM - Agent or PFM - RM as described in steps 2 and 3, see the chapters that describe operations on cluster systems in the appropriate PFM - Agent or PFM - RM manual.
-
Back up the definition information or operation monitoring data.
-
Unset up the logical host environment.
-
Set up the logical host with a new environment directory path specified.
-
Restore the definition information or operation monitoring data.
-
-
For PFM - Web Console
-
Stop PFM - Web Console.
-
Change the environment directory path.
For details, see 10.4.3(3)(e) Setting up the storage location for bookmark definition information and 10.4.3(3)(f) Setting the storage location for process monitoring definition templates.
When you want to inherit the bookmark definition information and process monitoring definition templates, copy the appropriate folder beforehand.
-
Start PFM - Web Console.
-