Network Deployment (Distributed operating systems), v8.0 > Reference > Administrator best practices
Data replication domains
Data replication domains and multi-broker domains both perform the same function, which is to provide data replication between application servers in a cluster. Even though you can still configure existing multi-broker domains with the current version of the product, after you upgrade your dmgr, you can only create data replication domains in the admin console.
For transitioning users: A replication domain created with a previous version of the product might be a multi-broker domain. You should migrate these multi-broker domains to data replication domains. Data replication domains enable you to:
- Configure all of the instances of replication that need to communicate in the same replication domain.
- Configure the session manager with both types of replication domains to use topologies such as peer-to-peer, and client-to-server to isolate the function of creating and storing replicas on separate application servers.
- Control the redundancy of replication for each type of replication domain, because with a data replication domain, you can specify a specific number of replicas.
trns
If we used multi-broker domains with earlier releases of the product, use the following comparison chart to learn the differences between how v5.x and v6.x and v7.0 application servers use the two types of replication domains:
Version 5.x application servers using replication domains V6.x and v7.0 application servers using replication domains Replication domain types Uses only multi-broker replication domains for replication. Servers that are using the current version of the product can be configured to use both multi-broker replication domains and data replication domains for replication. The two types of domains provide backward compatibility with multi-broker domains that were created with a v5.x server. You should migrate any multi-broker domains to data replication domains. Data transport method Uses multi-broker domain objects containing configuration information for the internal JMS provider, which uses JMS brokers as replicators. Uses data replication domain objects containing configuration information to configure the high availability framework on the product. The transport is no longer based on the JMS API. Therefore, no replicators and no JMS brokers exist. You do not have to perform the complex task of configuring local, remote, and alternate replicators. The earlier version of the product did not support data replication domains. The current version of the product can be configured to perform replication using old multi-broker domains by ignoring any JMS-specific configuration and by using the other parameters to configure replication through the high availability framework. Replication domain configuration The earlier version of the product encourages the sharing of replication domains between different consumers, such as session manager and dynamic cache. The current version of the product encourages creating a separate replication domain for each consumer. For example, create one replication domain for session manager and another replication domain for dynamic cache. The only situation where you should configure one replication domain is when configuring session manager replication and stateful session bean failover. Using one replication domain in this case ensures that the backup state information of HTTP sessions and stateful session beans are on the same application servers. Partial partitioning We can configure partial partitioning. Partition the replication domain to filter the number of processes to send data. Partial partitioning is deprecated. When using data replication domains, you can specify a specific number of replicas for each entry. However, if we specify a number of replicas larger than the number of backup application servers that are running, the number of replicas is the number of application servers that are running. After the number of application servers increases above your configured number of replicas, the number of replicas created is equal to the number specified. Domain sharing Multiple data replication service (DRS) instances share multi-broker domains. A limitation exists on the number of multi-broker domains that you can create because every multi-broker domain contains at least one replicator. A maximum of one replicator can be on each application server. All DRS instances in a replication domain use the same mode. Each replication domain must contain either client only and server only instances, or client and server instances only. For example, if one instance is configured to client and server, all other instances must be client and server. If one instance in a replication domain is configured to be a client only, you can add client only and server only instances, but not a client and server instance.
Data replication
Replicating data across application servers in a cluster
Migrate servers from multi-broker replication domains to data replication domains