7.4.3 Creating a cluster environment after upgrading (For Windows)
This subsection describes how to upgrade the Intelligent Integrated Management Base that is currently in use in a cluster environment.
Also, if you want to upgrade the linked product at the same time, perform the version upgrade of the linked product before performing step 9.
-
Stop JP1/IM - Manager.
Stop all JP1/IM - Managers in both the physical and the logical host environments.
-
Copy the plug-ins folder.
Copy the plugin folder of the plug-ins folder on the physical host to the shared folder. Execute the following command:
xcopy Manager-path\plugin shared-folder\jp1imm\plugin /s/e/i
-
Copy the definition file.
Copy the definition file for the physical host to a shared folder. Execute the following command:
robocopy Manager-path\conf\imdd shared-folder\jp1imm\conf\imdd /e /xn /xo /xc xcopy Manager-path\conf\imdd\*.model shared-folder\jp1imm\conf\imdd /y xcopy Manager-path\conf\imdd\system\*.model shared-folder\jp1imm\conf\imdd\system /y xcopy Manager-path\conf\imdd\system\*.update shared-folder\jp1imm\conf\imdd\system /y xcopy Manager-path\conf\imdd\system\fileoperation\*.update shared-folder\jp1imm\conf\imdd\system\fileoperation /y xcopy Manager-path\conf\imdd\responseaction\*.model shared-folder\jp1imm\conf\imdd\responseaction /y xcopy Manager-path\conf\imdd\fileoperation\*.model shared-folder\jp1imm\conf\imdd\fileoperation /y xcopy Manager-path\conf\imdd\suggestion\*.model shared-folder\jp1imm\conf\imdd\suggestion /y xcopy Manager-path\conf\imdd\plugin shared-folder\jp1imm\conf\imdd\plugin /s/e/i/y Xcopy Manager-path\conf\imgndb\postgresql.conf.model shared-folder\jp1imm\conf\imgndb/y echo f | xcopy shared-folder\jp1imm\conf\imdd\system\imdd_system.properties.update shared-folder\jp1imm\conf\imdd\system\imdd_system.properties /y echo f | xcopy shared-folder\jp1imm\conf\imdd\system\fileoperation\imdd_product_deffile_list.json.update shared-folder\jp1imm\conf\imdd\system\fileoperation\imdd_product_deffile_list.json /y
-
Create an event-forwarding relay information folder.
Create shared-folder/jp1imm/data/imdd/eventForward/. Execute the following command:
mkdir -p shared-folder/jp1imm/data/imdd/eventForward/
-
Set up Intelligent Integrated Management Database.
When upgrading from JP1/IM - Manager of V12, build Logical host infrastructure for intelligent integrated databases.
-
For Active host
For details about the build process, see 7.3.3(5) JP1/IM - Manager (Intelligent Integrated Management Database) Setup.
-
For Standby host
For details about the build process, see 7.3.5(5) Setting JP1/IM - Manager (Intelligent Integrated Management Database).
-
-
Add a new setting.
Add the newly added setting value according to the function to be used.#
- #
-
When upgrading JP1/IM - Manager from 13-00 or 13-01 to 13-10 or later, add three lines ("web-enable-admin-api: true", "db-connections-max: 50", "db-writer-connection-concurrency: 1" (underlined part of "after change" below) to the end of the following file in a text editor. When the Intelligent Integrated Management database is rebuilt, this procedure is not required because it is added automatically.
shared-folder/jp1imm/conf/imgndb/config.yml
<Example of change>
- Before change
db-host: localhost
db-name: imgndb
db-user: imuser
db-password: rCKsdJ8vSQn2
db-port: 20705
web-listen-address: localhost:20706
log-level: info
db-ssl-mode: allow
promql-max-points-per-ts: 30001
- After change
db-host: localhost
db-name: imgndb
db-user: imuser
db-password: rCKsdJ8vSQn2
db-port: 20705
web-listen-address: localhost:20706
log-level: info
db-ssl-mode: allow
promql-max-points-per-ts: 30001
web-enable-admin-api: true
db-connections-max: 50
db-writer-connection-concurrency: 1
If you do not add a "web-enable-admin-api: true" line, deleting the trend data and deleting integrated agent info will fail.
For details about deleting trend data and integrated agent information, see 2.2.1 List of Integrated Agents window in the JP1/Integrated Management 3 - Manager GUI Reference and see 5.11.4 Delete Trend Data and 5.18.2 Delete integrated agent info in the JP1/Integrated Management 3 -Manager Command, Definition File and API Reference.
If you do not add the "db-connections-max: 50" and "db-writer-connection-concurrency: 1" rows, the following events may occur when collecting a large amount of performance data (when the sum of sample collected by integrated agent in the system (in the system of lower manager in a multi-stage configuration) exceeds 10,000 seconds):
- Performance data is not saved in Intelligent Integrated Management Database and cannot be displayed and retrieved
- Trend data management service memory usage increases
-
Setup the service-dependency.
Register JP1/IM agent management base and Intelligent Integrated Management Database services to the cluster software and setup them to start and stop under the control of the cluster software.
For details about setting dependencies, see 7.3.5(5) Setting JP1/IM - Manager (Intelligent Integrated Management Database).
-
Start the service.
Start the following services from the cluster software:
-
JP1/IM3-Manager_logical-host-name
-
JP1/IM3-Manager Intelligent Integrated DB Server_logical-host-name
-
JP1/IM3-Manager Trend Data Management Service_logical-host-name
-
JP1/IM3-Agent Base Server_logical-host-name
-
JP1/IM3-Agent Base Proxy Server_logical-host-name
-
-
By executing the jddcreatetree command, generate the IM management node-related files.
For details about the jddcreatetree command, see jddcreatetree in Chapter 1. Commands in the JP1/Integrated Management 3 - Manager Command, Definition File and API Reference.
-
By executing the jddupdatetree command in new and rebuilding mode, apply the definitions to the Intelligent Integrated Management server.
For details about the jddupdatetree command, see jddupdatetree in Chapter 1. Commands in the JP1/Integrated Management 3 - Manager Command, Definition File and API Reference.