大网数据广告活动
服务器运维问答

How to add new slave server to existing Mysql master slave replication

· 52CE 我爱测

I have a Mysql Master server and Slave replication on Amazon Ec2 instance. Currently need to add new slave server to this loop. I can take AMI of existing slave server and spin new slave server. How to add new slave server to exi…

问题原文

原帖链接 · adminz · CC BY-SA 3.0

I have a Mysql Master server and Slave replication on Amazon Ec2 instance. Currently need to add new slave server to this loop. I can take AMI of existing slave server and spin new slave server.

How to add new slave server to existing slave server with out making any changes to Master server.

How to configure new slave server writeable like accept new tables

已采纳解答

原帖链接 · jerichorivera · CC BY-SA 3.0

You can follow the steps here - https://www.percona.com/doc/percona-xtrabackup/2.4/howtos/setting_up_replication.html#adding-more-slaves-to-the-master

Regarding: how to configure new slave server writable. I hope you mean only receive replication events from the master. As much as possible you don't want the slave to be writable to avoid data inconsistencies unless you really know what you're doing :)

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-03-19)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。