If you want one monitor model to receive events that are
emitted to multiple CEI servers in multiple cells, you must manually
configure each additional Common Event Infrastructure (CEI) server
before monitor model deployment.
Before you begin
Before you begin this task, you must log in to the
WebSphere® Application
Server administrative
console.
If you are using the table-based method to receive events,
you need to perform only steps 4a to 4k and step 5 below.
If
you are using a remote CEI server and using the queue-based method
to receive events, you must have configured the service integration
bus links before beginning this task. See the related task about "Configuring
queue-based event management in a multiple-cell environment."
About this task
When you deploy a monitor model, the monitor model deployment
process creates the "_Q" queue. When you create another version of
the monitor model, the original queue is re-created as a "_Q_A" queue,
and the newer version has a "_Q" queue created during monitor model
deployment.
Note: If your monitor model has been configured to receive
events from a remote CEI server, and you want it to also receive events
sent by IBM® Business Monitor,
you only need to perform step 4.
Using the WebSphere Application
Server administrative
console, complete the following steps on each additional CEI server:
Procedure
- (Queue-based only:) Configure the queue destinations to
be accessible in the CEI server cell:
- In the navigation panel, select .
Click MONITOR.cell_name.Bus.
- Under Destination resources, click Destinations,
and click New.
- Select Foreign for the destination
type, and click Next.
- Enter wbm_model_name_model_version_Q_Destination for
the Identifier. This value should
match the destination name on the IBM Business Monitor server
server.
- Click bus_name for
the Bus. This value represents the
name of the foreign bus on which the destination is defined.
- Click Next, and click Finish.
- Click New.
- Select Foreign for the destination
type, and click Next.
- Enter wbm_model_name_model_version_Q_A_Destination for
the Identifier. This value should
match the destination name on the Monitor server.
- Click bus_name for
the Bus. This value represents the
name of the foreign bus on which the destination is defined.
- Click Next, and click Finish.
- (Queue-based only:) Configure the JMS queues that are backed
by each foreign destination that you created:
- In the navigation panel, select .
- Select Cell, and click Apply to
set the scope to cell.
- Click New.
- Enter wbm_model_name_model_version_Q for
the Name.
- Enter jms/wbm/model_id/valid
from date as YYYYMMddHHmmss/Q for the JNDI
name.
- Select bus_name from
the Bus drop-down list.
- Select queue_name from
the Queue name list. Click OK.
- Click New to create a second
queue.
- Enter wbm_model_name_model_version_Q_A for
the Name.
- Enter jms/wbm/model_id/valid
from date as YYYYMMddHHmmss/Q_A for the JNDI
name.
- Select bus_name from
the Bus drop-down list.
- Select queue_name from
the Queue name list. Click OK,
and click Save.
- (Queue-based only:) Configure the queue connection factory
for each JMS queue:
- In the navigation panel, select .
- Select Cell, and click Apply to
set the scope to cell.
- Click New.
- Enter wbm_model_name_model_version_QF for
the Name.
- Enter jms/wbm/model_id/valid
from date as YYYYMMddHHmmss/QF for the JNDI
name.
- Select bus_name from
the Bus list. Click OK.
- Click New to create the second
queue connection factory.
- Enter wbm_model_name_model_version_QF_A for
the Name.
- Enter jms/wbm/model_id/valid
from date as YYYYMMddHHmmss/QF_A for the JNDI
name.
- Select bus_name from
the Bus drop-down list.
- Click OK, and click Save.
- (Queue-based and table-based:) Create the Event Group Profile
to configure the CEI server to accept the events by completing the
following steps:
- In the navigation panel, select .
- Under Additional Properties, click Event
services.
- Click Default Common Event Infrastructure
event server in the list of event services.
- Under Additional Properties, click Event
groups.
- Click event_group.
- Click New.
- Enter wbm_model_version_Group for
the Event group name.
- Enter value for
the Event group selector string. The
value must match the value of the event group created on the initial
CEI server that was configured during the initial model deployment.
- Click OK.
- Click group_name for
the event group you created.
- Under General Properties, ensure that the Persist
events to the event data store box is not checked.
- Under General Properties, ensure that the Compatibility
mode with previous event service transmission protocol box
is not checked.
- (Table-based only:) Under Additional Properties, click Custom
Properties and add the following property.
- name: customEventSelectorFilterClass
- value: The value must match the value for
the event group created on the initial CEI server that was configured
during the initial model deployment.
- Under Additional Properties, click Custom
Properties and ensure that any properties other than customEventSelectorFilterClass contain
values that correspond to the values for the event group created on
the initial CEI server that was configured during the initial model
deployment.
- (Queue-based only:) Under Additional Properties, click Distribution
queues. Click New. Enter one of
the following values for the Queue JNDI Name. The value must match the value of the distribution queue created
on the initial CEI server that was configured during the initial model
deployment.
- model_id/valid from date as
YYYYMMddHHmmss/Q
- model_id/valid from date as
YYYYMMddHHmmss/Q_A
- (Queue-based only:) Enter one of the following values
for the Queue Connection Factory JNDI Name. The value must correspond to the Queue JNDI Name and must match
the value of the distribution queue connection factory created on
the initial CEI server that was configured during the initial model
deployment.
- jms/wbm/model_id/valid from
date as YYYYMMddHHmmss/QF
- jms/wbm/model_id/valid from
date as YYYYMMddHHmmss/QF_A
- Click OK.
- (Queue-based and table-based:) Restart the CEI Server for
the configuration changes to take effect.
Results
You can now send Common Base Events from this CEI server to
the model you have configured.