-
Notifications
You must be signed in to change notification settings - Fork 30
Traffic Capture Verification
Peter Nied edited this page Sep 19, 2024
·
6 revisions
This guide will describe how once the traffic capture proxy is deployed the captured traffic can be verified.
- Navigate to Migration ECS Cluster in AWS Console
- Navigate to Capture Proxy Service
- Verify > 0 desired count and running
- if not, update service to increase to at least 1 and wait for startup
- Within "Load balancer health" on "Health and Metrics" tab, verify all targets are reporting healthy
- This means the ALB is able to connect to the source cluster through the capture proxy
- Navigate to the Migration Console Terminal
- Execute
console kafka describe-topic-records
- Wait 30 seconds for another elb health check to be recorded
- Execute
console kafka describe-topic-records
again, Verify RECORDS increased between runs - Execute
console replay start
to start the replayer - Run
tail -f /shared-logs-output/traffic-replayer-default/*/tuples/tuples.log | jq '.targetResponses[]."Status-Code"'
to confirm that the Kafka requests were sent to the the target and that it responded as expected... If responses don't appear- check that the migration-console can access the target cluster by running
./catIndices.sh
, which should show indices on the source and target. - confirm that messages are still being recorded to Kafka.
- check for errors in the replayer logs ("/migration/STAGE/default/traffic-replayer-default") via CloudWatch
- check that the migration-console can access the target cluster by running
- (Reset) Update Traffic Capture Proxy service desired count back to original value in ECS
If the source cluster is configured to require authentication the capture proxy will not be able to verify beyond receiving 401/403 status code for ALB healthchecks
Verify the Source Cluster allows traffic ingress from Capture Proxy Security Group.
Look for failing tasks by navigating to Traffic Capture Proxy ECS Tasks. Change "Filter desired status" to "Any desired status" in order to see all tasks and navigate to logs for stopped tasks.
Encountering a compatibility issue or missing feature?
- Search existing issues to see if it’s already reported. If it is, feel free to upvote and comment.
- Can’t find it? Create a new issue to let us know.
- Migration Assistant Overview
- Is Migration Assistant Right for You?
- Existing Data Migration - Quick Start Guide
- A. Snapshot Creation Verification
- B. Client Traffic Switchover Verification
- C. Traffic Capture Verification
- D. System Reset Before Migration