Skip to main content

Changing vCenter Name on Veeam


wolff.mateus
Forum|alt.badge.img+11

How can we see here, vCenter IP/FQDN is not possible to change inside of Veeam B&R.

 

In my case I put the IP of vCenter server on Veeam Backup & Replication and now I’d like to change it to a hostname accordingly the DNS server name.

 

So, first of all we need to open the Console / PowerShell on burger menu of Veeam B&R.

 

So, at this moment we need type the command:

$Servers = Get-VBRServer -name "old-name-or-ip"

On my case the IP of my vCenter server is 192.168.10.100.

 

After that we just need type the following command:

$Servers.SetName("new-name-or-ip")

On my scenario it is ROM2SRVVLVC01.

 

And now, with this two only commands we can see that the vCenter name was changed on Veeam Backup & Replication:

 

To finish I just rescan the vCenter server again to see all the set up is ok.

 

39 comments

JMeixner
Forum|alt.badge.img+17
  • On the path to Greatness
  • 2650 comments
  • April 26, 2021

Nice description. This is very useful for me, as the backup servers are often setup before services like DNS are available. Up to now I kept the IP in VBR, but it is nice to be able to change it to the DNS Name afterwards. :sunglasses:


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8521 comments
  • April 26, 2021

A great tip that usually no one realizes can be done.  Used this many times to change the VC name as we upgraded our infrastructure DCs and named the vCenter differently.  Now vCloud is another story and that one is SQL DB stuff. :smile:


coolsport00
Forum|alt.badge.img+20
  • Veeam Legend
  • 4155 comments
  • April 26, 2021

Great tip “wolff”! Thanks for sharing! :thumbsup_tone2:


wolff.mateus
Forum|alt.badge.img+11
  • Author
  • Veeam Vanguard
  • 542 comments
  • April 26, 2021
JMeixner wrote:

Nice description. This is very useful for me, as the backup servers are often setup before services like DNS are available. Up to now I kept the IP in VBR, but it is nice to be able to change it to the DNS Name afterwards. :sunglasses:

Exactly @JMeixner


vNote42
Forum|alt.badge.img+13
  • On the path to Greatness
  • 1246 comments
  • April 26, 2021

Great tip @wolff.mateus ! Didn’t know this!

I guess this just works when the vCenter is the same. Right?

 


wolff.mateus
Forum|alt.badge.img+11
  • Author
  • Veeam Vanguard
  • 542 comments
  • April 26, 2021
vNote42 wrote:

Great tip @wolff.mateus ! Didn’t know this!

I guess this just works when the vCenter is the same. Right?

 

Yeah @vNote42! It just works with the same database of vCenter. 


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • 1354 comments
  • April 26, 2021

I didn’t know that either; that’s well hidden...thanks, @wolff.mateus 


Shaokat
Forum|alt.badge.img+3
  • Influencer
  • 127 comments
  • April 27, 2021

Thanks


vNote42
Forum|alt.badge.img+13
  • On the path to Greatness
  • 1246 comments
  • May 31, 2021

I  can confirm, this works for Repository and/or Proxy Server as well! Because VBR manages these servers in its server-list as well (get/set-vbrserver), exact the same steps works here too!


Forum|alt.badge.img+4
  • Experienced User
  • 576 comments
  • May 31, 2021

@wolff.mateus : Great Share, Thanks a lot !


Nico Losschaert
Forum|alt.badge.img+12
  • On the path to Greatness
  • 681 comments
  • June 1, 2021

@wolff.mateus , thx a lot for sharing, I was not aware that is possible. Nice!


vNote42
Forum|alt.badge.img+13
  • On the path to Greatness
  • 1246 comments
  • June 1, 2021
vNote42 wrote:

I  can confirm, this works for Repository and/or Proxy Server as well! Because VBR manages these servers in its server-list as well (get/set-vbrserver), exact the same steps works here too!

I have to add: changing the address of a proxy/repo-server works fine.

But: Name-column remains unchanged. In my case I changed IP to FQDN. After that IP remains for name.


Nico Losschaert
Forum|alt.badge.img+12
  • On the path to Greatness
  • 681 comments
  • June 1, 2021

Thx @vNote42 , good to know. I always recommend using FQDN for all components, but often I see IP-addresses being used...


wolff.mateus
Forum|alt.badge.img+11
  • Author
  • Veeam Vanguard
  • 542 comments
  • June 1, 2021
Nico Losschaert wrote:

Thx @vNote42 , good to know. I always recommend using FQDN for all components, but often I see IP-addresses being used...

I really hate environments based on IP address. 


wolff.mateus
Forum|alt.badge.img+11
  • Author
  • Veeam Vanguard
  • 542 comments
  • June 1, 2021
vNote42 wrote:

I  can confirm, this works for Repository and/or Proxy Server as well! Because VBR manages these servers in its server-list as well (get/set-vbrserver), exact the same steps works here too!

Hey @vNote42. So the command to change the name of repo and proxy is the same of this?

 


vNote42
Forum|alt.badge.img+13
  • On the path to Greatness
  • 1246 comments
  • June 1, 2021
wolff.mateus wrote:
Nico Losschaert wrote:

Thx @vNote42 , good to know. I always recommend using FQDN for all components, but often I see IP-addresses being used...

I really hate environments based on IP address. 

In some backup environments it could make sense. You can avoid DNS traffic over firewalls respectively DNS as all. Also avoid host-files.


vNote42
Forum|alt.badge.img+13
  • On the path to Greatness
  • 1246 comments
  • June 1, 2021
wolff.mateus wrote:
vNote42 wrote:

I  can confirm, this works for Repository and/or Proxy Server as well! Because VBR manages these servers in its server-list as well (get/set-vbrserver), exact the same steps works here too!

Hey @vNote42. So the command to change the name of repo and proxy is the same of this?

 

Yes! Just select proxy/repo server in your first command. Second command is just like yours.


Chris.Childerhose
Forum|alt.badge.img+21
vNote42 wrote:
wolff.mateus wrote:
vNote42 wrote:

I  can confirm, this works for Repository and/or Proxy Server as well! Because VBR manages these servers in its server-list as well (get/set-vbrserver), exact the same steps works here too!

Hey @vNote42. So the command to change the name of repo and proxy is the same of this?

 

Yes! Just select proxy/repo server in your first command. Second command is just like yours.

It is just too bad the name column remains the same and does not change either.  I will have to play with this and see if there is a way.  :grin:


vNote42
Forum|alt.badge.img+13
  • On the path to Greatness
  • 1246 comments
  • June 1, 2021
Chris.Childerhose wrote:
vNote42 wrote:
wolff.mateus wrote:
vNote42 wrote:

I  can confirm, this works for Repository and/or Proxy Server as well! Because VBR manages these servers in its server-list as well (get/set-vbrserver), exact the same steps works here too!

Hey @vNote42. So the command to change the name of repo and proxy is the same of this?

 

Yes! Just select proxy/repo server in your first command. Second command is just like yours.

It is just too bad the name column remains the same and does not change either.  I will have to play with this and see if there is a way.  :grin:

Let me know, if you find a solution. I will try to find one to. If not, I will open a support case. 


Chris.Childerhose
Forum|alt.badge.img+21

Will do for sure.  I might look in the DB too.


vNote42
Forum|alt.badge.img+13
  • On the path to Greatness
  • 1246 comments
  • June 1, 2021
Chris.Childerhose wrote:

Will do for sure.  I might look in the DB too.

I will do a direct DB update just if the support instructs me to do so.


  • New Here
  • 2 comments
  • August 22, 2021

This is nice but doesn’t seem to update the jobs at all.  All my jobs are referencing the old name/ip, to which google searches suggest i need to remove/re-add WHICH results in broken chains.  I think there’s a follow-up step missing here… :-\


Mildur
Forum|alt.badge.img+12
  • Influencer
  • 1035 comments
  • August 22, 2021
Pete DiCo wrote:

All my jobs are referencing the old name/ip

 

The display name doesn‘t change, if I am remember it correctly, but the connection information should be the new one.


  • New Here
  • 2 comments
  • August 22, 2021
Mildur wrote:
Pete DiCo wrote:

All my jobs are referencing the old name/ip

 

The display name doesn‘t change, if I am remember it correctly, but the connection information should be the new one.

I wish you were right but mine are failing now.  MouseOver on the VM included in the job shows the old location there as well.  Im currently poking around the database trying to find a manual solution.


Mildur
Forum|alt.badge.img+12
  • Influencer
  • 1035 comments
  • August 22, 2021

I recommend to open a support case.

Poking around the database is not supported.