How can i monitor LSN/CSM status on DMS tasks?

0

Hello Im trying to find which boto3 call should return the SCN/LSN number being processed by a given DMS. This is important to measure the delay / keep up of DMS with the origin server Reference: https://docs.aws.amazon.com/dms/latest/APIReference/API_DescribeReplicationTasks.html cant find it in DescribeReplicationTasks calls Where can i get this information? It would be nice to get it clean, insted of looking for string filtration in the logs THanks!

1回答
1

please note scn number being processed wont be available in api calls. You should be able to get them in DMS task cloudwatch logs and also if you set task setting "StatusTableEnabled": true under ControlTableSettings you should get a target table awsdms_status with required column SOURCE_CURRENT_POSITION https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ControlTable.html

  "ControlTablesSettings": {
        "historyTimeslotInMinutes": 5,
        "ControlSchema": "",
        "HistoryTimeslotInMinutes": 5,
        "HistoryTableEnabled": false,
        "SuspendedTablesTableEnabled": false,
        "StatusTableEnabled": true,
        "FullLoadExceptionTableEnabled": false
AWS
回答済み 2年前
  • thanks for the info. Ill look closely. hopefully the AWS engieers give a look on this and make an API to collect this info instead of needing to parse strings for atomic information

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ