Description:
Im trying to get MongoDb up and running using windows azure. As they described here, they used a worker role instances to run mongod servers, and blob storage to store mongodb data.
In their code from github, they use CloudDrive
class to mount a virtual drive of the blob container. (GetMountedPathFromBlob
function in the Utilities
class in the MongoDbRole
project)
they do it like that so they can still invoke mongod
process with a --dbpath
argument.
My problem:
There is no CloudDrive
class in the new 2.x sdk anymore(deprecated). How can I do the same (mount a virtual drive) so I can invoke mongod
process correctly inside my worker role.
Suggestions: I found a class CloudBlobDirectory maybe it can resolve the probleme, or Microsoft.WindowsAzure.Storage.File Namespace. Im still reading lots of docs trying to takle this problem.
the idea is to create a virtual drive in the worker role instance, pointing to the blob container ?
Any suggestions ??
Thank you.
mongo-azure
project has not kept up with the Azure APIs. It looks like the issue you are hitting is already tracked as AZURE-72, which you could watch and/or upvote. If possible, I think a better option at the moment would be to use one of the MongoDB-as-a-Service cloud hosting partners. – Stennie