Search the VMware Knowledge Base (KB)
View by Article ID

Cloning or deploying from a template takes longer time after upgrading to VMware vSphere 5.1 Update 2 and 5.5 (2084819)

  • 20 Ratings

Symptoms

  • Cloning and/or deploying from a template takes significantly longer time.
  • All the cloning and/or deploying from a template tasks occur on the ESXi host where the source virtual machine or template is registered after upgrading vSphere 5.1 Update 2 or 5.5.
  • Cloning and/or deploying from a template transfers data through the network, even though the selected destination ESXi host has access to both source and destination data stores.

Cause

This issue occurs because:
  • There are changes to the way virtual machine files are copied when cloning or deploying from a template in vSphere 5.1 Update 2 and 5.5.
  • During cloning or deploying a virtual machine from one ESXi host to another, the transfer process no longer considers the destination's storage configuration when making decisions about which ESXi host will run the file copy.
  • The file copy process will use the source ESXi host to transfer the data, regardless of whether the storage is considered local to the destination ESXi host.
  • The source ESXi host performs a file copy across the network, as opposed to using local copy methods, causing possible performance decreases that were not seen in previous vSphere versions.

    Use this example configuration:


  • Cloning a virtual machine from ESXi Host A to ESXi Host B, from a Shared Storage to Local Storage, will use ESXi Host A to copy the virtual machine data over the network from Shared Storage to Local Storage on ESXi Host B.
  • In previous vSphere versions this data would have been copied by ESXi Host B locally from Shared Storage to Local Storage.

Resolution

This issue is resolved in:

After applying the update, apply the Advanced setting using one these methods for version 5.1:

In VMware Infrastructure Client (VI Client), 
  1. Navigate to Administration > vCenter Server settings > Advanced Settings
  2. Click Edit.  
  3. Set Key to nfc.copyFromDestination 
  4. Set Value to true 
  5. Click Add.  
  6. Click OK.

In vSphere Client and vSphere Web Client, 

  1. Navigate to vCenter Server >Manage > Advanced Settings.  
  2. Click Edit.  
  3. Set Key to nfc.copyFromDestination 
  4. Set Value to true 
  5. Click Add.  
  6. Click OK.

The data copied by ESXi Host B locally is from Shared Storage to Local Storage when this parameter is set to true. If the parameter is set to false the ESXi Host considers source host to initiate copy.

Additional Information

For more information, see Poor performance while deploying virtual machines over the network (2052302).

Note: VAAI does not work at the virtual machine deploy / clone operation over the network.

Tags

slow, transfer

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 20 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 20 Ratings
Actions
KB: