SCOM 2019 side-by-sdide migration - agent upgrade from 2012 R2

Ben Wosjke 136 Reputation points
2021-02-01T22:55:03.22+00:00

Hi all,
Existing SCOM 2012 R2 environment - moving to SCOM 2019.

Using a new 2019 server - so a side-by-side upgrade.

Have installed 2019, imported all management packs, worked out what custom rules, monitors, notifications etc etc are needed and bought them across etc... which i thought was the hard bit (and it was)

When starting to move clients across using client discovery/install, i am getting the error
"OmAgentFunctions::IsUpgradeSupported : Version prior to OM 2016 RTM found, upgrade is not supported."

Which makes sense - as the client version is 2012 R2.

Given that there are some witty people around, im wondering if anyone has developed a nice method of handling this? I can use SCCM to uninstall the agent - but really would prefer it was all handled within SCOM.

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,521 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Leon Laude 85,861 Reputation points
    2021-02-02T07:43:16.773+00:00

    HI @Ben Wosjke ,

    A side-by-side-migration from SCOM 2012 R2 directly to SCOM 2019 is not officially supported, but of course possible to achieve.
    The best way to actually accomplish this would be to first in-place upgrade your SCOM 2012 R2 to SCOM 2016.

    Then upgrade all your SCOM agents to the 2016 version, after that you can perform a side-by-side migration and you can upgrade the SCOM agents.

    Some useful links:

    Upgrade from SCOM 2012R2 to SCOM 2016 Checklist
    https://kevinholman.com/2020/05/25/upgrade-from-scom-2012r2-to-scom-2016-checklist

    Upgrade from SCOM 2016 to SCOM 2019 Checklist
    https://kevinholman.com/2021/01/13/upgrade-from-scom-2016-to-scom-2019-checklist

    The following management pack by Kevin can help you in uninstalling/installing mass SCOM agents:
    https://kevinholman.com/2017/05/09/scom-management-mp-making-a-scom-admins-life-a-little-easier

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments

  2. AlexZhu-MSFT 6,116 Reputation points Microsoft Vendor
    2021-02-02T08:39:38.22+00:00

    Hi,

    Since the current SCOM 2012R2 is still working, we may build a list of all the monitored computers, and then using the example below to loop this cmdlet, in order to remove all the agents.

    Get-SCOMAgent -DNSHostName "server01.contoso.com" | Uninstall-SCOMAgent

    If the SCOM 2012R2 is not working, to uninstall the agent, we may use similar commands as below example via configuration manager or something equivalent:

    %WinDir%\System32\msiexec.exe /x <path>\MOMAgent.msi /qb

    Hope the above information helps.

    Regards,

    Alex Zhu


    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  3. AlexZhu-MSFT 6,116 Reputation points Microsoft Vendor
    2021-03-01T01:07:25.083+00:00

    Hi,

    It seems there is no update for a couple of days. May we know the current status of the problem? Is there any other assistance we can provide?

    Regards,

    Alex
    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.