Azure的虚拟机之间共享驱动器 [英] Shared drive between Azure Virtual Machines

查看:103
本文介绍了Azure的虚拟机之间共享驱动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚搬进了我的网站到Azure的虚拟机,并​​已启动运行以来的最后一个周末。到目前为止,我很满意的结果,并期待着在适当的时候采取进一步天青优势。

I have just moved my web site to an Azure Virtual Machine and have been up and running since last weekend. So far I'm very happy with the results and looking forward to taking advantage of Azure further in due course.

我有什么似乎是一个pretty常见的情况 - 而且,出乎我的意料,我无法找到一个显而易见的解决方案。我有几个虚拟机 - 我的一个主服务器,而另一个将被暂停,并准备踢(手动是罚款),如果第一个有问题。备份我的网站Azure存储(我的备份实用程序支持保存到Azure的BLOB)。这是个好消息。

I do have what would seem to be a pretty common scenario - and, to my surprise, I can't find an obvious solution. I have a couple of VMs - one my primary server and the other which will be suspended and ready to kick in (manually is fine) if the first one has an issue. I backup my web site to Azure Storage (my backup utility supports saving to an Azure blob). That's the good news.

我曾以为,我可以以某种方式装入存储BLOB作为一个驱动器,因此有效地具有跨两个虚拟机共享存储。然而,出乎我的意料,我还没有发现一个明显的方式做到这一点。我发现了一个第三方工具(Gladinet云桌面),但它似乎十分缓慢。正如我说的,我承认我只是认为这将是一件容易的事。

I had assumed that I could somehow mount the storage blob as a drive, therefore effectively having shared storage across the two VMs. However, to my surprise, I haven't found an obvious way to do that. I have found a third party utility (Gladinet Cloud Desktop) but it seems painfully slow. As I say, I admit I just assumed this would be an easy thing to do.

所以,退一步,什么是从多个虚拟机访问存储BLOB最直接的方法是什么?我真的不希望建立一个专用网络,然后设置网络文件共享 - 这似乎让老同学:),并放在一个特定的虚拟机特定的依赖

So, stepping back, what is the most straightforward way to access a storage blob from multiple VMs? I really don't want to set up a private network and then set up network file sharing - that seems so old school :) and places a specific dependency on one specific VM.

有什么建议?

感谢。

推荐答案

这是现在不仅是可能的,但很容易,它看起来就像一个文件系统。检查出新的Azure文件服务(以preVIEW写这篇文章的)。

This is now not just possible, but very easy, and it looks just like a filesystem. Check out the new Azure File Service (in preview as of this writing).

<一个href=\"http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx\">http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx

从公告引用:

Azure的文件服务公开使用标准的SMB 2.1协议的文件共享。在Azure中运行的应用程序现在可以轻松地使用标准和熟悉的文件系统的API,如ReadFile的和WriteFile虚拟机之间共享文件。

"The Azure File service exposes file shares using the standard SMB 2.1 protocol. Applications running in Azure can now easily share files between VMs using standard and familiar file system APIs like ReadFile and WriteFile."

这不仅仅是一个SMB驱动器更好,因为在宣布继续提到:

It is better than just an SMB drive, as the announcement goes on to mention:

此外,该文件也可以在同一时间通过REST接口,打开各种混合的场景访问。最后,Azure的文件是建立在相同的技术的Blob,表和队列服务,这意味着Azure的文件能够充分利用现有的可用性,耐用性,可扩展性和地理内置在我们的平台的冗余。

"In addition, the files can also be accessed at the same time via a REST interface, which opens a variety of hybrid scenarios. Finally, Azure Files is built on the same technology as the Blob, Table, and Queue Services, which means Azure Files is able to leverage the existing availability, durability, scalability, and geo redundancy that is built into our platform."

这篇关于Azure的虚拟机之间共享驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆