Tag Archives: linux

Infra item delete failed Error: A connection attempted failed

I recently deployed a Veeam Hardened Repository (VHR) ISO which involved removing the old Ubuntu based VHR server. Unfortunately I was a little too eager and deleted the VM before I had removed it from Veeam Backup and Replication (VBR). When I attempted to remove the old VHR the following error was displayed.

Infra item delete failed Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Attempting to remove the server via PowerShell resulted in the same error.

Connect-VBRServer -Server $servername
remove-vbrserver -server $server

remove-vbrserver : Failed to delete server

To successfully remove the server, I performed the following steps.

  1. Deploy a new temporary Linux machine with SSH enabled. Choose one of the following IP address management strategies
    • A) If the original IP address is available and it’s appropriate to reuse it (e.g., no conflicts, DHCP lease expired), configure the temporary machine with this IP address
    • B) If the machine is known to VBR by hostname, update the DNS record or the /etc/hosts file on the VBR server to point the hostname to the new IP address of the temporary machine.
  2. The next step is to modify the credentials used by VBR for the offline machine, in my case I changed from a single-use credential to a SSH credential.

3. Once the credentials have been modified, finish the wizard which results in Veeam services being installed on the temporary linux server.

4. Final step is to remove the temporary linux server from VBR.