Upgrade your database manually
The IBM® installer can upgrade the Marketing Operations database during the upgrade process. Use the database setup utility, umodbsetup, to upgrade the tables manually if your company policy doesn't allow you to upgrade the database.
The umodbsetup utility does one of the following actions:
*
Option 1: Upgrades the system tables in the Marketing Operations database and populates the tables with required default data.
*
Configuring environment variables
Before you run the umodbsetup, complete the following steps to configure the environment variables properly:
1.
From the <IBM_EMM_Home>\<MarketingOperations_Home>\tools\bin directory, locate and open the setenv file in a text editor.
2.
Verify that the JAVA_HOME variable indicates the correct directory for your installation of Java, and that the JDBC drivers are the first entry for the DBDRIVER_CLASSPATH variable. For more information about setting the environment variable, see the Marketing Operations Installation Guide.
3.
4.
From the <IBM_EMM_Home>\<MarketingOperations_Home>\tools\bin directory, locate and open the umo_jdbc.properties file.
5.
*
*
*
*
6.
Database setup utility
From a command prompt or UNIX shell, navigate to the <IBM_EMM_Home>\<MarketingOperations_Home>\tools\bin directory. Run the umodbsetup utility and provide appropriate input for the parameters required for your situation.
For example, the following command runs an upgrade, sets the locale to en_US, and sets the logging level to medium:
./umodbsetup.sh -t upgrade -L en_US -l medium
The following is the description of all the possible variables for the utility:
Variables for the umodbsetup.sh utility
For example, -f -b 9.0.0.0
For upgrades only. Instructs the utility to use the base version specified by the -b variable, overriding the base version it may detect in the database. See the description of the -b variable.
Records the output from the actions that the umodbsetup utility performs in the umo-tools.log file. This file is located in the <IBM_EMM_Home>\<MarketingOperations_Home>\tools\logs directory. This variable specifies the logging level.
Outputs the scripts to a file in the <IBM_EMM_Home>\<MarketingOperations_Home>\tools directory, which you can then run manually. Use this option if there is a reason you need to run scripts from your own database client application. When you use this variable, the umodbsetup tool does not run the script.
Type of database installation. Valid values are full and upgrade. For example, -t full
Running database scripts manually, if necessary
If you used the -m variable to output the scripts so you can run them from your own database client application, run the scripts now.
Do not deploy the plan.war file before you upgrade and populate the system tables.