Floating FB popout byF5debug

Windows Azure – Reimage a running Role Instance of an ASP.Net Azure Web Application

 

Introduction:

In this article we are going to see how to ReImage a running instance of an Azure application using the Windows Azure Management Portal

Overview:

In our earlier article, we have seen how to reboot a running role of an Azure application, here we are going to see how to reimage the Role instance of the azure application offline. Reimage differs based on the application we are going to reimage the role.

[more]

In Reimage its been grouped in to 2 categories as

  1. Web and Worker Role Reimage – In this type of role, Azure brings the role offline first and applies the fresh reinstallation of the Azure Guest Operating System and make the role online again
  2. VM Role Reimage – In this type of role, Azure brings the role offline, then applies the custom image which we have provided initially and then bring back the role online.

One thing we need to note down here is, any data that has been stored in the instance local directory other than that referred by the local storage instance resource will be lost when reimaging.

Let us see the step by step on how to do the editing manually using the Windows Azure Management Portal.

Steps:

Login to the management portal using the below link

http://www.microsoft.com/windowsazure/

We can see a screen like below. Select the Sign into Management portal at the top right corner

clip_image001

After selecting that sign in to management portal you will be asked for the Username and Password to authenticate the process as shown in the below screen

clip_image002

Once we gave the correct credentials and click on submit button will navigate to the main screen of the portal as shown in the below screen

clip_image003

Now click on the Hosted Services, Storage Account and CDN option in the bottom menu and then select the Hosted Services as shown in the screen below.

clip_image004

Now select the deployed application (f5Debug) as shown in the screen below. Here we can see the options like the environment on which its deployed and the DNS name to access the application etc.

clip_image005

Now once we select a particular application instance to reimage, we can see a Ribbon menu at the top named “Reimage” enabled as highlighted in the screen below.

clip_image006

Clicking on the Reimage button we get a pop up asking for a confirmation to start the reinstallation process as shown in the screen below. Click on Yes and proceed further.

clip_image007

Clicking on Yes will start the process, and we can see the status of the reimaging process as highlighted in the screen below. First it will stop the Role Instance first (Status – Stopping (Reimaging)) and then proceeds further.

clip_image008

Once the Role Instance is stopped, it prepares a node and start initializing the complete imaging process for the particular role and we can see the status as shown in the screen below.

clip_image009

Once the node is initialized it will start the role instance again to make it online and we can see the status as shown in the screen below.

clip_image010

Once the process is completed and the reimage has restored the application online we can see the status as “Ready” as shown in the screen below. Now we can access the application online.

clip_image011

Conclusion:

So in this article we have seen how to reimage an application online using the Azure management portal and the different role steps involved in the reimaging.

About Author: Karthikeyan Anbarasan, Microsoft MVP (Most Valuable Professional) in ASP.NET/IIS Architecture. He is the Founder and Chief Editor of the www.f5debug.net website and has authored books on Windows Phone and Business Intelligence(SSIS). He is also a Passionate Speaker and a Blogger on Microsoft Technologies.

You can Join Me On: Facebook, Twitter, Google Plus, LinkedIn

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Recent Posts

Random Posts

Most Viewed

URL Shortner

Create your own short urls!!!

Site Counter

free counters

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet. I have documented my personal experience on this blog.

Protected by Copyscape Web Plagiarism Finder

Site Meter