I am attempting to re-assign agents to a new MS in a SCOM 2012 R2 management group. The server they are currently assigned to is unavailable, so I am getting no monitoring data (agents are grey). When I perform either of the two methods below to re-assign the MS, the agents immediately, upon service restart, revert to the old MS server.
1. Using the Microsoft Monitoring Agent applet in Control Panel, I remove the old Management Server and add a new management sever (in the same MG). Upon clicking Apply, the agent restarts - on completion of the restart the applet changes the MS name from new to old.
2. Stop the agent service and modify the MOM agent registry keys to reflect the new MS name. The keys immediately revert to the old MS once the service is started again.
If I uninstall and resinstall, everything is fine but I lose all historical data.
Can someone help with this?
Thanks!
Jeff