Currently Being Moderated

Copy offload provides a mechanism to perform full-file or subfile copies between two directories residing on remote servers, where the server can be the same or different. Here, the copy is created by copying data between the servers (or the same server if both source and destination files are on the same server) without the client reading the data from the source and writing to the destination.

 

This reduces the client/server processor/memory utilization and minimizes network I/O bandwidth. With Windows Server 2012, Microsoft introduces a copy offload mechanism, which allows you to offload the activity of copying files between two servers to the storage system.

 

Data ONTAP SMI-S 5.1 supports ODX with the System Center 2012 R2, Windows Server 2012 and clustered Data ONTAP 8.2.1.

 

In the below scenario, we deploy VMs from a virtual hard disks (VHD and VHDX) placed on an SMB share to a Hyper-V over SMB infrastructure. Source and destination shares must be on the same volume for faster ODX performance (uses sis-clone engine). You create template on source share and provision VMs on the destination share. Source (Library) and destination (LUN/Share) should be in the same pool (FlexVol volumes in our case) for better efficiency.

 

Untitled.png

 

On the SCVMM console, create two file shares, attach one of the file share to the SCVMM library server and the other to the Hyper-V host, for more details on how to create CIFS file share refer to one of my previous blog posts Data ONTAP SMI-S Agent 5.1 - Use NetApp SMI-S Provider to Provision a CIFS Share for SMB 3.0 Environments (Windows Server 2012) using SCVMM 2012 R2

 

Untitled.png

 

Right-click the Library server and add one of the cifsshare listed in the preceding section as a library share, copy the desired VHD to the library share and click Refresh, the VHDX file appears.

 

Untitled.png

Next In the SCVMM console, click VMs and Services, and then right-click the cluster name and select its Properties.

 

Untitled.png

Click File Share Storage and add the desired CIFS share to be used as a file share storage.

 

Untitled.png

 

Next provision VMs from the VHD residing on the CIFS library share to the Hyper-V clusters file share storage. During the provisioning process, the deploy file section gets highlighted (Using Fast File Copy), which means ODX-based copy is being used.

 

Fast file copy in System Center 2012 R2 Virtual Machine Manager greatly improves the time performance of file transfers and virtual machine deployments, mostly by leveraging the Windows ODX feature.

 

Untitled.png

Similarly we can migrate VM storage across CIFS SMB 3.0 shares and CSV's hosted on Clustered Data ONTAP 8.2.1 and leverage ODX for fast copy process. Also note that SCVMM 2012 R2 currently does not have the capability to show that ODX is being used in VMM Job details, it appears as a normal migration process.

 

As you can see i initiated a live migrate of VM's between SMB 3.0 shares and the migration type does not list the migration type as “fast file copy”, although it does show this during VM provisioning.

 

Untitled.png

 

 

 

I hope that you have enjoyed this blog entry and have found this information helpful.

 

Good Luck!

 

Thanks,

Vinith

 


Comments

Filter Blog

By author:
By date:
By tag: