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:
- Change to the database owner (db2inst1 if the default was used):
su - db2inst1
- 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:
- Change to the WebSphere MQ user, by entering the following:
su - mqm
- Start the queue manager, by entering the following:
strmqm <hostname>.queue.manager
- Start the listener, by entering the following:
runmqlsr -t tcp -p <port number> -m <hostname>.queue.manager &
- Wait about 10 seconds and press Enter to
return to the command prompt.
- Start the JMS Broker (the publish/subscribe broker), by entering
the following:
strmqbrk -m <hostname>.queue.manager
Windows:
- Start the queue manager with the following command:
strmqm bcg.queue.manager
- Start the listener with the following command:
runmqlsr -t tcp -p 9999 -m bcg.queue.manager
- The listener runs in this window, so leave it open.
- 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.
- Change to the general WebSphere Partner Gateway user:
su - bcguser
- Navigate to the following directory:
cd {INSTALL DIR}/bin
- Start the Community Console, by entering the following:
./bcgStartServer.sh bcgconsole
- Start the Receiver, by entering the following:
./bcgStartServer.sh bcgreceiver
- Start the Document Manager, by entering the following:
./bcgStartServer.sh bcgdocmgr
