You are here: Plan > Copy Data Policies > Create a VMware Copy Data Policy

Create a VMware Copy Data Policy

Copy VMware data including virtual machines, datastores, folders, vApps, and datacenters with snapshots using a VMware Copy Data policy. A VMware Copy Data policy consists of snapshot, mirror, and vault sub-policies defined in a Storage Workflow, each with their own set of options to give you more control of your VMware protection needs. After an initial primary snapshot is added to the workflow, additional vaults and mirrors ensure your data is replicated to multiple locations.

VMware Copy Data policies support IBM, EMC VNX, and NetApp Storage Workflows.

BEFORE YOU BEGIN:

  • Create and run a VMware Catalog Data policy that includes the providers you wish to copy. See Create a VMware Catalog Data Policy.
  • Configure a Storage Workflow. See Configure Storage Workflows.
  • Ensure the latest version of VMware Tools is installed in your environment. ECX was tested against VMware Tools 9.10.0.
  • For email notifications, at least one SMTP server must be configured. Before defining a policy, add SMTP resources. See Register a Provider.
  • Add credentials to virtual machines in a VMware environment to truncate application logs. See Add Credentials to a Virtual Machine.

CONSIDERATIONS:

  • Note that VMware Copy Data and Use Data policies only support vCenters or ESX hosts running vSphere 5.1 through 6.0.
  • Note that VMware DRS cluster datastores are supported in VMware Copy Data and Use Data policies.
  • In NetApp environments running Clustered Data ONTAP, cluster peering must be enabled. Peer relationships enable communication between SVMs. See NetApp's Cluster and Vserver Peering Express Guide.
  • In addition to NFS, ECX supports VMFS datastores for NetApp storage targets.
  • In IBM storage environments, port grouping and IP partnerships are required to enable remote copy connections. See IBM's SAN Volume Controller and Storwize Family Native IP Replication Guide.
  • All related NetApp storage resources associated with a VMware provider must be added to ECX, which include NetApp storage controllers and clusters. See Register a Provider.
  • Note that to use the log truncation feature, you must add credentials for both a SYSTEM and a SQL account in ECX as either a Local System Administrator or a Domain Administrator. See Add Credentials to a Virtual Machine. You must also provide a SQL/system login credential with "Windows authentication" mode enabled for accessing a SQL server/instance. See Microsoft's Choose an Authentication Mode article.

  • Note that VMware Copy Data policies do not support virtual machine SCSI controllers where the SCSI Bus Sharing value is set to virtual or physical.
  • Note that Instant Access recoveries utilizing the VM Copy method are not supported at the datastore level. Instant Access datastore level recoveries are supported through the primary storage snapshot method.
  • Note that snapshot protection is not supported at an ESX server level.
  • Note that cloned volumes will not be replicated through a Copy Data policy.
  • One or more schedules might also be associated with a policy. Job sessions run based on the triggers defined in the schedule. See Create a Schedule.

CONSIDERATIONS FOR VMWARE VIRTUAL VOLUMES:

  • Storage Workflows that include virtual machines stored on virtual volume (VVOL) datastores through VM Copy sub-policies are supported. Replication is supported on the VM Copy target.
  • Storage snapshots of virtual machines that reside on a VVOL are currently not supported. If a storage snapshot operation is selected for a virtual machine that resides on a VVOL, the virtual machine is skipped.

To create a VMware Copy Data policy:

  1. Click the Plan Plan tab icon tab. On the Views pane, select Policies Reports icon.
  2. Click the All Policies tab, click New New icon, then select VMware vSphere provider icon in the Copy Data column. The VMware Copy Data Policy editor opens.
  3. Click the 1: Source tab. From the drop-down menu select VMs and Templates or Storage. From the list of available sites, select one or more resources to copy as defined by the associated Storage Workflows, including virtual machines, datastores, folders, vApps, and datacenters.
  4. Click the 2. Storage Workflow tab, then select a Storage Workflow that meets your copy data criteria.
  5. Set a time to run the Storage Workflow with the Specify Activation Time trigger, then click Add to add it to the policy. To run the Storage Workflow on demand through the Monitor Monitor tab icon tab, select Manual.
  6. If configuring more than one Storage Workflow in a policy, use the Same as workflow option to trigger multiple Storage Workflows to run at the same time.
  7. Note: Only Storage Workflows with the same RPO frequencies can be linked through the Same as workflow option. Define an RPO frequency when creating a Storage Workflow.
  8. Repeat the steps above to add additional Storage Workflows to the policy.
  9. Click the 3. Options tab. Set the policy options.
  10. Maximum Concurrent Tasks
  11. Set the maximum amount of concurrent transfers between the source and the destination.
  12. VM Snapshot
  13. Enable to configure virtual machine snapshot options. Available options include creating virtual machine snapshots for all virtual machines, making all virtual machines included in the policy application or file system consistent, or making specific virtual machines included in the policy application or file system consistent. Application consistent copy data captures data in memory and transactions in process.
  14. Truncate application logs
  15. To truncate application logs for SQL during the Copy Data job, enable the Truncate application logs option. Note that credentials must be established for the associated virtual machine and SQL instance through the Providers Add Node icon pane on the Configure Configure tab icon tab. Select a VMware provider, click the VMs tab, then click the associated virtual machine. Click the Credentials tab and add credentials for the virtual machine. Note that System credentials are always required. If the credentials are the same for the SQL instance, select the Use System Credentials for app option. If the credentials differ, you must provide credentials for all SQL instances, including the default SQL server. Ensure the Type field in the New Credential dialog window is set to SQL.
  16. ECX generates logs pertaining to the application log truncation function and copies them to the following location on the ECX appliance: /data/log/ecxdeployer/<vm name>/logs.
  17. VM Snapshot Scripts
  18. VM snapshot prescripts and postscripts are scripts that can be run before or after a VMware virtual machine snapshot runs. The snapshot prescript runs before a VMware virtual machine snapshots is run, while the snapshot postscript runs after the snapshot completes. Select a virtual machine, then from the Scripts field enter individual script commands or the location of the prescript or postscript.
  19. A script can consist of one or many commands, such as a shell script. Note that external scripts must be added to the /data/userscripts directory on the ECX appliance. To invoke an external script through the Prescript and Postscript fields, enter the full path and the name of the script: /data/userscripts/<name of script>.
  20. Skip read only datastores
  21. Enable to skip datastores mounted as read-only in Vcenter.
  22. Enable Policy-Level Scripts
  23. Policy-level prescripts and postscripts are scripts that can be run before or after a policy runs. Enter individual script commands or the location of the prescript or postscript.
  24. Policy-level scripts are run at the policy-level. A script can consist of one or many commands, such as a shell script. Note that external scripts must be added to the /data/userscripts directory on the ECX appliance. To invoke an external script through the Prescript and Postscript fields, enter the full path and the name of the script: /data/userscripts/<name of script>. For information about script return codes, see Return Code Reference.
  25. Select Continue operation on script failure to continue running the policy if a command in any of the scripts associated with the policy fails.
  26. Enable Snapshot Scripts
  27. Snapshot prescripts and postscripts are scripts that can be run before or after a storage-based snapshot subpolicy runs. The snapshot prescript runs before all associated snapshots are run, while the snapshot postscript runs after all associated snapshots complete. Enter individual script commands or the location of the prescript or postscript.
  28. A script can consist of one or many commands, such as a shell script. Note that external scripts must be added to the /data/userscripts directory on the ECX appliance. To invoke an external script through the Prescript and Postscript fields, enter the full path and the name of the script: /data/userscripts/<name of script>.
  29. _SNAPSHOTS_ is an optional parameter for snapshot postscripts that displays a comma separated value string containing all of the VMware virtual machine snapshots created by the policy. The format of each value is as follows: <virtual machine name>:<volume name>:<snapshot name>.
  30. Select Continue operation on script failure to continue running the policy if a command in any of the scripts associated with the policy fails.
  31. Click the 4: Notification tab. Select the policy notification options.
  32. SMTP Server
  33. From the list of available SMTP resources, select the SMTP Server to use for job status email notifications. If an SMTP server is not selected, an email is not sent.
  34. Email Address
  35. Enter the email addresses of the status email notifications recipients. Click Add Add Node icon to add it to the list.
  36. Click the 5: Finish tab. Enter a name for your policy and a meaningful description. When you are satisfied that the policy-specific information is correct, click Finish.The policy runs as defined by your triggers, or can be run manually from the Monitor Monitor tab icon tab.

NEXT STEPS:

 


Catalogic ECX™ 2.4

© 2016 Catalogic Software, Inc. | All rights reserved. | 7/15/2016

MySupportKnowledge Base | Trademarks | info@catalogicsoftware.com