Using the database wizard for Oracle

Use the database wizard to create databases for the IBM® Connections applications that you plan to install.

Before you begin

Before using the wizard for the first time, you must complete the steps described in the Preparing the database wizard for Oracle topic.

When you are creating a database either with the database wizard or SQL scripts, you must log into the system where the database is hosted with the database administrator account. For Oracle, the default value on AIX® and Linux™ is oracle, and system administrator on Windows™.

Oracle connects to IBM Connections databases with the user accounts that are configured during database creation. The passwords of those user accounts are defined later in this task.

(Oracle only) Ensure that the Statement cache size for the data sources on WebSphere Application Server is no larger than 50. A higher value could lead to Out Of Memory errors on the application server instance.

About this task

Use the IBM Connections database wizard to create, update, and remove databases.

You can review the scripts that the wizard executes by looking in the connections.sql directory in the installation media. On Oracle, the log shows the results of the commands.

To create databases with the wizard, complete the following steps:

Procedure

  1. From the IBM Connections Wizards directory, open the following file to launch the wizard:
    • AIX: ./dbWizard.sh
    • Linux: ./dbWizard.sh
    • Microsoft™ Windows: dbWizard.bat
  2. Click Next to continue.
  3. Select the option to Create a database and click Next.
    Note: On the option selection panel, you can choose Export SQL commands list only. This option exports the create command list for you. It does not validate database connectivity or perform any create tasks.
  4. Enter the details of the database you wish to create and then click Next:
    1. Select a database type.
    2. Select the location of the database.
    3. Specify a database instance.
  5. Select an application and click Next.
    Notes:
    • If you are creating databases in this task, only applications that have not already been installed to a database instance are available. If you are updating databases, you can only choose applications that are already installed.
    • The News and Search databases are contained in the Home page database.
    • The Metrics application has some additional requirements:
      • If you select the Metrics application, you must also select the IBM Cognos® application.
      • If you have already deployed Cognos components and have a Cognos Content Store available, you do not need to create another.
      • If you do create a Cognos Content Store, only the container is created now; the tables are created when you start the Cognos BI Server for the first time.
      • You do not need a dedicated database server for Cognos or for the Metrics application; you can host the Metrics database and the Cognos Content Store on the same database server as the other Connections databases.
      • Even if you do not plan to deploy Cognos yet, you should create the Metrics database and the Cognos Content Store now so that IBM Connections can begin collecting event data immediately.
    • IBM Connections Content Manager requires two databases: Global Configuration Database and Object Store.
  6. Enter the password for the databases and then click Next. Choose one of the following options:
    • Use the same password for all applications. Enter the password in the Password and Confirm password fields.
    • Create different passwords for each application. Enter a different password for each application database, and confirm the password in the confirm field.
  7. Review the Pre Configuration Task Summary to ensure that the values you entered on previous pages in the wizard are correct. If you want to make a change, click Back to edit the value. Click Create to begin creating databases.
    Note:

    The Show detailed database commands is enabled by default. It previews each SQL command before it is executed by the wizard. If you choose to save the commands, you must have write-access to the folder you choose to save them in.

    1. Click Next to see all the database scripts that are ready to be executed.
    2. Click Save As to save the commands.
    3. To run the commands listed, click Execute.
  8. Review the Post Configuration Task Summary panel and, if necessary, click View Log to open the log file. Click Finish to exit the wizard.
    Note: If the wizard returns an error indicating that it failed to create the Metrics database or encountered errors while creating it, see the following IBM technote for assistance: Metrics database creation with error message and Cognos cube build failed.