Basic Configuration - SnapProtect for VMware
Once the Virtual Server Agent is installed on a computer or a virtual machine, create a vCenter client and a subclient to back up virtual machines in a vCenter.
Ensure that vCenter permissions are configured as described in Permissions for Custom User Accounts.
Ensure that names of virtual machines and datastores do not contain the following special characters:
+ & @ % = # % * $ # ! \ / : * ? " < > | ; '
The following sections provide the necessary steps to configure a subclient to perform the SnapProtect backup of a single virtual machine:
From the CommCell Browser, right-click Client Computers node and select New Client | Virtualization | VMware vCenter.
- Enter the vCenter Host Name.
Enter the username and password associated with the Virtual Center.
Click Add to select a proxy for backup.
- Select a proxy from the Exclude list.
The list displays all clients that have the Virtual Server Agent installed and all client groups. You can select one or more clients or client groups. When you select a client group, ensure that at least one client in the group has the Virtual Server Agent installed.
When you are creating a VMware vCenter client for an SnapProtect backup, select only one proxy.
Click Include or Include All.
If you select multiple proxies while configuring the VMware vCenter client, only the first proxy (coordinator) will be used to perform the backup. If the first proxy is not available, the next available proxy in the list will be used to perform the backup.
Ensure the following when you select proxies for the VMware vCenter client:
- The first proxy has MediaAgent installed on it. If the first proxy does not have MediaAgent installed, change the order of proxies.
- While configuring the storage policy for SnapProtect backup, the first proxy is selected as a MediaAgent.
- From the CommCell Console, navigate to the <vCenter client>.
Right-click the <vCenter client> and click Properties.
- From the CommCell Browser, navigate to Client Computers | <vCenter Client> | Virtual Server | VMware.
Right-click the defaultBackupSet and click New Subclient.
- Enter the Subclient name.
By default the Transport Mode for VMware is set as Auto. Depending upon proxy computer used for backup and virtual machines included in the backup, the transport mode is automatically selected. If you want to use a specific transport mode, select one of the following:
- Hot Add
- NBD SSL
- Click the Content tab.
For SnapProtect: If you are using a Nutanix array, do not include Nutanix controller VMs in the subclient content because controller VMs cannot be backed up.
Navigate to the virtual machine which you want to backup and select the virtual machine.
The selected virtual machine appears in the Contents of a subclient list.
Note: If you have deployed MediaAgents, VSA proxies, or vCenter on virtual machines, filter those virtual machines from VSA backups. (If you need to protect files on those virtual machines, install in-guest agents on those virtual machine to perform file backups.)
- Click the SnapProtect Operations tab.
Select the SnapProtect option.
Select a snap engine from the Available Snap Engines list.
- Click the Advanced Options tab.
Click Select ESX server for snap mount and select a host. During backup copy or restore operations, the snapshot will be mounted on this host.
When you select the host, ensure that the ESX server version installed on the host server is the same as or higher than the ESX server version installed on the production server. For example, if the production server has ESX 5.0, the selected host must be ESX 5.0 or higher.
To avoid scanning all ESX servers in a cluster when unmounting snapshots, use a standalone ESX server to mount a snapshot.
To mount a hardware snapshot to a proxy ESX server that is part of a VMware cluster, configure the nClusterMount additional setting on the Virtual Server Agent proxy to ensure that snapshots are properly unmounted when the operation is completed. All ESX servers in the cluster are scanned when unmounting snapshots.
Note: The nClusterMount additional setting is valid for V11 but might not be found using the Lookup option. You can enter this additional setting manually with the following parameters: Name = nClusterMount; Category = VirtualServer; Type = Integer; Value = 1. If you see a warning that the setting is not valid for the current release, click Yes to continue, then make sure that the Value is set to 1 before saving the results.
- Click the Storage Device tab.
Select a Storage Policy which has a Snapshot Copy.
If you do not have Storage Policy created, continue with Step 13.
- In the Backup Schedule dialog box, click Do Not Schedule, and then click OK.
- To create a storage policy, you must have configured a library in the CommCell.
- If you do not already have a library configured, go to Disk Library Creation.
- If you have a library configured, go to Storage Policy Creation.
- From the CommCell Browser, navigate to Storage Resources, right-click the Libraries, point to Add and then click Disk Library...
Alternatively, you can also navigate to MediaAgents, right-click <MediaAgent>, point to All Tasks | Create Library and then click Disk Library...
- From the Add Disk Library dialog box, specify the following:
- In the Name box, specify name of the disk library.
- From the MediaAgent list, select the MediaAgent.
Perform one of the following:
- Select Local Path if you wish to specify a local path in the MediaAgent computer.
In the Disk Device box, type the name of the folder in which the disk library must located or click button to select the folder.
- Select Network Path, if you wish to specify a network path as the target share.
In the Connect As box, type the user name.
In the Password and Verify Password box, type the password to access the network share.
In the Folder box, type the mount path or click button to select a mount path.
- Click OK.
- The newly created disk library will be displayed under Libraries node.
This will create a library and Storage Policy.
This will create a storage policy.
- Click Create Storage Policy.
- Follow the prompts displayed in the Storage Policy Wizard. The required options are mentioned below:
- Select the Storage Policy type as Data Protection and Archiving and click Next.
- Enter the name in the Storage Policy Name box and click Next.
- From the Library list, click the name of a disk library to which the primary copy should be associated and then click Next.
Ensure that you select a library attached to a MediaAgent operating in the current release.
- From the MediaAgent list, click the name of a MediaAgent that will be used to create the primary copy and then click Next.
- For the device streams and the retention criteria information, click Next to accept default values.
- Select Yes to enable deduplication for the primary copy.
- From the MediaAgent list, click the name of the MediaAgent that will be used to host the Deduplication database (DDB).
In the Location box, type the name of the folder in which the DDB must be located or click the Browse to select the folder, and then click Next.
- Review the details and click Finish to create the Storage Policy.
- From the CommCell Browser, expand Policies > Storage Policies.
- Right-click the storage_policy and click All Tasks > Create New Snapshot Copy.
- In the Copy Name box, enter a name.
- From the Library list, MediaAgent list, Drive Pool list, Scratch Pool list, select the appropriate library, MediaAgent, drive pool and scratch pool.
Note: Drive pool and scratch pool are applicable only for tape libraries.
- Click OK.
A backup copy operation provides the capability to copy snapshots of the data to any media. It is useful for creating additional standby copies of data and can be performed during the SnapProtect backup (inline) or at a later time (offline).
Follow the steps given below to configure Backup Copy for moving snapshots to media.
- From the CommCell Browser, expand Policies | Storage Policies | <Storage Policy>.
- Right-click the appropriate <Storage Policy> and click Properties.
- In the Storage Policy Properties dialog box, click the Snapshot tab.
Select Enable Backup Copy checkbox to enable movement of snapshots to media.