wesupport

Need help?

Our experts have had an average response time of 13.14 minutes in February 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Enable monitoring for an AWS DMS task

by | Jul 30, 2021

Wondering how to enable monitoring for an AWS DMS task? We can help you.

Here, at Bobcares, we assist our customers with several AWS queries as part of our AWS Support Services.

Today, let us see how our Support Techs assist with this AWS query.

 

How to enable monitoring for an AWS DMS task?

 
Generally, you can use Amazon CloudWatch logs to monitor the progress of your DMS task, the resources used, and the network activity used.

You can monitor an AWS DMS task by using the AWS DMS console, the AWS Command Line Interface (AWS CLI), or the AWS DMS API.

Today, let us see the steps followed by our Support Techs to enable monitoring.

Enable task logging

To modify a DMS task, the task must be in a stopped or failed state.

  1. Firstly, open the AWS DMS console, and then choose Database migration tasks from the navigation pane.
  2. Select your task, choose Actions, and then choose Modify.
  3. From the Task Settings pane, choose Enable CloudWatch logs.
  4. Finally, choose Save.

 

Check the task’s progress

 

  1. Firstly, open the AWS DMS console, and then choose Database migration tasks from the navigation pane.
  2. Then, choose the name of the task that you want to monitor.
  3. From the Table Statistics section, review the values in the columns for Tables loaded, Tables loading, Tables queued, and Tables errored.

 

View the Amazon CloudWatch logs

 

  1. Open the AWS DMS console, and then choose Database migration tasks from the navigation pane.
  2. Then, choose the name of the task that you want to review.
  3. From the Overview details section, choose View logs.

 

View the Amazon CloudWatch metrics

 

  1. Open AWS DMS console, and then choose Database migration tasks from the navigation pane.
  2. Then, choose the name of the task you want to monitor.
  3. From Migration task metrics, view the metrics for your task.
  4. Check the metrics for CDCLatencySource and CDCLatencyTarget during the CDC phase of the task to identify potential latency in the source or target.

 

View the metrics for a replication instance

  1. Open the AWS DMS console, and then choose Replication instances from the navigation pane.
  2. Choose the name of the replication instance in use.
  3. From the CloudWatch metrics tab, review the metrics for CPU utilization, freeable memory, free storage space, and SWAP usage.

 

Use advanced settings

 

  1. Open the AWS DMS console, and then choose Database migration tasks from the navigation pane.
  2. Select your task, choose Actions, and then choose Modify.
  3. Expand Advanced task settings.
  4. In the Create control table in target using schema field, enter the name of your schema on the target database where AWS DMS can create its control tables.
  5. In the History timeslot (minutes), enter the amount of time you want each history record to stay in the replication history table.
  6. Then in the Enable control table section, for Apply Exceptions, awsdms_apply_exceptions is always enabled.

 

[Need help with the process? We’d be happy to assist you]

 

Conclusion

To conclude, here we saw how our Support Techs enable monitoring for an AWS DMS task.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags