EPM - Duplicate computers in Administrator Console

EPM - Duplicate computers in Administrator Console

178
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 12:57 PM


Symptom


Following EPM endpoint agent upgrade or reinstall, the My Computers page of the administrator console is showing significantly more machines than before, with many showing apparent duplicate entries.
 


Environment


22.12;23.1;23.3;23.2;23.4;23.5;23.6;23.7;23.8;23.9;23.10;23.11;23.12;24.1;24.2;24.3;24.4 EPM EPM Console EPM SaaS, all versions

Cause


EPM has 2 levels of deletions within the DB.
  1. The first is a soft-delete, which marks a file/agent/event for deletion. This removes it from the UI, reports, counters, and everything else customer facing. It is also relatively light on the DB
  2. The second is a hard-delete, this is a set of background jobs which run all the time taking batches of items which have been soft-deleted and performing the heavy work of actually removing them from the DB. It is significantly heavier in terms of effort and for this reason only occurs in small batches. 
In some instances, a backlog of soft-deleted items can accumulate which have not yet been hard-deleted. 
During the upgrade - agents that had only been 'soft-deleted' but not yet 'hard-deleted' were added back to the "alive list". Resulting in a higher number of agents post install than had existed before.


Resolution


There are 2 ways to remove the duplicate systems in this event.

1) Manually select a duplicated items with "Disconnected" showing for the status and click Delete after all are selected
2) Change the setting for how quickly disconnected agents are removed from the console.

Manually removing the duplicated entries becomes much more difficult and time consuming when there are more endpoints in the set. For very large sets, using the second option is preferred. To change the time before disconnected agents are removed, from the EPM Admin Console go to:

Advanced > Server Configuration > Server Time Settings > Deletion (Days)

By default, this option is set to 30 days, and any endpoint that does not check in for that time will be removed from the console. Changing this option to 1 day will cause these duplicates to be deleted quickly with no other action needed.

Cause:
When EPM is installed on any endpoint, it will generate a random Agent ID value for that system. This ID is used by the EPM Admin Console to identify that endpoint, even if the computer name is changed. In most upgrade or reinstall situations, the original Agent ID will be retained allowing the EPM console to recognize this as the same endpoint, but other times the ID is re-generated. This causes EPM to believe it's a different computer with the same name an old one used to have.

Using the option FULL_UNINSTALL="YES" during a scripted install will cause EPM to remove the existing Agent ID, resulting in duplicate agents in the administrator console.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000z5ACAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail