Starting the system after a machine shutdown

The following sections describe how to start the system components if the machine where they reside has been out of service. You must first start DB2 and WebSphere MQ before you can start the WebSphere Partner Gateway components.

Starting DB2

To start DB2, use the following procedure:

UNIX:

  1. Change to the database owner (db2inst1 if the default was used):
    su - db2inst1
  2. Start the database instance, by entering the following:
    db2start

Windows:

Start the database instance, by entering the following:

db2start

Starting WebSphere MQ

To start WebSphere MQ, use the following procedure:

UNIX:

  1. Change to the WebSphere MQ user, by entering the following:
    su - mqm
  2. Start the queue manager, by entering the following:
    strmqm <hostname>.queue.manager
  3. Start the listener, by entering the following:
    runmqlsr -t tcp -p <port number> -m <hostname>.queue.manager &
  4. Wait about 10 seconds and press Enter to return to the command prompt.
  5. Start the JMS Broker (the publish/subscribe broker), by entering the following:
    strmqbrk -m <hostname>.queue.manager

Windows:

  1. Start the queue manager with the following command:
    strmqm bcg.queue.manager
  2. Start the listener with the following command:
    runmqlsr -t tcp -p 9999 -m bcg.queue.manager
  3. The listener runs in this window, so leave it open.
  4. Open a new window and start the JMS Broker (the publish and subscribe broker) with the following command:
    strmqbrk -m bcg.queue.manager

Starting the Community Console, Receiver, and Document Manager

To start the Community Console, Receiver, and Document Manager, use the following procedure.

Note:
Modify the following steps to use the .bat extension and backslashes for Windows.

  1. Change to the general WebSphere Partner Gateway user:
    su - bcguser
  2. Navigate to the following directory:
    cd {INSTALL DIR}/bin
  3. Start the Community Console, by entering the following:
    ./bcgStartServer.sh bcgconsole
  4. Start the Receiver, by entering the following:
    ./bcgStartServer.sh bcgreceiver
  5. Start the Document Manager, by entering the following:
    ./bcgStartServer.sh bcgdocmgr

Copyright IBM Corp. 2003, 2005