Migrate servers from multi-broker replication domains to data replication domains


 

+

Search Tips   |   Advanced Search

 

We can migrate multi-broker replication domains to data replication domains. Any multi-broker domains that exist in the appserver environment were created with a previous version of WAS ND.

Determine if the application server configuration we are migrating...

  1. Uses an instance of data replication service in peer-to-peer mode or in client/server mode.

    Before beginning migrating a client/server mode replication domain, consider if migrating the replication domains might cause a single point of failure. Because you migrate the servers to the new type of replication domain one at a time, you risk a single point of failure if there are 3 or fewer appservers. Before migrating, configure at least 4 servers that use multi-broker replication domains. Perform the following steps to migrate the multi-broker domains to data replication domains:

    Dynamic cache replication domains use the peer-to-peer topology.

  2. Uses HTTP session memory-to-memory replication that is overloaded at the application or web module level.

    If the application server configuration we are migrating uses HTTP session memory-to-memory replication that is overloaded at the application or web module level, upgrade the dmgr to the current version of WAS before you start the migration process.

For HTTP session affinity to continue working correctly when migrating Version 5.x appservers to V7.0 appservers, upgrade all of the Web server plug-ins for WAS to the latest version before upgrading the appservers that perform replication.

After you upgrade the dmgr to the latest version of WAS ND, we can only create data replication domains. Any multi-broker domains that you created with a previous version of WAS are still functional, however, we cannot use the admin console to create new multi-broker domains or replicators.

The different versions of appservers cannot communicate with each other. When migrating the servers to the current version of WAS ND, keep at least two appservers running on the previous version so that replication remains functional.

Make sure that all of your appservers that are using this multi-broker domain have been migrated to the current version of WAS before you start to migrate any multi-broker domains that exist in the configuration.

To migrate the multi-broker domains that exist in the configuration:

  1. Migrate two or more of the existing servers to the current version of WAS ND.

    The remaining servers on the previous version of WAS can still communicate with each other, but not with the migrated servers. The migrated servers can also communicate with each other.

  2. In the admin console, create an empty data replication domain..

    . Environment | Replication domains | New

    ...to create an empty data replication domain.

  3. Add two of the migrated servers to the new data replication domain.

    For example, if we are migrated four servers, only add two of them to the new replication domain.

  4. Set the two servers as consumers of the replication domain.

    Set the servers as consumers of the replication domain enables them to use the new domain to share data.

  5. Add some of the clients to the new data replication domain.

    Perform this step only if the application server configuration you are migrating uses an instance of data replication service in client/server mode.

  6. Set these clients as consumers of the replication domain.

  7. Verify that the new data replication domain are successfully sharing data.

    Only the servers and clients that are added to the data replication domain and are configured as consumers of this domain can use the data replication domain functions.

  8. Add the rest of the migrated servers to the new data replication domain.

    When the servers can use the new data replication domain to successfully share data, migrate the rest of the servers that are using the multi-broker replication domain to the new data replication domain.

    For example, if we are migrated four servers, add the remaining two servers to the new replication domain.

  9. Set these servers as consumers of the replication domain.

  10. Add the rest of the clients to the new data replication domain.

    Perform this step only if the application server configuration you are migrating uses an instance of data replication service in client/server mode.

  11. Set these clients as consumers of the replication domain.

  12. Restart all of the appservers and clients.

  13. Delete the empty multi-broker replication domain.

 

Next steps

During this process, we might lose existing sessions. However, the application remains active through the entire process, so users do not experience down time during the migration. Create a new replication domain for each type of consumer. For example, create one replication domain for the session manager and another replication domain for dynamic cache.

 

Related concepts

Data replication domains
Replication
Memory-to-memory topology: Peer-to-peer function

 

Related tasks

Replicating data across appservers in a cluster