Table of Contents

Search

  1. Preface
  2. Installation Overview
  3. Installing MDM Registry Edition
  4. Post-Installation Tasks
  5. Troubleshooting
  6. Upgrading MDM Registry Edition
  7. Uninstalling MDM Registry Edition

Installation and Configuration Guide

Installation and Configuration Guide

Step 4. Define an ODBC Data Source

Step 4. Define an ODBC Data Source

Define an ODBC data source on the Search Server to connect to IBM DB2 UDB. The
MDM Registry Edition
components access the database through ODBC. You must create ODBC data sources for each database that you plan to access.
  1. Open the
    odbc.ini
    file that you can find in the
    <MDM Registry Edition Installation Directory>\bin
    directory on Windows or
    <MDM Registry Edition Installation Directory>/bin
    on UNIX, and add or update the following database entries:
    [<Service Name>] DataSourceName = <ODBC DSN> driver = <ODBC Driver> server = <Native Database Service>
    Configure the following parameters:
    Service Name
    Service name that
    MDM Registry Edition
    uses to refer to the database service.
    ODBC DSN
    Data Source Name. If you do not specify any value, it defaults to the service name.
    ODBC Driver
    Name of the ODBC driver. The driver name does not include the directory path. Enter one of the following values:
    • db2cli
      on Windows
    • db2
      on UNIX
    • libdb2.a(shr_64.o)
      on 64-bit AIX environments
    Native Database Service
    Name of the database alias.
    A sample configuration file,
    odbc.ini.ori
    , is located in the following directory:
    • On Windows:
      <MDM Registry Edition Installation Directory>\bin
    • On UNIX:
      <MDM Registry Edition Installation Directory>/bin
    If you use multiple databases, add the database entries for each database. For example:
    [srcDBcli] driver = db2cli server = (local) DataSourceName = srcDBcli [tgtDBcli] driver = db2cli server = (local) DataSourceName = tgtDBcli
  2. Open the ODBC Data Source Administrator by performing the following tasks:
    1. From the Windows Control Panel, click
      Administrative Tools
      .
    2. In the
      Administrative Tools
      dialog box, double-click
      Data Sources (ODBC)
      .
  3. On the
    User DNS
    tab or
    Service DNS
    tab, click
    Add
    .
  4. Select
    IBM DB2 ODBC DRIVER
    , and click
    Finish
    .
  5. Follow the instructions in the Wizard, and ensure that you enter the following values:
    • Specify a data source name. Ensure that the data source name matches the data source name that you specify in the
      odbc.ini
      file.
    • Specify a default database.

0 COMMENTS

We’d like to hear from you!