Use this task to improve performance by configuring the data replication
service (DRS) to replicate data from the dynamic cache service across the
consumers in a replication domain.
Before you begin
Important: If you are running a base server, you can skip
the steps to create a replication domain and move on to enabling the data
replication service (DRS). Setting up a replication domain on a base server
with multiple servants is done automatically when the keywords DynacacheEnableUnmanagedServerReplication and DynacacheUnmanagedServerReplicationType are defined in step five below. If the server is in a WebSphere Application
Server Network Deployment environment and has multiple servants, you must
define a replication domain.
![[z/OS]](../../ngzos.gif)
Setting
up the dynamic cache service on WebSphere Application Server for z/OS apply
for the following scenarios:
- Clustered environment
- Define the replication domain.
- Set up the dynamic cache service as outlined in the steps below.
- Base application server with multiple servants - Set up the dynamic
cache service as outlined in the steps below.
- Managed node where the server has multiple servants
- Define the replication domain.
- Set up the dynamic cache service as outlined in the steps below.
Note: The following steps also apply in non-clustered
environments when the server has more than one servant.
See Cache replication for
more information about replicating data for the dynamic cache service.
You
should have a replication domain created for the dynamic cache service. Configure
a different replication domain for each type of consumer of the replication
domain. For example, configure two different replication domains for dynamic
cache and session manager.
Important: If you are running a base
server, you can skip the steps to create a replication domain and move on
to enabling the data replication service (DRS). Setting up a replication domain
on a base server with multiple servants is done automatically when the keywords DynacacheEnableUnmanagedServerReplication and DynacacheUnmanagedServerReplicationType are defined in step five below. If the server is in a WebSphere Application
Server Network Deployment environment and has multiple servants, you must
define a replication domain.
There are two ways to configure replication
domains:
- To create replication domains manually, click Environment > Replication
domains in the administrative console.
- To create a new replication domain automatically when you create a cluster,
click Servers > Clusters > New in the administrative console.
For more details about configuring replication domains, see
Replicating data across application servers in a cluster.
Do not use the default
value of a single replica for the Number of replicas for dynamic cache
replication domains. Instead, use a full group replica for any replication
domains that you configure for dynamic cache.