【发布时间】:2017-09-21 06:15:37
【问题描述】:
我们在一个 VPC 中有 4 个独立的非多可用区 aurora 数据库实例,我们希望将它们移动到另一个 VPC 中的 aurora 实例。
据我了解,迁移数据库实例有 3 种方法:
1) 修改数据库实例的子网组以更改 VPC。
However this is not supported for Aurora instances yet.
2) 创建一个只读副本,当从属赶上时,停止从属并对其进行快照以在不同的 VPC 中创建一个数据库实例并使用外部从属然后再次恢复复制。
I have a few question around this second method. As Aurora is using some different
replication method, the result of show slave status; command is empty.
Also by default the binlog_format is OFF so not sure if I have to modify it and
then restart the instance to take note of the binlog etc.
Have anyone done this before and can guide me? I don't want to restart the instance
to later find out that it is not working, as it is a very critical DB and I want to
minimize the downtime.
3) 使用 Amazon DMS 服务,但是我在文档 here 中找不到 Aurora 的源数据库详细信息。
I need to find out what all permissions to give to the replication user
I'll create for this. This command in aurora is not working,
GRANT REPLICATION CLIENT, REPLICATION SLAVE ON . TO 'replication_user'@'%'
IDENTIFIED BY 'aaaaaa';
任何帮助将不胜感激。
【问题讨论】:
-
在这篇文章中你还有什么想要的吗?
标签: amazon-web-services amazon-rds amazon-aurora