Creating a database for the Sametime Proxy Server

Before installing the IBM® Sametime® Proxy Server, create a database to store its data.

Procedure

  1. On the DB2® server, log in as the DB2 administrator.
  2. Find the software packages you plan to download.
  3. Download the packages.
  4. Extract the packages.
  5. Open a command window and navigate to the directory where you extracted the SametimeProxyServer installation package.

    This package contains a script for creating the Sametime Proxy Server database.

  6. Navigate to the DatabaseScripts\ProxyServer subdirectory. For AIX® or Linux™, locate createProxyDb.sh, or for Windows™, locate createProxyDb.bat.
  7. Create the database by entering one of the following commands. Wait until you see confirmation that the database has been created and the command has finished.
    • AIX or Linux
      ./createProxyDb.sh STPS DB2_admin_username 
    • Windows
      createProxyDb.bat STPS DB2_admin_username 

    When naming DB2 objects, follow the rules for your operating system.

    where:

    Wait until you see confirmation that the database has been created and the command has finished.

  8. Start the DB2 command line window by running the following command:
    • AIX or Linux: db2
    • Windows: db2cmd
  9. Verify that the new database was created by entering the following command:

    db2 connect to STPS

    where STPS represents the name of the database you created. Verify that you can connect to the database.

  10. Close the DB2 command window.