本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
測試資料遷移
完成所有先決條件之後,您就可以使用 AWS Management Console、ElastiCache API 或 AWS CLI 驗證遷移設定。以下範例顯示使用 CLI。
使用以下參數呼叫 test-migration
命令以測試遷移:
-
--replication-group-id
– 做為資料遷移目標位置的複寫群組 ID。 -
--customer-node-endpoint-list
– 做為資料遷移來源位置的端點清單。清單應只有一個元素。
以下是使用 CLI 的範例。
aws elasticache test-migration --replication-group-id test-cluster --customer-node-endpoint-list "Address='10.0.0.241',Port=6379"
ElastiCache 將會驗證遷移設定,而不需任何實際的資料遷移。