Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3877508
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:30:21+00:00 2026-05-19T22:30:21+00:00

I have 2 Windows Azure Worker Roles, and 1 Cloud Drive VHD (for Lucene.NET

  • 0

I have 2 Windows Azure Worker Roles, and 1 Cloud Drive VHD (for Lucene.NET documents). At the moment, the first worker role gets the VHD, and the second one constantly tries to mount the VHD (which fails if the other one has it) and only if it succeeds, does it go into the run section of the worker role…

There are a couple of problems i can see with this already though: i manually unmount the drive in the OnStop method, which unlocks the drive for later use… but if the OnStop method does not get called, my drive is now unmountable by both systems… Secondly, my second instance is constantly listed as “not ready” and azure after a while thinks this is odd.. And finally, even though the instance is “not ready”, it is still showing up in the instance list…

Has anyone done anything like this before and have any tips on what i should do to get around this problem? I would like to have a fail over search server, since my front end depends on it, and waiting on Azure to kick up a new instance (5-15 min) will not stand.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T22:30:21+00:00Added an answer on May 19, 2026 at 10:30 pm

    If OnStop isn’t called, the lease on the page blob (the VHD backing the Windows Azure Drive) won’t be renewed anymore, which means it will expire after 60 seconds.

    If your instance is listed as “Busy,” your code probably hasn’t returned from OnStart. Make sure whatever loop you have trying to mount the Drive is in Run(), not OnStart().

    Yes, the instance should show up if you enumerate instances. If you’re trying to keep track of which instance has the Drive mounted, I would suggest having that role instance write its ID to a blob or table somewhere. When the failover happens, the new instance will overwrite that ID.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Windows Azure web role that contains a web site using ASP.NET
We have an windows Azure web role (typically ASP.NET application) with client side J-queries
I am using a worker role in windows azure for sending emails. I have
I have a Windows Azure Virtual Machine. I am able to view my ASP.Net
We have a Web Role that we are hosting in Windows Azure that uses
I'm making my first application in Windows Azure and I have some problem. This
I have already knowledge of windows azure and worked on cloud service,storage & WASD,
How many worker roles and web roles can you have per Azure subscription? a.
I have an azure worker role which I have configured to use a log4net
I have an ASP.NET application that is deployed in Windows Azure. The application has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.