Ongoing service disruptions
For the most recent update on ongoing service disruptions affecting the AWS Middle East (UAE) Region (ME-CENTRAL-1), refer to the AWS Health Dashboard. For information on AWS Service migration, see How do I migrate my services to another region?
我的 AWS Database Migration Service (AWS DMS) 任務或 DMS 無伺服器複寫顯示「執行中但有錯誤」或「錯誤」狀態。我想要對資料表進行疑難排解並解決問題。
當 AWS DMS 無法將資料表從來源資料庫遷移到目標資料庫時,遷移任務或無伺服器複寫會顯示「執行中但有錯誤」或「錯誤」狀態。
若要疑難排解並解決這些錯誤,請完成以下步驟:
**注意:**如果您尚未建立並啟動遷移任務或無伺服器複寫,請先啟動其中一個。
若要收集指標與日誌,請安裝 Amazon CloudWatch 代理程式並啟動代理程式。
**注意:**如果您在執行 AWS Command Line Interface (AWS CLI) 命令時收到錯誤訊息,請參閱對 AWS CLI 錯誤進行疑難排解。此外,請確定您使用的是最新的 AWS CLI 版本。
若要查看遷移任務的狀態,請檢閱您任務的資料表統計資料區段。您也可以執行 describe-table-statistics AWS CLI 命令。若要查看無伺服器複寫的狀態,請檢閱您的無伺服器複寫日誌。
**注意:**在開始之前,請確認您的 AWS Identity and Access Management (IAM) 角色具備執行自動化所需的權限。如需更多資訊,請參閱 AWSSupport-TroubleshootDMSTableErrors 中的 必要 IAM 權限 一節。
請完成以下步驟:
自動化完成後,請檢閱 Outputs (輸出) 區段,並完成執行手冊的疑難排解步驟。
AWS Support Automation Workflows (SAW)
執行由 Systems Manager Automation 提供支援的自動化作業
設定 Automation
使用 AWS DMS 任務
對 AWS Database Migration Service 中的遷移任務進行疑難排解