测试数据迁移 - ElastiCache 适用于 Redis 的 Amazon

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

测试数据迁移

在满足所有先决条件后,您可以使用 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 将在不进行任何实际数据迁移的情况下验证迁移设置。