The Common Event Infrastructure (CEI) is now deprecated. By default IBM Business Monitor no longer monitors events from CEI. But some people migrate from an old WPS/BPM + Monitor pair version like WebSphere Process Server V6.2 + WebSphere Business Monitor V6.2, to IBM Business Process Manager V8.5.6 + IBM Business Monitor V8.5.6, and they don't want to use Dynamic Event Framework (DEF) to configure IBM Business Monitor 8.5.6 to receive events from IBM Business Process Manager V8.5.6 and they continue want to use Common Event Infrastructure (CEI).
Here I will teach you how to configure IBM Business Process Manager (IBM BPM) 8.5.6 to emit events to CEI so that monitor models that were generated in previous releases of Business Monitor that rely on CEI event emission can still be used.
Before you begin
Before you begin the steps in the procedure, you must:
- Stop the IBM BPM cell.
- Copy the following files from Business Monitor to the IBM BPM installation (preserving the structure of the WAS_HOME directory).
- After you copy the files, run the osgiCfgInit.bat or osgiCfgInit.sh command on the server to which the files were copied:
- Start the IBM BPM deployment manager.
About this task
Business Monitor 8.5.6 runs in a separate cell from IBM BPM 8.5.6. Completing the steps in this procedure ensures that when a process application is run on IBM BPM, its events are emitted to CEI in the IBM BPM cell and then routed to the Business Monitor cell where they are delivered to the monitor model.
- Configure CEI in the IBM BPM cell, as described in Configuring Common Event Infrastructure (deprecated). After the configuration, a CEI event service is deployed.
- Configure cross-cell security.
- Exchange SSL signer certificates.
- In the WebSphere Application Server administrative console for the remote event source, click .
- Enter the Host name, secure SOAP Port of the event source server or deployment manager profile (the IBM BPM server or the remote Business Monitor cell), and Alias, and click Retrieve signer information and OK.
- Click Apply and save your changes.
- In the Business Monitor server WebSphere Application Server administrative console, click .
- Enter the Host name, secure SOAP Port of the Business Monitor server or deployment manager profile, and Alias, and click Retrieve signer information.
- Click Apply and save your changes.
- Share LTPA keys, as described in Sharing LTPA keys.
- Enable identity assertion on the IBM BPM cell, as described in Enabling identity assertion.
- Define the Business Monitor data source in the BPM cell.
To configure the remote data source, open the Dmgr_profile/bin directory on the remote event source server and run the wbmConfigureQueueBypassDatasource command. Run the command on each IBM Business Process Manager V8.5.6 cell that sends events to Business Monitor.
The wbmConfigureQueueBypassDatasource command creates the data source that enables the remote server to send information to the Business Monitor database. You must run the command on the remote deployment manager. For an explanation of the parameters for the wbmConfigureQueueBypassDatasource command, see Table-based bus configuration across multiple cells for IBM Business Monitor (wbmConfigureQueueBypassDatasource command).
The following example uses Jython to create a DB2 data source:
-databaseType db2 -jdbcProvider "DB2 Universal JDBC Driver Provider (XA)" -driverType 4
-databaseName MONITOR -databaseServerName hostname.company.com
-databaseServerPort 50000 -user db2user -password db2user_password]')
- Enable event emission in the IBM BPM cell.
- Run the setStateObserver.py administrative script to enable the emission of events from the Business Flow Manager and the Human Task Manager. The setStateObserver.py administrative script is located under the install_root/ProcessChoreographer directory. Perform a search for the script to locate the correct subdirectory for the version of Business Process Choreographer you are using.
- Dmgr_profile/bin/wsadmin.sh -f setStateObserver.py -cluster clusterName -enable CEI
- Dmgr_profile/bin/wsadmin.bat -f setStateObserver.py -cluster clusterName -enable CEI
- To monitor SCA events, follow the instructions for SCA events.
- Restart the IBM BPM topology.
- Register the Business Monitor remote event source in the Business Monitor cell.
- Define an authentication alias with the credentials for the BPM cell administrator.
- In the administrative console panel of the Business Monitor server, register the remote event source. Click . Provide the host name, SOAP port number, and a local authentication alias of the remote cell deployment manager.
There are some general Q&A concerning configuring the Common Event Infrastructure when using Business Process Manager V8.5.6 and Business Monitor V8.5.6 that are published to dW Answers: