Article ID: 63652
Article Type: Troubleshooting
Last Modified:
Duplicate client names for virtual machines appear in the Client Computers list, and you can use a merge operation to remove them. Note that the suggested resolution for this issue can be used to merge virtualization clients that use Indexing Version 1 or Indexing Version 2. Also note that, when the UUID changes for a VM, backup jobs for the VM will be converted to full backups due to the new VM GUID and when we merge duplicate clients automatically. In this scenario, in case of cycle retention, previous backup jobs will be aged. This, in turn, affects data aging based on retention settings specified at the storage policy level.
Duplicate client names for virtual machines appear in the Client Computers list (for example, client_name and client_name_1).
The following cases might cause the creation of a duplicate virtual machine client with a numeric suffix (for example, client_name_1), which appear in the Client Computers list:
You can use an interactive report or run the QS_SetVMClient script to merge duplicate VM clients. Duplicate clients are merged using the following criteria:
There can only be one VM backupset under the VM client for a Hypervisor client's backupset. Therefore, VM clients cannot be merged in this scenario.
If duplicate VM clients cannot be merged, the backup history for the original VM client includes older jobs, and the backup history for the duplicate VM client (such as client_name_1) has newer jobs. To merge VM clients that cannot be merged automatically, perform the following steps:
Set the "Delete deconfigured clients that have no protected data" parameter (CommCell Console > Storage tab > Media Management > Data Aging) to "1".
Definition: During a data aging job, clients that meet the following criteria are deleted after 30 days from the day they were created:
Additional criteria for discovered virtual machines: The VM is deleted in the management interface for the hypervisor, such as VMware vCenter. Set the value to 1 to delete the clients that meet the preceding criteria.
Note: This is global parameter and will affect other agents.
For more information, see Media Management Configuration: Data Aging.
Set the "Ignore cycles retention on deconfigured clients" parameter (CommCell Console > Storage tab > Media Management > Data Aging) to "1".
Definition: Specifies whether or not to ignore the defined retention cycle rules for data associated with deconfigured clients, deconfigured agents, and deconfigured instances.
Default Value: The following are the default values:
Therefore if you have a new Commcell environment from Service Pack 13 or later, then only days are used to retain data on the deconfigured clients and instances.
For existing Commcell environments, the default honors the cycle retention configured on the copy.
Note:
For more information, see Media Management Configuration: Data Aging.
You can download the Merge Duplicate VM Clients app from the Commvault Store. The app includes an interactive report that displays duplicate clients (so that you can select clients to merge) and a workflow that performs the merge operation.
The QS_SetVMClient script merges backup history for duplicate virtual machine clients, and then deletes the duplicate virtual machine client. All subsequent jobs are associated with the merged client. The script is available in the Base directory for Commvault software. Perform the following steps to merge duplicate clients. Run the script for each set of duplicate clients.
qoperation execscript -sn QS_SetVMClient -si 'client name_1' -si 'client name'