.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> ASP.NET >> Post New Resource Bookmark and Share   

 Subscribe to Articles

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

Posted By:Karthikeyan Anbarasan       Posted Date: July 13, 2011    Points: 200    Category: ASP.NET    URL: http://www.dotnetspark.com  

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

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. 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



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



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



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.

2011-07-12 06h52_37_thumb_thumb

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.

2011-07-12 06h50_19_thumb[1]_thumb

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.

2011-07-12 07h26_30

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.

2011-07-12 07h27_14

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.

2011-07-12 07h28_01

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.

2011-07-12 07h32_46

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.

2011-07-12 07h34_22

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.

2011-07-12 07h36_11

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.

 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend