High level steps Daniele mailed me:
- Remove OM12 SP1 Reporting;
- Reset SSRS;
- Upgrade SQL Server 2008 R2 SP1 to SQL Server 2012 SP1;
- Reinstall OM12 SP Reporting.
So it was time to test this in one of my test labs. Let’s start!
Detailed steps in one of my test labs:
- Backup the OM12 SP1 databases (OperationsManager, OperationsManagerDW & ReportServer);
- Snapshot the VM(s) hosting the SQL Server instance(s). When the server(s) is(are) physical make a complete backup(s) of the server(s) so a rollback can be done when required;
- Only when required: Backup customized Reports using this tool;
- Remove OM12 SP1 Reporting from the SQL Server hosting the SSRS instance for OM12 SP1;
- Remove the OM12 SP1 Agent as well since it might block the installation of OM12 SP1 Reporting later on;
- Run the tool ResetSRS.exe found on the installation media of OM12 SP1 (~:\SupportTools\AMD64);
- Syntax: ResetSRS.exe MSSQLSERVER for the default SQL Server instance;
- Provide the account for setting up the database connection <ENTER>;
- Provide the password <ENTER>;
- Account and password will be validated. When OK the SSRS instance will be reset (the OM12 SP1 security extensions will be removed);
- After a while SSRS will be reset successfully. When failed retry and when it fails again, remove SSRS and reinstall it using this posting of mine;
- Browse to http://localhost/reports in order to check the health of the SSRS instance. Normally you should see the web interface of SSRS. When an error is shown fix it or remove and reinstall SSRS using this posting of mine.
- Now all is OK for the upgrade to SQL Server 2012 SP1. Insert the installation media of SQL Server 2012 SP1 and run it;
- SQL Server Installation Center screen will be shown after a while > Installation > Upgrade from SQL Server 2005, SSQL Server 2008 or SQL Server 2008 R2;
- Setup Support Rules will be loaded. When all is done > OK;
- Enter the product key > Next;
- Accept EULA and choose whether or not to send feature usage data to Microsoft > Next;
- SQL Server will check for product updates to SQL Server 2012 SP1. When there is no internet connectivity you’ll get an error message. Luckily you can still continue the upgrade when that happens > Next;
- SQL Server Setup Files will be installed now > Next;
- Select the SQL Instance to be upgraded > Next;
- The related Features to be upgraded will be shown as well > Next;
- Instance Configuration is shown now. Modify ONLY when required > Next;
- Disk space requirements will be checked > Next;
- Server Configuration will be shown with the related service accounts > Next;
- Full-Text Upgrade. I have chosen the default option, Import > Next;
- Error Reporting. Choose what’s default for the company you’re working for > Next;
- Upgrade Rules will be processed now. When all is done > Next;
- Now stop the OM12 SP1 Management Servers since SQL Server will upgraded in the next step. During that process no data will be written to the OM12 SP1 databases. Therefore it’s better to shutdown the OM12 SP1 Management Servers. Communicate this with the end-users of OM12 SP1.
- Ready to Upgrade screen will be shown. Check the summary. When all is OK > Upgrade;
- Upgrade Process screen is shown now. Be patient, it will take a while;
- When the upgrade is finished it will show whether all SQL instance features and components were upgraded successfully. There is also a summary log file. Check it and when all is OK > Close.
- Browse to http://localhost/reports in order to check the health of the SSRS instance. Normally you should see the web interface of SSRS. Please note, this web interface is based on SQL Server 2012;
- Restart the OM12 SP1 Management Servers and when they’re running start the OM12 SP1 Console in order to see all is really OK;
- Now it’s time to reinstall OM12 SP1 Reporting. Open the OM12 SP1 installation media on the SQL 2012 Server and run Setup.exe;
- Install > select Reporting Server > Next > select installation location > Next > Next > Accept EULA > Next;
- Specify an OM12 SP1 Management Server > Next > select the SQL Server DB instance which is the local SQL Server instance > Next > Enter the credentials for the Data Reader Account;
- Select whether or not to join ODR > > Select Next whether or not to use Windows Update for OM12 SP1 Reporting > Next;
- Installation Summary screen is shown. Check and when all is OK > Install;
- After a while OM12 SP1 Reporting is successfully installed. Within an hour the Reports, present in the imported MPs, will be uploaded to SSRS;
- Only when required: Restore customized Reports using this tool;
- Reinstall the OM12 SP1 Agent on the SQL server.
And now SQL Server 2008 R2 SP1 hosting the OM12 SP1 databases is successfully upgraded to SQL Server 2012 SP1. Nice!
Thanks Daniele for sharing your personal upgrade experiences. Much appreciated! I owe you a beer!
4 comments:
daniele and marnix - you are right on and this is the recommended procedure you will find in OpsMgr 2012 Unleashed, Chapter 6 (Upgrade and Migration). - JJ
Thanks John for your feedback. Much appreciated.
Cheers, Marnix
Daniele, Marnix Happy New Year...
Thanks for this excellent post.. one hurdle less...
I am testing the upgrade SCOM 2012 UR11 to SCOM 2016 UR1 and apparently the same process about SQL 2012 to be upgraded needs to be dome. One question is it for both instance OperationsManager\RepoertServer & OperationsManagerDW\ReportsServer as well...
Thanks,
Dom
Hi Dominique.
Thanks for you wishes. Same to you.
Yes, SQL server needs to be at least on SQL Server 2014 level, this goes for all SCOM components, Reporting included.
BUT... for quite a few environments I've already run the upgrade and those environments run SQL Server 2012 SP2 or later (SP3).
And that works just fine. Please know this is not OFFICIALLY supported though.
Just my two cents and own experiences out of the field.
Cheers,
Marnix
Post a Comment