/Veeam how to fix Error PhysicalHost with id not found

Veeam how to fix Error PhysicalHost with id not found

While in the air at 10,000 feet will take the free time to write this blog post about Veeam how to fix Error PhysicalHost with id not found.

This week had a strange issue in some particular Backup jobs with the following error: Failed to create processing task for VM – Error: PhysicalHost with id ’16c8ee9c-431e-4de0-945a-55bc5a94eb05′ was not found . This error was encountered inside of all Jobs and all VMs.

Veeam how to fix Error PhysicalHost with id not found

I remember from previous errors that this type of issue could happen when you move your VMs to a different Cluster/ESXi host or Storage.

That is what was done in the day before in these VMs. All VMs were migrated to a new Cluster and a new Datastore. Therefore, this error fits perfectly with the root cause.

The solution for this is to re-scan your vCenter or ESXi host where these jobs are connected.

Go to the Backup Infrastructure tab find your vCenter and with right mouse click select scan. The re-scan will reassign the VMs and host IDs to Veeam, and you can rerun the job.

However, unfortunately, it did not fix the issue for this error; further troubleshooting is needed.

Since these jobs are in a particular network and use individual proxies, we need to identify this PhysicalHost ID that is getting the error.

The first option is to check the PhysicalHost ID used in this job, using PowerShell.

Note: To use VeeamPSSnapin PowerShell, you need to have Veeam Console installed (VeeamPSSnapin is installed with Veeam Console).

I always add VeeamPSSnapin the PowerShell profile in servers where I have Veeam installed. This way, PowerShell is always ready to with Veeam.

Looking at the above result, the server with the issue is a proxy that is used in these jobs. Next is to check what is causing this issue.

First, I need to check if I can find the ID (not the PhysHostId) and if there is more than one register with the same ID but with different PhysHostId.

Running the PowerShell to check the ID, I get only one result and is the same as the above.

Something that also we can notice is that in both results, the IsUnavailable is true. Therefore, this Proxy is somehow not available. Even in the Veeam Proxies tab, all is ok, no issues.

For further tests, I removed the proxy from one of the jobs and will only use the default proxy (from Veeam Server).

Rerunning one of the jobs, it starts, and I get no issue about the PhysicalHost.

Veeam how to fix Error PhysicalHost with id not found

Next is to remove the Proxy and try to add again, but again I get another error.

Veeam how to fix Error PhysicalHost with id not found

Need further troubleshooting in the DB to check what is happening with this Proxy.

Troubleshoot Veeam DB.

First, we need to check if the PhysicalHost ID exists in the DB since that is the error getting above.

Checking the PhysicalHosts table with the ID, I get no results for this ID.

Checking the BackupProxies table, I get no results.

The final check is in the Hosts table, and there is one entry.

Veeam how to fix Error PhysicalHost with id not found

Meaning that the Proxy is not registered correctly in the DB.

Sometimes this can happen when a Proxy changes the IP address, and you remove the old and add again in Veeam Proxies and is exactly what did happen since Proxy IP was changed.

So to fix the issue and able to remove the Veeam proxy from Veeam Server we need to remove the bad entry from the Veeam DB.

Since the only entry found in the DB is in the table Hosts will remove from this table.

Rerunning PowerShell command to check if there is no entry anymore.

And

In both commands, there are no results. Also, looking in the Veeam Backup Server in Proxies tab the proxy was removed.

For a clean start, I rebooted the Veeam Server and then added the Proxy again, added to jobs, and all is green no issues found.

Important note: Before you do any changes on your Veeam DB, do a backup of the DB, or a snapshot of Veeam Server (if it is a Virtual Machine).

Also, if you are not comfortable with SQL and queries, you should not try to do this type of task in your Veeam Server DB. In that case, contact Veeam Support.

Conclusion.

I do not think to change the IP of a Veeam Proxy is a problem, but before you change the IP, make sure you remove the Proxy from your Jobs and delete from your Backup Infrastructure.

I think in this case, Proxy was removed from the Jobs and also removed from the Proxies, but the server itself was not removed from Veeam Backup Server before the IP change. That is why it was not in any proxy tables but only appear as a host (server in the Veeam Backup).

That is the only logical reason I see here for this kind of problem with proxies entries.

I hope this information was useful, and you learn how to troubleshoot this type of error and how to fix it.

Note: Share this article if you think it is worth sharing.

©2020 ProVirtualzone. All Rights Reserved
By | 2020-12-11T16:11:08+01:00 February 21st, 2020|Backups Posts, Partners, Veeam, VMware Posts|0 Comments

About the Author:

I have over 20 years of experience in the IT industry. I have been working with Virtualization for more than 15 years (mainly VMware). I recently obtained certifications, including VCP DCV 2022, VCAP DCV Design 2023, and VCP Cloud 2023. Additionally, I have VCP6.5-DCV, VMware vSAN Specialist, vExpert vSAN, vExpert NSX, vExpert Cloud Provider for the last two years, and vExpert for the last 7 years and a old MCP. My specialties are Virtualization, Storage, and Virtual Backup. I am a Solutions Architect in the area VMware, Cloud and Backup / Storage. I am employed by ITQ, a VMware partner as a Senior Consultant. I am also a blogger and owner of the blog ProVirtualzone.com

Leave A Comment