Web 服务器用作文件存储 - 如何即兴发挥?
我正在为托管在生产 Web 服务器上的 Web 应用程序制定灾难恢复计划。现在,Web 服务器还充当文件存储,用于存储提要上传文件(由 Web 应用程序用作输入)和报告文件(Web 应用程序处理的输出)。现在,如果Web服务器出现故障,文件数据也会丢失,因此需要设计一个解决方案并给出消除这种单点故障的建议。 我想到了以下一些建议 - 1)使用单独的文件服务器,但它需要新的资源 2) 附加安装在 Web 服务器上的数据卷,该数据卷映射到可用于存储提要和报告的某个网络文件管理器(网络存储)。如果 Web 服务器出现故障,可以安装网络文件管理器并将其连接到应急 Web 服务器。 3) 还有一个负载平衡的 Web 服务器,但当前未用作文件存储,如果我们可以实现一项功能,定期将文件数据备份到负载平衡的第二个 Web 服务器,我们可以开始使用它,以防第一个 Web 服务器出现故障。备份可以通过备份脚本、单独的 Windows 服务或一些用于每晚安排备份作业的调度作业来完成。
请帮助我查看上述内容或提出新的建议,以帮助消除 Web 服务器上的单点故障问题。会受到高度赞赏吗? 问候 卡皮尔
I am making a DR plan for a web application which is hosted on a production web server. Now that web server also acts as a file storage for storing the feed uploads files (used by the web application as input) and report files( output of web application processing). Now if the web server goes down , the files data is also lost, so need to design a solution and give recomendations which eliminates this single point of failiure.
I have thought of some recommendations as follows-
1) Use a seperate file server however it requires a new resources
2) Attach a data volume mounted on the web server which is mapped to some network filer ( network storage) which can be used to store the feeds and reports. In case the web server goes down , the network filer can be mounted and attached to the contingency web server.
3) There is one more web server which is load balanced however that is not currently being used as file storage , and if we can implement a feature which takes the back up of the file data regularly to that load balanced second web server , we can start using that incase the first web server goes down. The back up can be done through a back up script, or seperate windows service , or some scheduling job for scheduling the backup job every night.
Please help me to review above or suggest new recommendations to help eliminate this single point of failiure problem on the web server. It would be highly appreciated?
Regards
Kapil
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已成功使用 Amazon 的 S3 来存储 Web 和非 Web 应用程序的“输出”数据。从单点故障的角度来看,使用此类服务是有益的,因为同一服务器或完全不同的数据中心中该 Web 应用程序的任何其他实例或不同类型的客户端仍然可以访问相同的服务输出文件。另一个类似的选项是Rackspace 的 CloudFiles。
这两个服务都非常冗余,您可以将它们用作后端,并将主存储保留在您的服务器上,或者将它们用作主存储并在其他 Web 服务器上保留备份。有很多选择!希望这个信息有帮助。
I've successfully used Amazon's S3 to store the "output" data of web and non-web applications. Using a service like that is beneficial from the single-point-of-failure perspective because then any other instance of that web application, or a different type of client, on the same server or in a completely different datacenter still has access to the same output files. Another similar option is Rackspace's CloudFiles.
Both of these services are very redundant, and you could use them as the back, and keep the primary storage on your server, or use them as the primary and keep a backup on your other web server. There are lots of options! Hops this info helps.