Steps to move data to Microsoft Azure

Source: Internet
Author: User
Keywords Azure azure transfer of information
Http://www.aliyun.com/zixun/aggregation/13460.html ">microsoft Azure Archives Service is a cloud-based platform based archival service and provides SMB2.1 protocol, Allows users to share files through the cloud. Applications on Azure can now easily share files between virtual machines, using familiar file system APIs such as ReadFile and WriteFile. In addition, these files can also be accessed through the REST API to enable them to apply more context. Like the existing other storage services such as Blob, Table, Queue Services, Azure Archive services have the characteristics of a cloud platform that is scalable, highly reliable, and geographically replica-ready.   Transfer data   When you start using Azure file services, you may need to move a large amount of existing data into Azure archive services, depending on where your data is placed, and this article will then describe several ways to get the most out of your performance.   1. Through the Internet to the existing computer room files to the Azure   You can use the Azcopy tool provided by Microsoft Azure to copy files, Azcopy optimize the operations of the copy files to achieve the best performance (for example: parallel uploads, multithreading, handling traffic transfer, and so on). The command line operation format for   Azcopy is as follows:   azcopy <source path> <destination url> [optional filespec]/s/destkey:< Yourkey> parameter   Source path is the file path to copy   destination URL refers to the destination directory URL to be replicated   filespec can be any file filter criteria (Preset is *.*)   Yourkey is the key to your memory account  /s is an option to copy the entire directory, including the contents of the subdirectory   Azcopy There are many other command-line parameters, you can choose to use according to your needs, about Azcopy The details can refer to this blog article.   Below is an example of copying content from the E:\data directory to Azure Archive service:   azcopy C: \data https://myaccount.file.core.windows.net/myshare *.*/s/destkey:mystorageaccountkey   2. From Azure IaaS virtual machine disks to Azure Archive services   using Azure virtual machines as file servers, the Azure archive service should be attractive because it eliminates the need to manage your own file servers.   To transfer files to Azure Archive services, you need to:   Connect disk drives in virtual machines Mount Azure Archive service use Robocopy to replicate files Robocopy is a free and powerful replication tool on Windows that handles the replication of large files. The format of the   command-line tool is as follows:   Robocopy <source path> <dest path> [optional filespec]/mir/mt:16 parameter:   Source Path is the file path to copy   Dest path refers to the target directory path to replicate   filespec can be any file filter (Preset is *.*)   MT is the number of threads used   when using Robocopy, You can use the "MT" parameter to increase productivity, which allows you to use multithreading to handle file replication and to control the queue depth of IO processing. If you have too few threads, you may not be able to fill the queue, but you can take advantage of the parallel architecture of Azure storage, and if there are too many threads, there may be a problem where the server-side transfer switching is too frequent and the transmission efficiency is reduced. Under our tests, the best number of threads is the maximum performance from 16 to 32.   methods to avoid   we found that although the use of Xcopy or file Explorer can be used to handle the copying of large files to Azure archive services, and to perform well under NTFS file systems, these tools lack sufficient parallel processing capabilities due to Azure File services provide high parallel I/O processing, so using tools such as robocopy and multi-threaded processing will result in better transmission efficiencies to save time on data transfer.   3. From Azure BLOBs to azure Archive services   from Azure BThe quickest way for a lob to move data to Azure files is to use Azcopy, and you can build a virtual machine on the same data center as the Azure file service to replicate.   Underneath is a command operation that passes data from an azure Blob to the Azure Archive service:   azcopy Https://myaccount1.blob.core.windows.net/mycontainer z:\ Mydirectory *.*/sourcekey:mystorageaccountkey (Here we assume the Azure archive service is connected to the Z disk drive)   Under this method, the data will be downloaded to the virtual machine before it is uploaded to Azure. File service.   4. From Cloud Drive to Azure disk   Cloud Drive preview released in 2010, it allows users to use Azure cloud services to mount a page blob as a Web or Worker role disk drive. After the Azure Archives service is released, it can almost replace all the Cloud Drive application situation, but also has the better function and the efficiency. At the same time, Cloud Drive will stop service in 2015, so we recommend that users who use Cloud Drive can transfer data to Azure file services. The removal method is similar to using VHDs to move data from an Azure virtual machine.   mount a blob using Cloud Drive the Azure file service is mounted as a disk drive in the virtual machine. (Refer to this blog article) use Robocopy to copy files. We hope that these methods will help you migrate your data to Azure archive services and provide your new application scenarios to meet your business needs.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.