VM Cannot Be Created During Move/Failover due to Computer Name Character Limitation

KB Number:
000001690

Cause:
When specifying the Computer Name on a Windows machine to be longer than 15 characters, an error message is displayed. Despite the error, the change is still performed.  Although Windows will allow names greater than 15 to be specified, this causes problems in vCD.  When a vCD VM is marked as being re-IP'd in Zerto, the computer name must be provided in order to deliver the re-IP customization package through vCenter and VMware Tools.  


Zerto Virtual Replication receives this information from the VM itself via VMware Tools. The retrieved computer name is then specified as the NETBIOS name in the customization package, which has a character limit of 15 for use within vCD.  This limitation is documented in the VMware Documentation on Editing Virtual Machine Properties in vCloud Director.
 
 
If the Computer Name retrieved is greater than 15 characters, the Zerto Re-IP operation will fail with the following error:

Zerto: Failed.  (failed to Set VM computer name exception=validation error on field 'computerName': String value has invalid format or length for [ID=urn:vcloud:vm:********-****-****-****-***********])Protection group failover test. Failure error MM/DD/YY HH:MM:SS Zerto

To learn more about Computer Name conventions and limitations, refer to the Microsoft KB article: Naming conventions in Active Directory for computers, domains, sites, and OUs

 

Solution:
  1. Set the computer name to be 15 characters or fewer. 
  2. Disable re-IP configuration for the VM in the VPG settings.

 

See Also


Editing Virtual Machine Properties in vCloud Director

Naming conventions in Active Directory for computers, domains, sites, and OUs
 


Affected Versions:
All Versions

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...