Hi,
We have hundreds of duplicate systems in our ePO and it is affecting our reporting. Some have more than 2 duplicates. 1 system is updated, and the rest is outdated. Where should we start checking for the issue? And is there a way to delete the outdated duplicate systems and leave the updated one? Can it be done through SQL query, ePO task or anything?
Manually deleting them will obviously take a while.
ePO version is 5.10.0 Update 4 and McAfee Agent version is mostly 4.8.0 with some 5.0.6.
Thanks.
MA 4.8 is EOL.
Possible causes:
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
It's a mix of vm's and normal systems. The AD sync only happens in a specific group n System Tree and it does not contain a duplicate systems. Some of the duplicate systems have different IP addresses and last communication date with the updated one having the latest communication date. Any settings I should check?
Agent upgrade is ongoing and being reviewed by the organization. Can you confirm, the query will delete duplicate systems and will not delete the updated one?
Thanks for the help.
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
I updated the query with the following:
"delete from EPOLeafNodeMT where exists (select * from EPOLeafNodeMT as l where .NodeName=epoleafnodeMT.NodeName and l.autoid!=epoleafnodeMT.autoid and .LastUpdate>epoleafnodeMT.LastUpdate)"
Got an error:
"Msg 4104, Level 16, State 1, Line 1
The multi-part identifier ".NodeName" could not be bound.
Msg 4104, Level 16, State 1, Line 1
The multi-part identifier ".LastUpdate" could not be bound."
And another question, if the last communication one is also outdated, will it delete this one as well?
Thanks.
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
Correct db was selected. I ran the original query and it failed with the same error message.
I tried updating the ".nodename" to "epoleafnodeMT.NodeName", the first 2 line of error message disappeared. If I update ".lastupdate" to "epoleafnodeMT.LastUpdate", I have a feeling it might work. So the updated query looks like this.
delete from EPOLeafNodeMT where exists (select * from EPOLeafNodeMT as l where epoleafnodeMT.NodeName=epoleafnodeMT.NodeName and l.autoid!=epoleafnodeMT.autoid and epoleafnodeMT.LastUpdate>epoleafnodeMT.LastUpdate)
Should I try it? And should we get the same expected results?
Thanks.
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.
Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership: