none
Reconfigure Microsoft Monitoring Agent to point to a new Management Group RRS feed

  • Question

  • Hi, 

    We are migrating from SCOM 2016 to SCOM 2019.  

    We have a team that work with System Center Configuration Manager that can push out the new agent for SCOM 2019, but what I am stuck on is trying to update the configuration for the agent so that it points at the new management group.  

    I can do this if I uninstall the agent and then re-install it with the new configuration settings, but this will lose the OMS configuration settings that are in place from another team.  

    What I would like to do is install the new agent and then update the configuration to point at the new management group via a command line / powershell.  

    Thank you.  

    Monday, September 30, 2019 3:38 PM

Answers

  • Hello,

    Kevin's blog post and management pack for SCOM-MultiHome-management management pack is perfectly suited for your scenario, I have personally used it for larger SCOM migrations.

    Another method would be to use Kevin's other management pack: "SCOM Management", you will get new tasks where you can for example add or remove SCOM management groups to multiple agents.

    Tasks:

    • Management Group - ADD
    • Management Group - REMOVE

    More information here:
    SCOM Management – MP – Making a SCOM Admin’s life a little easier

    The SCOM Management management pack also gives a task called "Execute any PowerShell", which allows you to run any PowerShell and they will execute locally on the agent and return output (works for multiple agents).

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Marked as answer by TheMAW Tuesday, October 1, 2019 10:49 AM
    Monday, September 30, 2019 4:19 PM

All replies

  • I pulled apart Kevin Holman's management pack from here (https://kevinholman.com/2018/06/12/how-to-multihome-a-large-number-of-agents-in-scom/) and I think it will work.  I need to do some more investigation.  

    If anyone has got any pointers though, they would be very welcome!  

    Thank you.  

    Monday, September 30, 2019 3:54 PM
  • Hello,

    Kevin's blog post and management pack for SCOM-MultiHome-management management pack is perfectly suited for your scenario, I have personally used it for larger SCOM migrations.

    Another method would be to use Kevin's other management pack: "SCOM Management", you will get new tasks where you can for example add or remove SCOM management groups to multiple agents.

    Tasks:

    • Management Group - ADD
    • Management Group - REMOVE

    More information here:
    SCOM Management – MP – Making a SCOM Admin’s life a little easier

    The SCOM Management management pack also gives a task called "Execute any PowerShell", which allows you to run any PowerShell and they will execute locally on the agent and return output (works for multiple agents).

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Marked as answer by TheMAW Tuesday, October 1, 2019 10:49 AM
    Monday, September 30, 2019 4:19 PM
  • Hi

     

    After doing some research,  I find one article about script to add management group. And another is about integrating SCOM Management Group to Operations Management Suite. You can read it to see if it can help.

    Add a Management group to a SCOM 2012 agent with script

    https://gallery.technet.microsoft.com/Add-a-Management-group-to-4e7f9cad  

     

    Using Powershell to integrate SCOM Management Group to Operations Management Suite

    https://secureinfra.blog/2016/09/25/__trashed/

    Note: This is Third-party article for your reference.

     

    Best regards.

    Crystal


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, October 1, 2019 3:14 AM
  • Thank you both for the answers.  

    I agree the SCOM-MultiHome-management management pack is the fix for me.  

    Regards, 

    Mark.  


    • Edited by TheMAW Tuesday, October 1, 2019 10:53 AM
    Tuesday, October 1, 2019 10:52 AM
  • Hi Mark,

    Thanks for your update. I am glad that you find the information you want. If there's anything we can help in the future, feel free to post in the forum. We are always glad to help.

    Thanks and have a nice day!

    best regards.

    Crystal


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, October 2, 2019 6:09 AM