Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Sametime wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search
IBM Translated Product Documentation...

 Administering Sametime Standard 8.5.2 Interim Feature Release 1 documentation

 Administering Sametime Advanced 8.5.2 Interim Feature Release 1 documentation

 Administering Sametime Unified Telephony 8.5.2 Interim Feature Release 1 documentation
 Administering Sametime Unified Telephony Lite Client 8.5.2 documentation

 Sametime 8.5.2 IFR1 Message Catalog

 Sametime Mobile Chat 8.5.2 IFR1 for Android Documentation

 Using Sametime Meetings for iPad

 Using Sametime Standard 8.5.2 Interim Feature Release 1 documentation

 Using Sametime Advanced 8.5.2 Interim Feature Release 1 documentation
 Using Sametime Unified Telephony 8.5.2 documentation
 Using Sametime Unified Telephony Lite Client 8.5.2 documentation
 IBM Translated Product Documentation

Tag Cloud

  • 7.5.1
  • 8.0
  • 8.0.1
  • 8.0.2
  • 8.5
  • 8.5.1
  • 8.5.2
  • a/v
  • Active Directory
  • administration
  • administrators
  • Advanced
  • AOL
  • architecture
  • awareness
  • chat
  • Client
  • cluster
  • clusters
  • communities
  • configuration
  • configure
  • configuring
  • confuration
  • connections
  • DB2
  • deployment
  • deployments
  • developers
  • directory
  • directory server
  • documentation
  • domino
  • Edge
  • education
  • EMS
  • enablement
  • Enterprise Meeting Server
  • Entry
  • gateway
  • Getting started
  • install
  • installation
  • installing
  • integration
  • LDAP
  • learning
  • logging
  • lotus
  • media
  • meeting
  • Meetings
  • mml
  • monitoring
  • name_lookup
  • notes
  • performance
  • planning
  • podcast
  • Preview Guide
  • proxy
  • Redbooks
  • reference cards
  • resources
  • Sametime
  • sametime 8.0
  • Sametime 8.5
  • Sametime 8.5.2
  • Sametime 8.5.2 IFR1
  • Sametime Advanced
  • sametime gateway
  • Sametime Standard
  • Sametime Unified Telephony
  • Sametime Unified Telephony Lite
  • self-paced
  • seminar
  • server
  • siteminder
  • Standard
  • STGW
  • sut
  • Task Reference
  • telephony
  • tips
  • troubleshooting
  • tuning
  • tutorials
  • Unified Telephony
  • VIC
  • Video
  • video_8.0
  • video_8.5
  • video_advanced
  • video_standard
  • VideoFest
  • videos
  • WAS
  • webinar
  • websphere
  • windows
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Administering Sametime Standard 8.5.2 Interim Feature Release 1 documentation > Creating a DB2 database for Windows, Linux, AIX, and Solaris
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
(Current editable edition)
Original noneditable edition
Current editable edition
(Original noneditable edition)

Creating a DB2 database for Windows, Linux, AIX, and Solaris 

expanded Abstract
collapsed Abstract
Create the database tables and schema needed by Sametime® Gateway. These steps assume that you already have installed DB2® on the same machine on which you are now creating the database. If the machine on which you installed DB2 is named STGW, follow the steps in this procedure to change the name of the database in the database creation script. The default database name, STGW, cannot be the machine name.



Create the database tables and schema needed by Sametime® Gateway. These steps assume that you already have installed DB2® on the same machine on which you are now creating the database. If the machine on which you installed DB2 is named STGW, follow the steps in this procedure to change the name of the database in the database creation script. The default database name, STGW, cannot be the machine name.

Before you begin

The Sametime Gateway installation package includes a database creation script, which creates the database. Follow the steps below to unpack the installation compressed file and extract the contents before you run the script.

Expected state: DB2 is installed and running.

Procedure

  1. From the installation media, copy the Sametime Gateway installation image for your operating system to a temporary directory on the DB2 server node:
    • The part numbers for each product are available at the following Web address:

      https://www-304.ibm.com/support/docview.wss?rs=477&uid=swg24029128
      • Windows:
        • \TMP\SametimeGateway\part_number.exe

      • Linux, AIX, or Solaris:
        •   /TMP/SametimeGateway/part_number.tar

  2. Open a command window and navigate to the temporary directory.
  3. Unzip the installation image to the /TMP/SametimeGateway folder.
  4. Log in to the operating system using the DB2 administrator account created when you installed DB2.
  5. On the node where you will be creating the database Sametime Gateway, open a command window and type one of the following commands:
    • Windows:
      • db2cmd

    • Linux or AIX:
      • . /db2adminHomeDir/sqllib/db2profile

    • Note the period (.) and space before /db2adminHomeDir/sqllib/db2profile.
    • Solaris:
      • . /db2adminHomeDir/sqllib/db2profile

  6. If the host name on which you installed DB2 is named STGW, or if you need to change the database name to something other than STGW, or if your database administrator wishes to specify tablespace options, complete the following sub steps, otherwise skip this step.
    1. Using a text editor, open createDb.sql.
    2. Replace every instance of stGW with a new database name that is eight characters or less.
    3. If desired, you may edit the tablespace file locations for your specific environment to be somewhere other than the default location.
    4. Save the file.
  7. In the DB2 window, navigate to this directory:
    • \TMP\SametimeGateway\database\db2

  8. Type the following command to create the database:
    • db2 -tvf createDb.sql > createDbOut.txt


      If you edited the createDb.sql file, inspect the createDbOut.txt file to be sure that all commands executed correctly.
  9. Stop and then restart the database using the following commands:
    1. db2stop
    2. db2start
Parent topic: Installing a Sametime Gateway server
Next topic: Installing Sametime Gateway

expanded Article information
collapsed Article information
Category:
Administering Sametime Standard 8.5.2 Interim Feature Release 1 documentation, Product documentation,
Tags:
Sametime, Standard, installation, administration, configuration

This Version: Version 1 November 23, 2011 2:53:13 AM by IBM  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (1)
collapsed Versions (1)
Version Comparison     
Version Date Changed by               Summary of changes
This version (1) Nov 23, 2011 2:53:13 AM IBM  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use