Creating and populating the Marketing Operations system tables
If the automatic database setup fails during the installation of Marketing Operations, you must create and populate Marketing Operations system tables manually. To generate Marketing Operations system tables, you must run the umodbsetup utility.
The umodbsetup utility completes one of the following tasks:
*
Creates the required system tables in the Marketing Operations database and populates the tables with required default data.
*
Configuring environment variables
Before you run the umodbsetup utility, 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 this environment variable, see JAVA environment variables.
3.
4.
From the <IBM_EMM_Home>\<MarketingOperations_Home>\tools\bin directory, locate and open the umo_jdbc.properties file.
5.
*
*
*
*
6.
Running the database setup utility
From a command prompt or UNIX shell, go to the <IBM_EMM_Home>\<MarketingOperations_Home>\tools\bin directory. Run the umodbsetup utility and provide appropriate input for the parameters that are required for your situation.
For example, the following command runs a full database installation (rather than an upgrade), sets the locale to en_US, and sets the logging level to high:
./umodbsetup.sh -t full -L en_US -l high
Following is a description of all the possible variables for the utility:
Variables for the umodbsetup.sh utility
Records the output in the umo-tools.log file from the actions of the umodbsetup utility . This file is 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 must 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
For example, -f -b 9.0.0.0
For upgrades only. Instructs the utility to use the base version that is specified by the -b variable, overriding the base version that may detect in the database. See the description of the -b variable.
For example, umodbsetup.bat/sh -E
For example, umodbsetup.bat/sh -P
Running the database scripts manually
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 create and populate the system tables.