How does “simultaneous” mode work when changing Azure role instance count only?

五迷三道 提交于 2019-12-24 14:43:08

问题


I'm staring into description of Change Deployment Configuration Azure Management Service operation. There's Mode element which can be set to Simultaneous.

Suppose I only want to change instance count for a specific role. AFAIK the only way to do that is to obtain the current deployment configuration (using Get Deployment operation), locate the role in the obtained XML, locate the attribute responsible for instance count, change that attribute and then use the altered configuration in Change Deployment Configuration operation.

Suppose I also set Mode to Simultaneous. What will be the difference compared to default?


回答1:


When a configuration change happens (either a normal config change of a config setting, or a scale change) the Azure fabric will walk the upgrade domains one at a time and apply the configuration setting. With simultaneous upgrade the Azure fabric will apply the configuration change to all instances in all upgrade domains at the same time.

Services which cancel the RoleEnvironment.Changing event in order to recycle the instance during a config change will experience an entire service outage if the mode is set to simultaneous.

See http://blogs.msdn.com/b/kwill/archive/2013/12/07/topology-blast-send-topology-change-updates-to-all-instances-at-once.aspx for more information.



来源:https://stackoverflow.com/questions/29773353/how-does-simultaneous-mode-work-when-changing-azure-role-instance-count-only

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