Loading...

VNU0001: Virtual machine client names are created with '_1' appended to the original client name

Symptom

When viewing virtual machines in the Client Computers list, you might see duplicate client names (for example, client_name and client_name_1).

Cause

If the instance GUID of the virtual machine changes, then a duplicate virtual machine client is created with a numeric suffix (for example, client_name_1).

Resolution

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.

  1. If you are not logged on to the CommServe computer, run the qlogin command.
  2. At a command prompt, navigate to the software installation path, log in to the CommServe machine, and then run the following script:

    qoperation execscript -sn QS_SetVMClient -si @Client1='client_name_1' -si @Client2='client_name'

    If the client name contains spaces, you can run the QScript without explicit parameter names:

    qoperation execscript -sn QS_SetVMClient -si 'client name_1' -si 'client name'

    The duplicate clients are merged using the following criteria:

    • If both clients have a Commvault agent installed, then the command fails.
    • If one of the clients has a Commvault agent installed, then the backup history is merged into the client that has the Commvault agent.
    • If one of the clients has a numeric suffix in the client name (such as ‘_1’), then the backup history is merged into the client that does not have a numeric suffix in its name.
    • If neither client has a Commvault agent installed or a numeric suffix in the client name, then the backup history is merged into the client that has the most recent backup.
    • If both clients have a numeric suffix in the client name, and do not have a Commvault agent installed, then the backup history is merged into the client that has the most recent backup.
  3. To log off the CommServe computer, run the qlogout command.
  4. Run an incremental backup and confirm that that virtual machines are shown correctly in the Virtual Machine Status tab.

Last modified: 10/30/2018 7:06:11 PM