Databases Reference
In-Depth Information
How it works...
The
Consensus
option is the migration basis configured for the
PROD_Cluster
cluster. It requires the Node Manager to be running, to keep the leasing information
updated in the memory.
The new persistent store,
FileStoreMigratable
, and the new JMS server,
JMSServerMigratable
, were created and targeted to the migratable target,
PROD_Server01
(migratable)
, which was configured to use
Auto-Migrate Exactly-Once Services
as
the migration policy. One migratable target from a Managed Server must be elected to be the
primary host of the service.
A JMS module,
JMSAppModulePinned
, was created with a new subdeployment,
JMSAppSubPinned
, targeting
JMSServerMigratable
. The queue
JMSAppPinnedQueue
was created and uses the
JMSAppSubPinned
subdeployment.
This configuration guarantees
JMSAppPinnedQueue
is always running in at least one
Managed Server of the cluster, giving preference to run at the
PROD_Server01
server.
If
PROD_Server01
goes down or crashes, the queue is automatically migrated to another
running instance with no intervention.
Remember that the file store must reside in a shared
storage so that all machines of the cluster can access it.
See also
F
Creating the distributed queue destination and the connection factory
Configuring messaging bridge with
source and target distributed destinations
The messaging bridge is used to forward JMS messages from one source queue to another
target queue.
In this recipe, a bridge will be created to forward the JMS messages from the
JMSAppQueue
distributed queue to a hypothetic distributed queue with a JNDI name
jms.remotequeue
,
hosted by a separate WebLogic domain named
REMOTE_DOMAIN
. The
REMOTE_DOMAIN
domain is configured with a cluster with two Managed Servers instances running at the
addresses
t3://remote01.domain.local:9001
and
t3://remote02.domain.
local:9002
. A remote connection factory is available under the JNDI name
jms.
remoteappcf
. Both local and remote queues are distributed destinations.
Search WWH ::
Custom Search