Upgrading MVMA
To upgrade MVMA
- Back up the installation directory by zipping it and storing it somewhere safe.
To accelerate the upgrade process, the contents of the work directory can be deleted before running the upgrade installation.
To upgrade installation on Windows
- MVMA services must be stopped prior to upgrading.
- Navigate to the directory where the installation files are located.
- Change the directories to .\Disk1\InstData\Windows\VM.
- Run install.exe from the directory. A message is displayed indicating that the wizard is being prepared.
- On the Wizard introduction page, select Next.
- Select one of the following installation sets based on your middleware administration infrastructure (IBM MQ, TIBCO EMS, or both) and then click Next.
The subsequent installation steps reflect your choice. - Read and accept the License Agreement that is displayed on the next Wizard page, and click Next.
- Set the installation destination to the directory where your previous MVMA installation exists. click Choose to choose the location of the existing installation and then click Next.
- You should get the message “The MainView Middleware Administration Installation had detected an existing installation. In Order to update the existing installation the MainView Middleware Administration Service must be stopped. You must make sure the service is stopped before continuing.” Click Next.
- Click Install. Pre-installation summary is displayed on screen.
- When the Install Complete page is displayed, click Done to exit the wizard.
To upgrade installing on Linux using the console option
- In a console, navigate to the directory where the installation files are located
- Run the command ./Disk1/InstData/Linux/VM/install.bin –i console
A console opens to inform you that the installer is being launched. - On the license screen, read the license terms and press Enter.
- Read the remaining information and type Y to accept licensing terms.
- Type in the destination to the directory where your previous MVMA installation exists. Note that MVMA services must be stopped prior to upgrading.
- You should get the message, "The MainView Middleware Administration Installation had detected an existing installation. In Order to update the existing installation the MainView Middleware Administration Service must be stopped. You must make that the service is stopped before continuing.” press Enter.
- If TIBCO EMS support is included in your installation, enter a destination folder where EMS files are stored (example: /opt/tibco/ems/<version>/lib, where <version> is the EMS version; for example /opt/tibco/ems/8.6/lib). Press Enter.
When installing TIBCO EMS components, either the server machine must have TIBCO EMS installed or these specific TIBCO files must be copied to the server machine:
- Review the pre-installation summary. Press Enter.
- The installation is completed.
Perform the following steps post installation
- Prepare the directories for MongoDB to place its log files and the MVMA database as described in, see Prepare MongoDB
- Upgrading MVMA preserves the following files and folders, but we recommend that you review them after the new installation to confirm their preservation:
- etc/known_hosts
- security/*
- Clear your browser cache to verify that the browser has preserved the upgraded Web-UI components. If these components have not been preserved, interference with cached components of an earlier version of the product might cause unpredictable results when the browser renders the Web UI.
To disable weak cipher suites, make sure that weak cipher suites are disabled by opening configuration/services/org.apache.felix.http.cfg and verifying that the following list is assigned to the org.apache.felix.https.jetty.ciphersuites.excluded configuration setting:
org.apache.felix.https.jetty.ciphersuites.excluded=SSL_RSA_EXPORT_WITH_RC4_40_MD5,.*DES.*,.*CBC.*,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384To disable older TLS versions, make sure that older TLS versions are disabled by opening configuration/services/org.apache.felix.http.cfg and verifying that the following list is assigned to the org.apache.felix.https.jetty.protocols.excluded configuration setting:
org.apache.felix.https.jetty.protocols.excluded=TLSv1,TLSv1.1
To migrate data from MVMA 9.1 to MVMA 9.2
This section demonstrates how to use the exportMongoDB and importMongoDB utilities installed with MVMA 9.2 to migrate your database when upgrading from MVMA 9.1 to MVMA 9.2 or later.
Before you begin
Verify that the following prerequisites are met:
- During the upgrade installation, confirm the previous MVMA 9.1 is backed up to the installV92Backup sub-directory located in the MVMA 9.2 installation directory mvma92_installpath.
- Verify that the MongoDB database and the MongoDB database configuration from MVMA 9.1 were backed up into the migrate sub-directory of the MVMA 9.2 installation directory.
- MongoDB database server that you intend to use with MVMA 9.2.00 is installed on the system (mongodb_target_installpath).
- MongoDB database tools compatible with the MongoDB database server that you intend to use with MVMA 9.2.00 are installed on the system (mongodb_tools_target_installpath).
- You have already created the new empty data directory for MongoDB to be used with MVMA 9.2 on the system. (for example,<mvma92_db_root>\data\db where <mvma92_db_root> refers to the root of the directory configured for the MongoDB server to store the data for MVMA 9.2. Note the previous versions of MVMA this was in the data/db sub-directory of the MVMA installation folder by default. Starting with MVMA 9.2, we do not recommend to store the MongoDB database in the installation folder to prevent unintentional data loss or corruption, as this path is no longer managed by the product and will not be included in future updates or fixpacks.
- You have all MVMA services and any MongoDB server stopped at this point.
Perform the following steps, depending on the platform you are using:
- For Windows
- Open a command prompt to the MVMA 9.2 installation directory mvma92_installpath.
- Change to the migrate subdirectory running cd migrate.
- Start MongoDB from MVMA 9.1 with the MVMA 9.1 data and configuration running: '..\installV92Backup\mongodb\mongodb-win32-x86_64-3.2.17\bin\mongod -f etc\data.conf --logpath data.log'
- Verify from MongoDB's log file data.log written to the current working directory that MongoDB used with MVMA 9.1 is running properly.
- Open another command prompt to the MVMA 9.2 installation directory mvma92_installpath.
- Run 'bin\exportMongoDB.bat installV92Backup\mongodb\mongodb-win32-x86_64-3.2.17'
- When the command has completed successfully, verify that mongodb_export directory is created in the current working directory and contains the MVMA collections exported from MongoDB in JSON format.
- In the command prompt you have started MongoDB belonging to MVMA 9.1, press CTRL+C to stop the running MongoDB server.
- Start MongoDB to be used with MVMA 9.2 with the intended data directory and log path running: <mongodb_target_installpath>\bin\mongod --dbpath <mvma92_db_root>\data\db --logpath <mvma92_db_root>\logs\data.log
- Verify from the MongoDB logs that MongoDB has started properly.
- Switch to the command prompt from which you have previously exported MongoDB for MVMA 9.1.
- Run bin\importMongoDB.bat <mongodb_tools_target_installpath>
- Verify that the command has completed successfully.
- Start MVMA 9.2 services. To start the MVMA service on Windows, see Starting services after installation
- Verify that MVMA 9.2 started properly.
- In a browser, verify that you can log in to MVMA 9.2 as expected and that you get expected objects in the MVMA UI after login.
- For Linux
- Open a command prompt to the MVMA 9.2 installation directory mvma92_installpath.
- Change to the migrate subdirectory running cd migrate.
- Start MongoDB from MVMA 9.1 with the MVMA 9.1 data and configuration running: '../installV92Backup/mongodb/mongodb-linux-x86_64-3.2.17/bin/mongod -f etc/data.conf --logpath data.log'
- Verify from MongoDB's log file data.log written to the current working directory that MongoDB used with MVMA 9.1 is running properly.
- Open another command prompt to the MVMA 9.2 installation directory mvma92_installpath.
- Run './bin/exportMongoDB.sh ./installV92Backup/mongodb/mongodb-linux-x86_64-3.2.17'
- When the command has completed successfully, verify that mongodb_export directory is created in the current working directory and contains the MVMA collections exported from MongoDB in JSON format.
- If in the command prompt you have started MongoDB belonging to MVMA 9.1, press CTRL+C to stop the MongoDB server.
- Start MongoDB to be used with MVMA 9.2 with the intended data directory and log path running: <mongodb_target_installpath>/bin/mongod --dbpath <mvma92_db_root>/data/db --logpath <mvma92_db_root>/logs/data.log
- Verify from the MongoDB logs that MongoDB has started properly.
- Switch to the command prompt from which you have previously exported MongoDB for MVMA 9.1.
- Run ./bin/importMongoDB.sh <mongodb_tools_target_installpath>
- Verify that the command has completed successfully.
- Start MVMA 9.2 services. To start the MVMA service on Linux, see Starting services after installation
- Verify that MVMA 9.2 started properly.
- In a browser, verify that you can log in to MVMA 9.2 as expected and that you get expected objects in the MVMA UI after login.
For more information see, Migrating-data