测试数据迁移 - Amazon ElastiCache
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

测试数据迁移

完成所有先决条件后,您可以使用 Amazon Web Services Management Console、 ElastiCache API 或验证迁移设置 Amazon 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 将在不进行任何实际数据迁移的情况下验证迁移设置。