Migrate Events Service Data Using the Load Balancer
The time required to migrate from Events Service 4.5.x to 23.x may vary depending on the data volume. Hence, we recommend that you migrate delta data and metadata in multiple iterations to ensure minimal post cutover data on Events Service 23.x.
Before You Begin
Before you use the migration utility:
- Download
analytics-on-prem-es2-es8-migration-LATESTVERSION-exec.jar.- Install Enterprise Console 23.8.0. See Install the Enterprise Console.
- Extract the events-service.zip file.
- Navigate to events-service/bin/migration to use the migration utility jar.
- Install JDK 17 and SQLite 3.x on your machine where you have downloaded the migration utility. SQLite helps you to monitor the migration status.
Prepare Events Service 4.5.x Data for Migration
Migrate Events Service Data Using the Cutover Strategy
The migration utility first migrates the existing Events Service data from Events Service 4.5.x to 23.x cluster. When any data or metadata is collected in the Events Service 4.5.x cluster during migration, the migration utility does the following:
- Uses the timestamp to identify the delta data or metadata.
- Copies the delta to the Events Service 23.x cluster.
- Ensures that new data and metadata flows to the Events Service 23.x cluster.
- Load balancer 1 (LB1) points to Events Service 4.5.x nodes.
- Load balancer 2 (LB2) points to Events Service 23.x nodes.
- Controller, EUM, and Agents point to LB1.
You can use one of the following migration approaches based on your requirement:
- Approach 1 - Use Two Load Balancers with Simple Cutover Steps (Recommended) - This approach requires you to specify IP address of the Events Service 4.5.x node to migrate data after cutover.
- Approach 2 - Use Two Load Balancers with Detailed Cutover Steps- This approach requires you to specify IP address of LB1 and LB2 to migrate data after cutover. So, you must add the Events Service 4.5.x cluster to the load balancer after cutover.
Approach 1 - Use Two Load Balancers with Simple Cutover Steps (Recommended)
This approach requires two load balancers. After cutover, it requires you to specify IP address of the Events Service 4.5.x node to migrate data.
Approach 2 - Use Two Load Balancers with Detailed Cutover Steps
This approach requires two load balancers. After cutover, it requires you to specify IP address of LB1 and LB2 to migrate data after cutover.
The Events Service 23.x cluster is now synchronized. Verify the Migration status and if the migration is successful, you may decommission the Events Service 4.5.x cluster.
Migrate Events Service Data with a Rollback Option
The cutover strategy does not provide a rollback option. To roll back the migration, you must use the mirroring strategy. This strategy replicates the latest data to the Events Service 4.5.x cluster while ingesting the latest data to Events Service 23.x cluster. Later, you can decide whether to use Events Service 23.x cluster or roll back to the Events Service 4.5.x cluster.
- Add the Events Service 4.5.x cluster to LB1.
- Remove NGINX web server from LB1.
To continue using the Events Service 23.x cluster after migration, perform the following:
- Add the Events Service 23.x cluster to LB1.
- Remove NGINX web server from LB1.
The Events Service 23.x cluster is now synchronized. Verify the Migration status and if the migration is successful, you may decommission the Events Service 4.5.x cluster.