Azure VIP Swap to different number of end points

六月ゝ 毕业季﹏ 提交于 2019-12-25 09:34:48

问题


I'm trying to replace a hosted service with an empty redirect project, however when I try to do so I get the following error;

Windows Azure cannot perform a VIP swap between deployments that have a different number of endpoints.

I believe the only solutions available to me are the following;

  1. Point DNS to the staging deployment which after 48 hours of propagation delete the production instance and change my DNS to a new deployment of the empty redirect project.
  2. Delete the production instance and then immediately flip staging. This will of course result in downtime.

Unfortunetly changing DNS records isnt an option for me at this stage so unless anyone can suggest an alternative I will have to go with Point #2.

Although my only query with this is once I delete production and flip staging will the new production instance retain the old IP as like I said above im unable to change the DNS records.

Thanks, any queries let me know.


回答1:


I resolved this issue by adding the additional endpoints to staging through another deployment. Although the application will never use them it allowed me to deploy without downtime.

Alternative solutions are included in my question.




回答2:


Once the current deployment in the Production slot is deleted, the IP address should be allocated back to the pool (not available to you).




回答3:


To spare you the hassle of re-deploying and extra 15 min of wait,

you could do it within a minute by deleting PRODCTION slot (if it's applicable !), then you'll do a VIP Swap from PROD: Empty STAGING : Your deployment

"OK Deleted the production deployment of cloud service od..."

and end up having

"Successfully swapped the deployments in cloud service od..."

Vincent Thavonekham




回答4:


This often is a result of having RDP (remote desktop) enabled in one slot but not the other. RDP creates additional endpoints, thus the error message. You can either (a) enable RDP on the one that doesn't have it or (b) disable RDP on the one that does have it. The VIP swap should then work.



来源:https://stackoverflow.com/questions/13713665/azure-vip-swap-to-different-number-of-end-points

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!