简体   繁体   English

Azure将负载均衡器迁移到标准层而无停机时间

[英]Azure migrating Load Balancer to Standard tier with no downtime

Hello I have Virtual Machine Scale Set behind Load Balancer Basic and I would like to migrate to Load Balancer Standard tier. 您好,我在Load Balancer Basic后面设置了虚拟机规模,我想迁移到Load Balancer Standard层。 Is it possible with no downtime, or do I have to simply remove backend LB pool for basic and afterwards create backend pool for my VMSS within the LB Standard? 是否有可能没有停机时间,还是我必须简单地删除基本的后端LB池,然后在LB标准内为我的VMSS创建后端池? Thank you in advance. 先感谢您。

Since you can't add multiple load balancers to VMSS, the only alternative you'd have for no downtime would be to place an alternative load balancer there for a while. 由于您不能向VMSS添加多个负载均衡器,因此您没有停机的唯一替代方法就是在其中放置替代负载均衡器一段时间。

Build an HA PRoxy box out front, configure it to load balance your apps, switch over DNS to the new IP. 在前端构建一个HA PRoxy框,对其进行配置以平衡您的应用程序,将DNS切换到新IP。 When DNS has propagated delete old load balancer, build new one. DNS传播后,删除旧的负载均衡器,构建一个新的负载均衡器。 switch back. 切换回去。

If you're using the frontend IP rather than DNS, then I can't think of a way to do this without downtime. 如果您使用的是前端IP而不是DNS,那么我想不出一种无需停机的方法。 But swapping frontend IP to a temp VM would be quicker than deleting / recreating an LB. 但是,将前端IP交换到临时VM会比删除/重新创建LB更快。

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

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