简体   繁体   English

IIS备份物理路径

[英]IIS backup physical path

I am new to IIS and currently doing a lab on company.我是 IIS 的新手,目前正在公司做一个实验室。

So I have 2 volumes, each stored the same html files that use to display the IIS web.所以我有 2 个卷,每个都存储了相同的 html 文件,这些文件用于显示 IIS web。

Is there a way to set my physical path to point up to both of their directory?有没有办法将我的物理路径设置为指向他们的两个目录? Just in case if one volume down, the other still up and keep the web alive?以防万一如果一个音量下降,另一个音量仍然上升并保持 web 活着?

If no then is there anyway for me to achieve this?如果没有,那么我有没有办法做到这一点?

I'm afraid it is impossible to do failover between two different physical paths in IIS.恐怕不可能在 IIS 中的两个不同物理路径之间进行故障转移。

If you have multiple servers.如果您有多个服务器。 You could build ARR load balancer and specify the path that you want to do failover.您可以构建 ARR 负载均衡器并指定要进行故障转移的路径。 Then if one server break down, ARR will mark it as unhealthy due to health test and request will be routed to another server with different path.然后,如果一台服务器发生故障,ARR 将由于健康测试将其标记为不健康,并且请求将被路由到具有不同路径的另一台服务器。

https://docs.microsoft.com/en-us/iis/extensions/configuring-application-request-routing-arr/http-load-balancing-using-application-request-routing https://docs.microsoft.com/en-us/iis/extensions/configuring-application-request-routing-arr/http-load-balancing-using-application-request-routing

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

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