Skip to main content link. Accesskey S
  • Help
  • IBM Logo
  • IBM Sametime wiki
  • All Wikis
  • All Forums
  • THIS WIKI IS READ-ONLY. Learn more...
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
  • API Documentation
Search
Community Articles > Sametime Advanced > Sametime Advanced best practices > Tips for installing DB2, Message Queue, and Event Broker
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Click to view profileWilliam Wise
Contribution Summary:
  • Articles authored: 45
  • Articles edited: 86
  • Comments Posted: 3

Recent articles by this author

Managing policies for Lotus Sametime Classic 8.5.x

All Sametime users are automatically assigned to a default policy. You can create non-default user policies, and assign users and groups to these policies.

Managing policies for Lotus Sametime Classic 8.5.x

All Sametime users are automatically assigned to a default policy. You can create non-default user policies, and assign users and groups to these policies.

Best Practices for DB2 maintenance in Sametime

IBM Lotus Sametime uses DB2 databases. Most of the maintenance for DB2 has been automated, and database backup and recovery is fully outlined in the DB2 information center. See "Developing a backup and recovery strategy" at http:publib.boulder.ibm.cominfocenterdb2luwv9index.jsp. IBM ...

Developer resources for Lotus Sametime Standard 8.5 & 8.5.1

This page provides resources for developers, including demonstrations, product documentation, and education offerings. You can add your own links to this page too. The wiki monitor will integrate your links into the page as appropriate. Add a link

Monitoring availability, performance, infrastructure, and beyond using IBM Lotus Sametime

Ever wonder how to know what the status of your IBM Lotus Sametime environment is?  Discover how Lotus Sametime can be monitored from the user perspective.  This article describes (and provides) a simple lightweight tool to assist administrators in better understanding the Lotus Sametime user ...
Community articleTips for installing DB2, Message Queue, and Event Broker
Added by William Wise | Edited by IBM contributorWilliam Wise on June 4, 2008 | Version 3
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: tips, DB2, Event Broker, install

Tips for installing, troubleshooting and reinstalling the underlying components of IBM Lotus Sametime Advanced (DB2, WebSphere MQ, WebSphere Event Broker)

DB2 v9.1 ESE (Enterprise Server Addition)

Run script to create the Sametime Advanced database (referred to as STADV in the Infocenter) as user who has Database Administration rights (this one creates the databases and tables)

  • AIX, Linux, Solaris => ./createDb.sh STADV
  • Windows => createDb.bat STADV
Run the text index script (this one makes the content in DB2 searchable (persistent chats, etc.)
  • AIX, Linux, Solaris =>  ./dbtext.sh STADV
  • Windows => dbtext.bat STADV
  • Ignore warnings/not found
  • This is the Net Search Extender piece.  Make sure you have installed the NSE and run the script.
Create a separate database for Event Broker (in the Infocenter, this database is referred to as BRKRDB). The Event Broker must use a DB2 database.  It is recommended that you create and use a separate database than the one that is being used for Sametime Advanced (STADV) for better design, performance, etc..
  • Use of separate Broker DB server could improve performance
  • Catalog the database if using Event Broker with a remote DB
  • DB2 Client required only in this case

WebSphere MQ v6.0.2.2

 
  • Websphere MQ is used for creating and maintaining the queue manager (SCCS.QUEUE.MANAGER).
  • MQ Explorer -this is the GUI tool for managing the queue manager
  • Very handy for debugging and/or troubleshooting
  • Visual way of looking at the status of the queue manager
  • MQ commands
  • IBM AIX, Linux, Solaris (log in as root) / Windows (log in the Windows system administrator)
  • Start WebSphere MQ  Queue manager
  •  
    strmqm  sccs.queue.manager
  • Stop WebSphere MQ  Queue manager
  •  
    endmqm  sccs.queue.manager
  • Uninstall/cleanup -- If you run into a problem and you want to delete the queue manager, use these commands.  The main point here is that you don't need to delete WebSphere MQ, just the queue manager.* >endmqm sccs.queue.manager
  •  
    dltmqm sccs.queue.manager* ConfigureEB script -- Once you stop and delete it, you can recreate the queue manager using the ConfigureEB Script.

WebSphere Event Broker v6.0.0.3

 
  • There are two things created for Advanced
  • A Broker called => BRKR_SCCS
  • The Broker's Configuration Manager called => CMGR_SCCS
  • Create separate DB for broker/on broker machine (performance/better architecture...see above)

Deploying BAR file  -- 'BAR' file = 'Broker Archive File'  -- common problem area

 
  • If you have problems deploying the BAR file....
  • Try without Security enabled
  • If it succeeds enable security then try deploying the BAR file.
  • Try With Security Enabled
  • If after enabling security the deployment fails...
  • Check the classpath (for SametimePlusExits.jar)  this is the security exit for the broker For more about security exits in MQ, see this in the Infocenter
  • Enable/Disable broker security - the bullets below are the steps for disabling/enabling Broker security
  • Disabling Broker Security
  • mqsiservice BRKR_SCCS -r PubSubAccessControl=no
  • mqsiservice BRKR_SCCS -r PubSubAuthorizationService=
  • mqsiservice BRKR_SCCS -r PubSubPrincipalDirectory=
  • Enabling Broker Security
  • mqsiservice BRKR_SCCS -r PubSubAccessControl=yes
  • mqsiservice BRKR_SCCS -r PubSubAuthorizationService=com.ibm.orgcollab.wbi.exits.rest.RestImpl
  • mqsiservice BRKR_SCCS -r PubSubPrincipalDirectory=com.ibm.orgcollab.wbi.exits.rest.RestImpl
  • If after disabling broker security, you still cannot deploy the BAR file, it means there is something fundamentally wrong with the setup that must be fixed first.

Manually unistalling WebSphere Event Broker v6.0.0.3


It is very important to follow the correct sequence when cleaning up (uninstalling) the broker.
Always delete the broker and configuration manager first before you delete the database, or anything relating to the broker that's stored in the database.  There is a lot of configuration information that is stored in the database that the broker requires for it to complete operations when it needs to clean up.

Uninstall/Clean up sequence

1.>mqsistop BRKR_SCCS
2.>mqsideletebroker BRKR_SCCS
3.>mqsistop CMGR_SCCS
4.>mqsideleteconfigmgr CMGR_SCCS -n
5.>mqsilist
This command tells you what the system thinks is available.  When you run this command, you want to be sure that the list shows that nothing is available.  In other words, if the delete did not happen correctly, mqsilist is going to tell you that those components are available.
6.Clean up ODBC data source
7.Clean out Broker tables/Drop Broker DB  (another reason to keep this database separate...if you need to drop it in order to reconfigure)

Manually configuring WebSphere Event Broker

Configure Event Broker - manual steps
1.Create Broker DB.
2.Set up ODBC data source that connects to the Broker DB.
3.Create Broker.
4.Create Config Manager.
5.Stop Broker and Config Manager.
6.Enable Security.
7.Add Broker.
8.Deploy realtime1506 BAR file.
9.Start Message flow.
ConfigureEB script (automates manual steps)
MQ + EB steps

expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (4)
collapsed Versions (4)
Version Comparison     
VersionDateChanged by              Summary of changes
4Dec 9, 2008, 2:16:11 PMWilliam Wise  IBM contributor
This version (3)Jun 4, 2008, 10:03:01 AMWilliam Wise  IBM contributor
2May 31, 2008, 9:49:43 PMJack Downing  IBM contributor
1May 21, 2008, 12:31:16 PMWilliam Wise  IBM contributor
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkThe Social Lounge
  • Wiki Help
  • Forgot user name/password
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use