Configuring a DB2 database for MAP

When installing the Media Access Proxy (MAP) software for use with DB2®, you must configure the DB2 database.

Before you begin

About this task

Perform this procedure on the database server, which can be a different system than the system used to run MAP.
Important: Do not create any tables manually within the MAP database.

Procedure

  1. Log in.

    AIXLinuxSolaris Log in as the DB2 instance user. If you are logged in as root, run the following command to change to the DB2 instance user: su - db2instance_userID

    Windows Log in as a user with administrative privileges.

  2. Run the db2start command to ensure that the DB2 server is started.
  3. Create a new database using the following command.
    db2 create db mapdb using codeset UTF-8 territory us

    In this example, the database name is mapdb. If you choose another database name, use the chosen name instead of mapdb in subsequent steps.

  4. Update the new database configuration using the following command.
    db2 update db cfg for mapdb using logfilsiz 10000 logprimary 10 logsecond 10
  5. Connect to the database using the following command.
    db2 connect to mapdb user db2instance_userID using db2instance_password
  6. AIXLinuxSolaris If you used the su command when you logged in as the DB2 instance user, issue the exit command.

What to do next

After the database is configured, you can install the MAP software.



Terms of use
(C) Copyright IBM Corporation 2012. All Rights Reserved.