Creating Cluster Channels
To create new cluster channels, you must first create
a cluster if one does not already exist.
Secondly, in order to create a cluster channel, you
must select the cluster node from the namespace tree
where the channel will be created. For example, if there
is a cluster called productioncluster, which contains
3 realms called 'productionmaster', 'productionslave1'
and 'productionslave2' and you want to create a channel
called /eur/rates within that cluster of realms, you
would need to first of all click on the cluster node
called 'productioncluster'. Then, by right-clicking
on cluster node a pop-up menu will be displayed that
shows a number of menu items (as shown in the image
below).

By clickinig on the menu item 'Create Cluster Channel',
you will be prompted with a dialog box that allows you
to enter the details of the cluster channel you wish
to create. Cluster channels have exactly the same set
of attributes
assigned to them as normal channels when they are created.
The create channel dialog for cluster channels allows
you to input values for each of these attributes. The
only difference is that the channel will be created
across all of the realms within the cluster and the
same state will be maintaned between all instances of
that channel by the cluster realms. This means, for
example, that if an event is published to a clustered
channel it becomes available on all clusters simultaneously.
In order to create a cluster channel called '/eur/rates'
with a message/event TTL of 7 the following settings
would be configured:

Clicking on the 'OK' button will create the channel
/eur/rates across all realms within the cluster 'productioncluster'
and render the channel object in the namespace tree
of the Enterprise Manager. The image below shows how
the namespace tree looks after the cluster channel has
been created, fully expanded.

As you can see from the image above, each realm node
now contains the the channel node in its namespace tree
under a folder (which we call a container node) called
/eur. The icon used for a cluster channel is different
to that of normal channel and is denoted by the multiple
containers, whereas the normal channel icon shows a
single container. |