Configure memory-to-memory replication for the peer-to-peer mode (default memory-to-memory replication)
Use the peer-to-peer configuration to attain session affinity using a combination of servers configured as both client and server. The peer-to-peer configuration contains a single replica by default.
To configure the session management facility for memory-to-memory session replication for peer-to-peer functions (both client and server function, or both mode) with a single replica...
- Create an application cluster. This cluster is used to deploy the application.
You have now created a cluster containing the deployed application and the replication domain.
- Go to the Server Cluster page. Click Servers > Server Types > Clusters > Clusters.
- Click New.
- Type a cluster name for this application cluster.
- Define a replication domain. Select the Create a replication domain for this cluster check box.
- Click Next.
- Define each cluster member server. Type a cluster member name.
- Click Apply. Repeat steps f through g for each server created in this cluster.
- Click Next and review the summary of changes.
- Click Finish to complete the configuration.
- Enable memory-to-memory session replication for each server.
- Go to the appropriate level of session management for the web container level. Click Servers > Server Types > WebSphere application servers > server_name > Web Container Settings > Web container > Session management.
- Click Distributed environment settings under Additional Properties.
- Click Memory-to-memory replication.
- Select the Replication domain to use for the replication of sessions.
- Select the both client and server Replication mode. We must configure all session managers connected to a replication domain to have the same topology. If one session manager instance in a domain is configured to use the client/server topology, then the rest of the session manager instances in that domain must be a combination of servers configured as "Client only" and "Server only". If one session manager instance is configured to use the peer-to-peer topology, then all session manager instances must be configured as "Both client and server".
- Click OK on the Memory-to-memory replication page.
- Optional: To change the tuning parameters, click Custom tuning parameters. Click OK. Click Save.
Use the default tuning parameter custom settings, which specifies time based write interval of 10 seconds, may result in data loss when an application server in the cluster fails. However, this is just a small opportunity for lost data when compared to the significant improvement in performance.
- Click OK the Distributed environment settings page.
- Click OK the Session management page.
- Repeat a through i for each server.
Subtopics
- Memory-to-memory replication settings
Use this page to configure memory-to-memory sessions for failure recovery.
Related concepts
Memory-to-memory replication Memory-to-memory topology: Peer-to-peer function Memory-to-memory topology: Client/server function
Related tasks
Configure memory-to-memory replication for the client/server mode
Tune parameter settings (custom tuning parameters)