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


Search

Advanced Search

Categories

Tag Cloud

  • 1.0
  • 1.0.x
  • 2.0
  • 2.0.1
  • 2.0.1.1
  • 2.0_media
  • 2.5
  • 2.5_deployment
  • 2.5_media
  • 2.5_performance
  • 3
  • 3.0
  • 3.0.1
  • 3.0.1_media
  • 3.0_media
  • 3_deployment
  • 8.1.1
  • 8.2
  • activities
  • administrators
  • api
  • best_practices
  • blogs
  • bookmarks
  • business_card
  • cluster
  • communities
  • community
  • community_manager
  • connections
  • connections_3
  • connections_301
  • customization
  • customize
  • customizing
  • demos
  • deploying
  • deployment
  • deployments
  • developers
  • dogear
  • Domino
  • Edge server
  • education
  • error messages
  • files
  • forums
  • getting_started
  • Help
  • home
  • home_page
  • homepage
  • how-to
  • HTTP server
  • ibm
  • index
  • installation
  • integration
  • iOS
  • ipad
  • iWidget
  • J2EE
  • javadoc
  • lc3.0
  • learning
  • lotus-connections
  • mml
  • mobile
  • Notes
  • performance
  • person_card
  • Portal
  • portlet
  • portlet_factory
  • profiles
  • proxy server
  • quickr
  • Redbooks
  • rest
  • reverse proxy server
  • Sametime
  • scenarios
  • search
  • security
  • self-paced
  • SSO
  • tags
  • test_infrastructure
  • troubleshooting
  • tuning
  • video
  • VideoFest
  • videos
  • WAI
  • WAS
  • web_seminar
  • WebAppIntegrator
  • WebSphere
  • widgets
  • wikis
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 > Test infrastructures: Connections 2.5 > S2: Creating the databases
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

S2: Creating the databases 

expanded Abstract
collapsed Abstract
No abstract provided.
The databases are created using the SQL scripts supplied with the Lotus Connections installation files. All SQL scripts are located in the Lotus_Connections_Install/connections.sql//oracle folder. You must run these scripts on the Oracle machine from the Oracle SQLplus command line processor.

The following figure displays information created for this database, such as ORACLE_SID, Schema, and User. It is worth noting that the schema names listed below cannot be changed. while the database application user can be named as required with the exception of HOMEPAGEUSER and BLOGSUSER which cannot changed.





Copy the SQL scripts to a convenient location on the Oracle server (/software/LC25/connections.sql).

To create the databases, follow these steps from within the terminal on the Oracle machine:
  1. If required, set ORACLE_HOME using the following command:
    export ORACLE_HOME=/opt/oracle/10gR2
  2. There are a number of SQL commands that must be run to create each database on each instance of Oracle. The following steps describe this process for the Activities database. It is important to note that you must repeat these steps for each database.

    • Set the ORACLE_SID to that of the instance on which you want to create the database:
      export ORACLE_SID=activities

    • From the Oracle bin directory (/opt/oracle/10gR2/bin), run the SQLplus command as follows:
      ./sqlplus /NOLOG

    • Log in as the administrative user. You are prompted for these credentials when you enter the following command:
      connect as sysdba

    • After you log in, you can run the SQL scripts using the following commands:


      @/software/LC25/connections.sql/activities/oracle/createDb.sql


      The @ symbol allows Oracle to run the SQL commands from a file. You must provide the password argument. This password is used for the Oracle user, that is created by these scripts for each database (as listed in the figure above). If you do not provide the password argument, you are prompted for it during database creation. After running this script, you should run the following script to grant access privileges for this feature:

      @/software/LC25/connections.sql/activities/oracle/appGrants.sql

      You must run both scripts for all eight databases to be created. It is important to remember to change the ORACLE_SID as required to make changes on the correct Oracle instance.

      To run this script for each component, simply change the “/activities/” section of the command to that of the component that you want to create databases (for example, “/communities/” or “/wikis/”).
  3. After these scripts are run for each feature, the databases are created for each feature. To complete this process, you must run additional SQL scripts. These are as follows:

    @/software/LC25/connections.sql/homepage/oracle/initData.sql

    @/software/LC25/connections.sql/dogear/oracle/createHistogramStatsJob.sql

    @/software/LC25/connections.sql/communities/oracle/createDb_forum.sql
    @/software/LC25/connections.sql/communities/appGrants_forum.sql



    Remember to start SQLplus with the correct ORACLE SID to run each of these commands (homepage, dogear and communities respectively).
For more information about creating databases for Oracle using these scripts, see:

http://publib.boulder.ibm.com/infocenter/ltscnnct/v2r0/topic/com.ibm.connections.25.help/t_install_dbs_oracle.html



Go to the next topic:

S2: Scenario environment
S2: Prerequisites
  S2: Configuration diagrams
S2: Machine details
S2: Installing Lotus Connections in an Enterprise level deployment
    S2: Preinstallation tasks
      S2: Creating the databases
      S2: Populating the Profiles database
      S2: Configuring WebSphere Application Server profiles
    S2: Installing Lotus Connections on node 1
    S2: Adding nodes 2 and 3 to the cluster
    S2: Post installation tasks
S2: Starting Lotus Connections
S2: Configuring an administrative user for Blogs
S2: Integrating Lotus Connections with Lotus Quickr for WebSphere Portal
S2: Enabling Sametime awareness on Lotus Connections
S2: Troubleshooting

Table of Contents:
Lotus Connections 2.5 Enterprise level deployment scenario

expanded Article information
collapsed Article information
Category:
Test infrastructures: Connections 2.5
Tags:

This Version: Version 7 October 28, 2009 11:18:12 AM by Colm O'Brien  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (1)
collapsed Versions (1)
Version Comparison     
Version Date Changed by               Summary of changes
This version (7) Oct 28, 2009 11:18:12 AM Colm O'Brien  
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