Change VC Name/FQDN/IP in Veeam

KB ID: 1905
Product: Veeam Backup & Replication
Version: 7.x, 8.x
Published:
Last Modified: 2015-11-05
KB Languages: FR

Challenge

The Name/FQDN/IP of the vCenter Server has changed, and needs to be updated within Veeam Backup & Replication.

Solution

This solution applies ONLY if the vCenter Server database has not changed.
If the Name/FQDN/IP of the vCenter changed due to a reinstall or upgrade and a new vCenter database was used, the Ref-IDs will have changed. Due to the changed Ref-IDs you will need to follow the documented process in www.veeam.com/KB1299 to resolve the "Object "VM_Name" not found" errors if the original jobs are kept.
 
Before starting you will have to find out the Name\FQDN\IP Veeam is using to communicate with the VC presently. To do this, edit the entry for the VC under Backup Infrastructure and note the “DNS name or IP address”.

User-added image

Next perform the following steps, checking that same location again afterward to confirm the change.
 
1.  Launch PowerShell from inside of Veeam Backup & Replication

User-added image

2.  Run the following command in the PowerShell window that has now opened.
$Servers = Get-VBRServer -name "Current-VCName/IP"
User-added image

3.  Run the following command next.
$Servers.SetName("New-VCName/IP")
User-added image

4.  Close and reopen the Veeam Backup & Replication console to update the entry within the GUI

 

Rate the quality of this KB article: 
3.9 out of 5 based on 54 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Request new content

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text:

Submit