+

Search Tips   |   Advanced Search

 

Replicating data with a multi-broker replication domain

 

Use this task to mange replication domains that you migrated from a WAS v5 environment.

Multi-broker replication domains are not created in WebSphere Application Server v6.x environments. However they can be migrated from existing WebSphere Application Server v5.x environments. If you migrate v5.x multi-broker replication domains, you can use the Multi-broker domain panel in the v6.x administrative console to managed these domains.

Although you can manage migrated multi-broker domains with the current version of WAS, after you upgrade your deployment manager, you can create only data replication domains in the console. Consider migrating any existing multi-broker domains to the new data replication domains. See Migrating servers from multi-broker replication domains to data replication domains and Multi-broker replication domains for more information about the benefits of migrating your replication domains.

If you do not have any existing replication domains, see Replicating data across appservers in a cluster for information about creating new data replication domains.

 

Overview

If you are performing this task, it is assumed that you configured replication with a previous version of WAS and defined replication domains that list connected replicator entries (residing in managed servers in the cell) that can exchange data. You can manage these existing replication domains and replicator entries, but you cannot create new multi-broker replication domains or new replicator entries in the console.

A replicator does not need to run in the same process as the appserver that uses it. However, it might be easier to manage replicators and replication domains if a one-to-one relationship exists between replicators and appservers. During configuration, you can select the local replicator as the default replicator.

 

Procedure

  1. Manage multi-broker replication domain configuration settings. In the console, click Environment > Replication domains.

  2. Click on a Multi-broker domain, and update the values for a particular multi-broker replication domain. The default values are generally sufficient, especially for the pooling and timeout values.

    1. Name the replication domain.

    2. Specify the timeout interval.

    3. Specify the encryption type. The DES and TRIPLE_DES options encrypt data sent between WAS processes and better secure the network joining the processes.

    4. Partition the replication domain to filter the number of processes to which data is sent. Partitioning the replication domain is most often done if you are replicating data to support retrieval of an HTTP session if the process maintaining the HTTP session fails. Partitioning is not supported for sharing of cached data that is maintained by Web container dynamic caching.

    5. Specify whether you want a single replication of data to be made. Enable the option if you are replicating data to support retrieval of an HTTP session if the process maintaining the HTTP session fails.

    6. Specify whether processes should receive data in objects or bytes. Processes receiving data in objects receive the data and class definitions. Processes receiving data in bytes receive the data only.

    7. Configure a pool of replication resources. Pooling replication resources can enhance the performance of the replication service.

  3. Maintain the replicators that you have already defined. You cannot create any new replicators. The default convention is to define a replicator in each appserver that uses replication. However, you can define a pool of replicators, separate from the servers hosting applications.

    1. In the console, click Environment > Replication domains > replication_domain_name > Replicator entries > replicator_entry_name.

    2. Specify a replicator name and select a server available within the cell to which you can assign a replicator. Also specify a host name and ports. Note that a replicator has two ports (replicator and client ports) that use the same host name but have different ports.

  4. If you use the DES or TRIPLE_DES encryption type for a replicator, click Regenerate encryption key on the settings for a replication domain instance at regular intervals, such as monthly.

    Periodically changing the key enhances security.



Multi-broker replication domains

Multi-broker replication domain settings

 

Related tasks


Configure cache replication