SCOM exporting and importing Configuration

Dimitris Mitsopoulos 1 Reputation point
2022-05-12T07:50:02.773+00:00

I am new to SCOM, and I have a task that I am having trouble.

A client has a SCOM 2012 R2, with Windows Server 2012 R2, and we need to upgrade it.

I was searching if we can make an in-place upgrade, but unforunately we cannot.

So a new, Windows Server 2019 VM has to be created, if we want to upgrade to SCOM 2019.

My problem: How to export the configuration, and WHAT has to be exported, in order NOT to have any problem. I saw a couple Powershell Commands like:

**Get-SCOMRule -ManagementPack $mp | Select DisplayName, Description, Name, Enabled, Target | Export-Csv -Path Rules.csv*
Get-SCOMMonitor -ManagementPack $mp | Select DisplayName, Description, Name, Enabled, Target | Export-Csv -Path Monitors.csv*

They export Rules and Monitor Alerts in an csv format, but is that enough? What about users, groups etc?

and most important, how do you import them back?Cause I can't find any info on that.

Any help will be deeply appreciated.

Thank you!

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,418 questions
Windows Server Infrastructure
Windows Server Infrastructure
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Infrastructure: A Microsoft solution area focused on providing organizations with a cloud solution that supports their real-world needs and meets evolving regulatory requirements.
516 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,386 Reputation points
    2022-05-17T15:26:25.147+00:00

    Hi there,

    Usually you need to apply *.msp patches for all SCOM components, then you need to install management packs and run SQL Scripts. The best way to check if SCOM is updated is by .dll file usually located at this location C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\Microsoft.EnterpriseManagement.DataWarehouse.DataAccess.dll

    You can use the below threads are reference for updating the SCOM.

    Updating SCOM 2012 R2 https://social.technet.microsoft.com/Forums/en-US/5e9b39cc-b3c7-49c1-928d-28b7be469c51/updating-scom-2012-r2?forum=operationsmanagerdeployment

    SCOM upgradation guide from 2012 R2 to 2016 https://social.technet.microsoft.com/Forums/en-US/d36ad853-bcb3-45e9-8cae-5cc12fb7432b/scom-upgradation-guide-from-2012-r2-to-2016?forum=operationsmanagerdeployment

    Import/export SCOM setting to secondary SCOM https://social.technet.microsoft.com/Forums/ie/en-US/01f0e3ed-f528-467f-9969-bb232c9c2ef9/importexport-scom-setting-to-secondary-scom?forum=operationsmanagergeneral

    Export-SCOMEffectiveMonitoringConfiguration https://learn.microsoft.com/en-us/answers/questions/846510/scom-exporting-and-importing-configuration.html

    ----------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    1 person found this answer helpful.
    0 comments No comments

  2. Simon Ren-MSFT 30,506 Reputation points Microsoft Vendor
    2022-05-13T08:52:39.45+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    1,Please refer to:
    What's the best practice to migrate SCOM 2012 to SCOM 2019
    SCOM 2012 R2 to 1801 Side-by-Side Migration : The Powershell Way! – By Ruben Zimmermann

    2,For SCOM 2012 R2, you can either upgrade to SCOM 1801 or SCOM 2016 and finally upgrade to SCOM 2019.

    Step-by-Step – Upgrading to SCOM 2016 from SCOM 2012 R2
    Upgrade from SCOM 2012R2 to SCOM 2016 Checklist
    Step-by-Step SCOM 2019 Upgrade Guide

    Hope it helps. Thanks for your time.

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments