Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于双向备份的问题 #57

Open
GoogleCodeExporter opened this issue Sep 5, 2015 · 2 comments
Open

关于双向备份的问题 #57

GoogleCodeExporter opened this issue Sep 5, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

需求:
有A和B两个服务器,需要同步一个网站目录。
平时使用A服务器,B作为备份,
但要是A服务器挂了,立马切换到B服务器上使用。
当在使用B服务器的时间内,所上传的文件资料都需要同步到A
上,
以备日后切换回A服务器上使用。

实施:
分别在A和B服务器上都安装和配置好sersync、rsyncd,
已经可以实现需求的效果了。

问题:
1、安装两个sersync作为双向同步这方案有否效率问题?
感觉A同步到B后,B还会向A检测一次,导致流量增大或效率降�
��。

2、除了sersync,大家有更优的其他方案吗?

Original issue reported on code.google.com by [email protected] on 26 Aug 2011 at 8:32

@GoogleCodeExporter
Copy link
Author

我也正困惑这个问题。

Original comment by tsovnet on 25 May 2013 at 4:17

@GoogleCodeExporter
Copy link
Author

试试DRBD

Original comment by [email protected] on 24 Sep 2013 at 3:08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant