简体   繁体   English

当目标主机不可用时,LSYNC不起作用

[英]LSYNC don't work when a destination host is unavailable

Is it possible that lsyncd keeps working when a destination node is unavailable on the network? 当目标节点在网络上不可用时,lsyncd是否有可能继续工作? I need to sync folders on different servers, but these servers are in an Azure Availability set (autoscale ec2 on AWS), so they can be turned on or off according to the load on my application and lsyncd. 我需要在不同服务器上同步文件夹,但是这些服务器位于Azure可用性集中(在AWS上为自动缩放ec2),因此可以根据我的应用程序和lsyncd上的负载来打开或关闭它们。

I cannot use a file share for these folders because there are a lot of micro-files. 我无法为这些文件夹使用文件共享,因为有很多微文件。

Thanks in advance for your help. 在此先感谢您的帮助。

https://axkibe.github.io/lsyncd/manual/config/file/ https://axkibe.github.io/lsyncd/manual/config/file/

According to the manual, you can start with 'insist' to allow lsyncd to startup without all of the destinations being available 根据手册,您可以从“ insist”开始,以允许lsyncd启动,而没有所有目标可用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM