I’m debugging a website that is hosted with an azure webrole. Its configured to run with two instances. Now I want to stop one of the emulator instances while debugging is this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I blogged about this a while ago: Controlling your instances in the Windows Azure Compute Emulator. At the time of writing this article, I was using version 1.7 of the SDK. I noticed that, when using SDK 1.8, killing instances when debugging did work correctly.
So if you want to scale down in the emulator you’ll need to run the following command referencing an updated ServiceConfiguration.csconf file (with Instances count = 1 instead of 2):
You can also simulate a failure on one of your instances by killing a WaIISHost.exe process.