===============================================================================
Installing IBM® WebSphere® Business Integration (WBI) Monitor™ v4.2.4 Fix Pack1
HotFix
===============================================================================
This file contains the required information about installing the IBM WBI Monitor 4.2.4 Fix Pack1 HotFix in order to upgrade your existing version of WBI Monitor v4.2.4 to the recent version v4.2.4 (Fix Pack1 HotFix ). This includes upgrading the deployed version of WBI Monitor application on WebSphere Application Server, as well as upgrading the existing Monitor database that already contains data to adhere to the latest modification in the WBI Monitor 4.2.4 (Fix Pack1 HotFix) database, and migrate the stored data to the upgraded database.
The WBI Monitor v4.2.4 (Fix Pack1 HotFix) installation must be performed in the following sequence:
Make sure that a previous installation of the full version of the WBI Monitor v4.2.4 (installed by running the mon424.jar ) already exists, and has not been uninstalled. Otherwise, the installation of this fix pack will not be performed successfully. For more information about installing the full version of WBI Monitor 4.2.4, please refer to the install.html file that is shipped with that release.
It is strongly recommended that you make a copy of the following file, which has values in your previous deployment of WBI Monitor v4.2.4, as you may need it:
<WorkingDir>/install/InstallParam.tcl
Refer to the section entitled WBI Monitor Server Un-Deployment in Part 2 - Chapter 2: WBI Monitor Installation of the WBI Monitor v4.2.4 (Fix Pack1 HotFix) Deployment Guide for the detailed steps of automatic un-deployment of WBI Monitor Server. Refer also to the section with the same title in Appendix A: and Appendix B in Part 2 of the same guide for the detailed steps of the manual un-deployment of WBI Monitor Server. Refer to Chapter 5: IBM WBI Monitor Deployment on OS/390 and z/OS Platforms in Part 3 of the same guide for the un-deployment steps on OS/390 and z/OS Platforms .
Make sure that the IBM jdk 1.3.0 is installed on your machine. Alternatively, you can use the IBM JDK that is shipped with IBM WebSphere Application Server.
Install the WBI Monitor 4.2.4 Fix Pack1 HotFix and Deploy the WBI Monitor Server that belongs to this fix pack after completing the upgrade and migration of the database. The WBI Monitor 4.2.4 Fix Pack1 HotFix Installation Wizard starts by running the jar file named WBIMonitor424-FixPack1-HF.jar from the location where you have extracted the contents of the zip file that you downloaded from the Internet. You must install the Fix Pack file WBIMonitor424-FixPack1-HF.jar on the same installation (Home) directory where the full version has been installed. To start the WBI Monitor 4.2.4 Fix Pack1 HotFix Installation Wizard, run the WBIMonitor424-FixPack1-HF.jar file by performing the following steps:
On Windows platform:
Start a command prompt window.
Make sure that the full path of the java.exe is included in the Path environment variable. Otherwise, you should change the directory to the location where the java.exe exists. For example, if you are using the IBM JDK that is shipped with IBM WebSphere Application Server, type the following, and then press Enter:
CD C:\WebSphere\AppServer\java\bin\
Where C:\WebSphere\AppServer\ is the IBM WebSphere Application Server's installation path.
Type the following in the command prompt, and then press Enter:
java.exe -jar C:\temp\WBIMonitor424-FixPack1-HF.jar
Where C:\temp is the location where the WBIMonitor424-FixPack1-HF.jar file exists.On AIX® and Solaris platforms:
Start a terminal console as root.
Make sure that the full path of the java is included in the PATH environment variable. Otherwise, you should change the directory to the location where the java exists. For example, if you are using the IBM JDK that is shipped with IBM WebSphere Application Server, type the following, and then press Enter:
On AIX platform, type:
cd /usr/WebSphere/AppServer/java/bin/
Where /usr/WebSphere/AppServer/ is the IBM WebSphere Application Server's installation path.
On Solaris platform, type:
cd /opt/WebSphere/AppServer/java/bin/
Where /opt/WebSphere/AppServer/ is the IBM WebSphere Application Server's installation path.
Type the following in the command prompt, and then press Enter:
java -jar /tmp/WBIMonitor424-FixPack1-HF.jar
Where /tmp is the location where the WBIMonitor424-FixPack1-HF.jar file exists.
Refer to the section entitled WBI Monitor Server Installation and deployment in Part 2 - Chapter 2: WBI Monitor Installation of the WBI Monitor v4.2.4 (Fix Pack1 HotFix) Deployment Guide for the detailed steps of automatic deployment of WBI Monitor Server. Refer also to Appendix A and Appendix B in Part 2 of the same guide for the detailed steps of the manual deployment of WBI Monitor Server. Please refer to the section entitled IBM WBI Monitor Deployment on OS/390 and z/OS Platforms in Part 3 of the same guide for the deployment steps.
WBI Monitor Database Migration
The database migration to WBI Monitor 4.2.4 (Fix Pack1 HotFix) can be done only if the existing database belongs to WBI Monitor version 4.2.4. If the existing database belongs to an earlier version than v4.2.4 (version 4.2.3 and before), then you cannot migrate the database directly to the current version. In this case you must upgrade your existing database incrementally to version 4.2.4. This means you must upgrade the database from each version to the next higher version in each step. Afterwards, you can upgrade the database to the recent version of WBI Monitor.
The database migration retains the code page of the upgraded database. That means if the existing database that belongs to v4.2.4 has a specific code page (for example IBM-1252), then the upgraded database will still have the same code page. Therefore, if you intend to run WBI Monitor in an internationalized environment, then you must export all tables of the WBI Monitor schema (defaults to WFM unless changed) and import these tables into a newly created database with UTF-8 code page before the database migration. Please consult your Database Administrator for information about about exporting and importing data across databases..
Using the Database Migration Tool
You can perform the database migration to the new version by running the WBI Monitor Migration Tool. This tool starts by running a batch file named migration.bat on Windows platform (or migration.sh on AIX and Solaris platforms) that exists in the migration directory in the folder where you have extracted the contents of the zip (or tar) file you have downloaded from the Internet.
This batch (or shell) file needs the path and name of the database JDBC Driver file and the path of the name of the migration properties file to be passed as parameters when you run it.
Before you run the Migration Tool, you need to edit the migration properties file named migration.properties that is located in migration directory in order to adjust it default properties values to the suitable values that match your deployment environment.
To modify the migration properties file:
Example:
If you are using IBM DB2 then the file should contain these lines:
# DB2 Driver
monitor.db.driver=COM.ibm.db2.jdbc.app.DB2Driver
# Oracle Driver
#monitor.db.driver=oracle.jdbc.driver.OracleDriver
If you are using Oracle then the file should contain these lines:# DB2 Driver
#monitor.db.driver=COM.ibm.db2.jdbc.app.DB2Driver
# Oracle Driver
monitor.db.driver=oracle.jdbc.driver.OracleDriver
# Step: Get Monitor DatabaseExample:
If you are using IBM DB2 then the file should contain these lines:
#monitor.db.url=jdbc:oracle:thin:@oracle:1521:WFMDB
monitor.db.url=jdbc:db2:WFMDB
If you are using Oracle then the file should contain these lines:# Step: Get Monitor Database
monitor.db.url=jdbc:oracle:thin:@SERVER_IP:1521:WFM
#monitor.db.url=jdbc:db2:WFMDB
If the Monitor Database has been created with a different name other than the default database name (WFMDB) then you must also change the database name in the file with the actual name of the database.
If the Event Queue Database has been created with a different name other than the default database name (FMCDB) then you must also change the database name in the file with the actual name of the database.
If you are not using MQ Workflow as the runtime engine (that means you are using only WMQI only), then you should comment or remove all properties of the MQ Workflow database section in the properties file. to comment the properties, put the comment mark (#) at the beginning of each line in the section.
This step is mandatory if you are using IBM DB2 database on OS/ 390 or z/OS platforms.
In this case you should run the appropriate .sql files that exist in the SQL folder under the migration folder. There are three folders under the SQL folder: DB2, Oracle, and DB2OS390. Each of these folders contains the sql files that should be run as in the following:
- For IBM DB2 database on Windows, AIX, and Solaris platforms:
- Run the files named DB2WFMDB.sql and DB2FMCDB.sql that are located under the Migration\sql\DB2 folder before running the migration.bat (or the migration.sh) file.
- Run the file named DB2WFMDB-AfterJarExecution.sql that is located under the Migration\sql\DB2 folder after running the migration.bat (or the migration.sh) file.
- For IBM DB2 database on OS/390 and z/OS platforms:
- Run the files named DB2-OS390WFMDB.sql that is located under the Migration\sql\DB2OS390 folder before running the migration.bat (or the migration.sh) file.
- Run the file named DB2-OS390WFMDB-AferJarExecution.sql that is located under the Migration\sql\DB2OS390 folder after running the migration.bat (or the migration.sh) file.
- For Oracle database on Windows, AIX, and Solaris platforms:
- Run the files named OracleWFMDB.sql and OracleFMCDB.sql that are located under the Migration\sql\Oracle folder before running the migration.bat (or the migration.sh) file.
- Run the file named OracleWFMDB-AfterJarExecution.sql that is located under the Migration\sql\DB2 folder after running the migration.bat (or the migration.sh) file.
Before running these files, you should edit them in order to change the variables named $SCHEMA$ and $TABLESPACE$ with the actual names of the tables schema and tablespace in each occurrence in the files.
You can save the file with a different name. In this case you should pass this new name to the migration.bat when you run it.
Important Notes:
To run the Migration Tool:
Example:
Type the following in the command line and press Enter
<ExtractionFolder>\migration\migration.bat <DB2>\bin\java12\db2java.zip migration.properties.