Hi,
we have an old SOCM infrastructure under SCOM 2012 and a new one under SCOM 2016.
I will take alll agents from SCOM 2012 to SCOM 2016 without any monitoring data (rules/monitors/overrides, etc.). I tested the following way:
- Install the agents in SCOM 2016 without to uninstall these agents in SCOM 2012
RESULTS:
- some agents are uninstalled automatically in SCOM 2012. That is also good so!
- some agents stayed in SCOM 2012. I have to uninstall these agents explicitly in SCOM 2012. BUT these agents try to connect still to SCOM 2012 management servers. These requests are logged as follow:
Date 06.03.2018 14:36:44 Log Windows NT (Operations Manager) Source OpsMgr Connector Category (0) Event 20070 Computer <AGENT COMPUTER> Message The OpsMgr Connector connected to <SCOM2012 MANAGEMNT SERVER>, but the connection was closed immediately after authentication occurred. The most likely cause of this error is that the agent is not authorized to communicate with the server, or the server has not received configuration. Check the event log on the server for the presence of 20000 events, indicating that agents which are not approved are attempting to connect.
Date 06.03.2018 14:21:17 Log Windows NT (Operations Manager) Source OpsMgr Connector Category (0) Event 21016 Computer <AGENT COMPUTER> Message OpsMgr was unable to set up a communications channel to <SCOM2012 MANAGEMENT SERVER> and there are no failover hosts. Communication will resume when <SCOM2012 MANAGEMENT SERVER> is available and communication from this computer is allowed.
My questions:
- how can I solve this issue for multiple agents. Is ist enough to flush (empty) "Monitoring Agent" folders on these agents, or I must uninstall and reinstall these agents in SCOM 2016?
- what is the best process for the agent migration?
- Is there any powershell script so that I can migrate agents (without any monitoring data) from SCOM 2012 to SCOM 2016?
Best Regards
Birdal