Comprehensive data protection for all workloads
augsysad
Lurker
Posts: 1
Liked: never
Joined: Nov 28, 2017 1:13 am
Full Name: Alex
Contact:

Change Repository IP Address

Post by augsysad »

Hi,

I am having some trouble changing the IP Address of a Windows Server Repository. The box in question only hosts the Repository role and is moving to a different subnet, but there doesn't seem to be an option to change the IP address of it. I have a decent amount of data I want to avoid recopying across. Before I mess things up by trying to add a new repository with an existing backup chain on it, is there a 'proper' way of doing this. I have seen a KB article for repositories that are created using SMB/Shared Folder but not for Windows Server repositories created using IP address.

Thanks
Alex
Mike Resseler
Product Manager
Posts: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Change Repository IP Address

Post by Mike Resseler »

Hi Alex,

Just to be sure:
1. You have a VBR server, and an additional server which is your repository. You added this by IP-address and not by hostname. Is that correct?
2. You will change the IP of that repository server to another subnet (and I assume the networking part is all ready)

If this is the case:
Personally I have never done this type of operation but: One of the great things about B&R is that you won't need to recopy. If you are going to re-ip it, then chances are big that you will need to re-add it to the infrastructure and do a rescan. Most probably you will need to change the jobs also to point to the "new" repository (so that they continue to use the correct chain. See here for more information: https://www.veeam.com/kb1729
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository IP Address

Post by foggy »

You can also try this solution.
hyvokar
Veteran
Posts: 411
Liked: 31 times
Joined: Nov 21, 2014 10:05 pm
Contact:

[MERGED] How to change backup repository IP address

Post by hyvokar »

Hi!

I've moved our test storage server to production and to another site.
I've changed the ip settings on our dns servers correspondingly.

The backup storage has been set in Veeam by it's name.
When I try to rescan the storage, it still tries connecting old IP address?
How can I change this?

20.3.2018 16:41:17 Error [remotebackup.domain.local] Microsoft Windows server discovery failed Error: The RPC server is unavailable.

RPC function call failed. Function name: [GetSvcVersion]. Target machine: [old-ip-address].

20.3.2018 16:41:18 Error Failed to rescan repository Remotebu02 Error: Access is denied.

RPC function call failed. Function name: [GetSvcVersion]. Target machine: [new-ip-address].
20.3.2018 16:41:19 Error Host discovery failed
Bed?! Beds for sleepy people! Lets get a kebab and go to a disco!
MS MCSA, MCITP, MCTS, MCP
VMWare VCP5-DCV
Veeam VMCE
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: How to change backup repository IP address

Post by DGrinev »

Hi,

Please review this topic with a couple useful links containing solutions. Thanks!
hyvokar
Veteran
Posts: 411
Liked: 31 times
Joined: Nov 21, 2014 10:05 pm
Contact:

Re: Change Repository IP Address

Post by hyvokar »

cant add repository ; failed to connect installer service

cant add the new windows server ; the server by the same name already exists

cannot remove the server ; since it's used by the current repository

cannot remove the repository; since it's used by the offsite copy job.

So ended up deleting the whole job.
Server deleted with warnings, (could not connect to server, since it's still trying to use old ip address)

Added new server, added new backup repository, rescanned repository, decrypted the backups, created new backup copy job, mapped old backup...

This process should be simplified a bit.
Bed?! Beds for sleepy people! Lets get a kebab and go to a disco!
MS MCSA, MCITP, MCTS, MCP
VMWare VCP5-DCV
Veeam VMCE
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository IP Address

Post by veremin »

Just out of curiosity - have tried the PS script mentioned in the KB article? Thanks.
hyvokar
Veteran
Posts: 411
Liked: 31 times
Joined: Nov 21, 2014 10:05 pm
Contact:

Re: Change Repository IP Address

Post by hyvokar »

Nope. Dont really see why I should change vcenter ip address if my backup repository changes IP.
Bed?! Beds for sleepy people! Lets get a kebab and go to a disco!
MS MCSA, MCITP, MCTS, MCP
VMWare VCP5-DCV
Veeam VMCE
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository IP Address

Post by foggy »

You can change repository IP in the database using the same script.
BLWL
Enthusiast
Posts: 35
Liked: 41 times
Joined: Jan 27, 2015 7:24 am
Full Name: Bjorn L
Contact:

Re: Change Repository IP Address

Post by BLWL »

Can confirm that IP address change of repository (and vCenter) works with the Powershell command described in KB1905. VBR 9.5 Update 4a.

https://www.veeam.com/kb1905
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository IP Address

Post by veremin » 1 person likes this post

Basically the script works for every managed server added to backup server. In the KB we've just taken vCenter as an example. Thanks!
ND40oz
Influencer
Posts: 20
Liked: 1 time
Joined: Nov 17, 2010 12:52 am
Full Name: ND40oz
Contact:

Re: Change Repository IP Address

Post by ND40oz »

Does anyone have a new link to kb1905, the current one just takes me to the kb results search page.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository IP Address

Post by veremin » 1 person likes this post

Try the following example and see whether it helps:

Code: Select all

Asnp VeeamPSSnapin
$server = Get-VBRServer | ?{$_.name -eq "IpOfVC"}
$server.SetName("NewIP")
Before executing the script back up backup server configuration.

Thanks!
ND40oz
Influencer
Posts: 20
Liked: 1 time
Joined: Nov 17, 2010 12:52 am
Full Name: ND40oz
Contact:

Re: Change Repository IP Address

Post by ND40oz »

Thanks! Did we lose access to the older KBs though, be kind of nice to see the full write up on it?
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository IP Address

Post by foggy »

The KB was pulled out due to the issues the described method might cause, so it needs to be updated. Please restart the Veeam Backup Service after applying the script, should help to avoid undesirable consequences.
lightsout
Expert
Posts: 227
Liked: 62 times
Joined: Apr 10, 2014 4:13 pm
Contact:

Re: Change Repository IP Address

Post by lightsout »

Just to tag onto this one. I'm trying to change the IP of a SMB repository. When I run "get-vbrserver", it doesn't list my SMB repository at all so I can't change it. It lists things like my vCentre server, my ESXi servers, etc but not my SMB storage. Any ideas?
Mildur
Product Manager
Posts: 9846
Liked: 2604 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Change Repository IP Address

Post by Mildur »

@lightsout

foggy has already posted the procedure. I don‘t think, it has changed since then. A SMB Repo is not a managed server. Because of that, you cannot use the mentioned powershell method

veeam-backup-replication-f2/change-nas- ... 54873.html
Product Management Analyst @ Veeam Software
lightsout
Expert
Posts: 227
Liked: 62 times
Joined: Apr 10, 2014 4:13 pm
Contact:

Re: Change Repository IP Address

Post by lightsout »

Thanks, that is a shame. So:

1. My SMB repo is in a scale out backup repository.
2. It responds on the old & new IP addresses.

So what happens if I add the new IP address to the SOBR, and the remove the old one, and then re-scan? Should that work fairly seamlessly?
Mildur
Product Manager
Posts: 9846
Liked: 2604 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Change Repository IP Address

Post by Mildur »

do you have a support contract with veeam? I think, they have a solution for that. Changing the ip in the database or something like that. There must be some solution.

Do not change the ip by yourself in the database, it‘s not supported :)

Another options is veeam v10. There will be a evacuate feature for SOBR.
You can evacuate all backups from the old ip extend and they will get copied to the new ip adress extend. If you can add both the sametime and have enough storage for the copy process.
Product Management Analyst @ Veeam Software
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change Repository IP Address

Post by foggy »

lightsout wrote: Feb 08, 2020 8:05 pm So what happens if I add the new IP address to the SOBR, and the remove the old one, and then re-scan? Should that work fairly seamlessly?
Yes, should work even without evacuation. Thanks!
lightsout
Expert
Posts: 227
Liked: 62 times
Joined: Apr 10, 2014 4:13 pm
Contact:

Re: Change Repository IP Address

Post by lightsout » 1 person likes this post

So what I did:

1. Add the new SMB server (by DNS this time too to avoid this biting me again!).
2. Edited the SOBR, removed the existing SMB server and added the new SMB server, at the same time.

It worked!
jrbaumann
Enthusiast
Posts: 41
Liked: 2 times
Joined: Oct 18, 2018 12:37 pm
Full Name: Jeff Baumann
Contact:

[MERGED] Change ip address of SOBR extents

Post by jrbaumann »

Hello,

Currently using B&R 9.5 u4 backing up to Exagrids.

I am in the process of creating SOBR repositories, 3 have gone really well. On the final one, the Exagrid has a 1GB and a 10GB interface configured and Veeam is using the 1GB interfaces of the extents rather than the 10GB interfaces which i would like them to use. I didn't realize this until this morning after about a week of jobs running. I'm wondering if there is a process to edit the ip addresses of the extents in the SOBR, other than starting from the beginning.

Thanks for any assistance.

Stay safe!

Jeff
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository IP Address

Post by veremin » 1 person likes this post

You should be able to change IP address of particular SOBR extent, using the approached mentioned in the KB above. Thanks!
Technogod
Expert
Posts: 156
Liked: 26 times
Joined: Apr 11, 2017 3:52 am
Contact:

Re: Change Repository IP Address

Post by Technogod »

I had the same problem. I wasn't able to get the PS script to work. I had to perform the same operation as hyvokar, Painful! I'm now using the hostname to hopefully alleviate this problem in the future.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository IP Address

Post by veremin »

Do you remember any specific issues you got with the script? Thanks!
Technogod
Expert
Posts: 156
Liked: 26 times
Joined: Apr 11, 2017 3:52 am
Contact:

Re: Change Repository IP Address

Post by Technogod »

I'm not familiar with PS. I received an error no matter what variables I tried to use.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Change Repository IP Address

Post by veremin »

OK, next time you try to change IP address of repository automatically and come across the same issue, let us know, we will assist you with fixing the script. Thanks!
Technogod
Expert
Posts: 156
Liked: 26 times
Joined: Apr 11, 2017 3:52 am
Contact:

Re: Change Repository IP Address

Post by Technogod »

KB1905 worked for me. I installed a Unifi Dream Machine to replace my pfSense box. So my IP changed due to the MAC address change. DR Host could no longer see Main Host. This saved me a ton of time.
eduzimrs
Service Provider
Posts: 56
Liked: 7 times
Joined: Jul 25, 2018 5:08 pm
Full Name: Eduardo Scheffer
Location: Florianopolis - Brazil
Contact:

[MERGED] Rename Windows Repository Server Hostname

Post by eduzimrs »

Hey Guys,

I've opened a case below #05068350... (i removed sensitive information)

"We recently added a remote Windows Repository, actually we don't know how it's been working in the first place since we forgot a letter in the domain name part of the FQDN:

Hostname (Wrong)
XXXXITTBKP01.xxbicomxxxxxxx.local

Hostname (Correct)
XXXXITTBKP01.xxbiOcomxxxxxx.local (we forgot the "o")

Today we tried a FLR and an error regarding DNS ("Host not known") came up, so we managed to insert in the Windows Host File an alias to the wrong hostname, and worked.

So, is there any way to change the Windows Hostname without having to remove it from Veeam Infrastructure? It is part of a SOBR Performance Tier and S3 Capacity Tier enabled, we'd like to avoid any configurations changes, maybe an database update...
"

We are not familiar with PowerShell commands so I'd like to ask if anyone here has ever gone through this situation?

Image

Thanks.
--
Best Regards.
Eduardo K. Scheffer - SE
HannesK
Product Manager
Posts: 14836
Liked: 3083 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Change Repository IP Address

Post by HannesK » 1 person likes this post

Hello,
did you try KB1905 already?

Thanks,
Hannes
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 100 guests