Set up a lab environment with production data

This article explains how to create a lab environment and populate it with production data so that upgrades can be performed and tested before an actual upgrade in the production environment. The procedures in this article show you how to configure Service Manager in a lab environment with production data. You then perform an in-place upgrade. It's important to follow the steps in this article in the order that they appear.

In the production environment:

  1. Install an additional management server in the production service manager management group
  2. Install any cumulative updates that you installed on the Primary Management server on the Secondary Management Server.
  3. Copy the Workflow Assembly Files
  4. Disable Service Manager Connectors in the Production Environment
  5. Disable Email Notifications in the Production Environment
  6. Disable all workflows in the production environment that you don't want to be running in the lab environment.
  7. Stop Service Manager Services on the Secondary Management Server
  8. Back Up the Production Service Manager Database
  9. Enable Service Manager Connectors in the Production Environment
  10. Enable Email Notifications in the Production Environment
  11. Enable all workflows in the Production Service Manager environment that you disabled in step 6.

In the lab environment:

  1. Restore the Service Manager Database in the Lab Environment

  2. Prepare the Service Manager Database in the Lab Environment

  3. If possible, block communications to SQL from the Secondary Management server to the production Service Manager Database server.

  4. Start Service Manager Services on the Secondary Management Server

  5. Verify that the lab environment works. Try to open the console on the Secondary Management server and see if you can connect to the console. Confirm that the Data Warehouse and Reporting don't appear. After you confirm that this works, complete the rest of the steps.

  6. Promote a Secondary Management Server in a Lab Environment

  7. Enable the Connectors in the Lab Environment

    Note

    Don't enable or delete the Operations Manager alert connector in the lab environment. This will cause the alert connector in the production environment to fail.

  8. If you want to test the email notification and incoming email functionality, use a separate SMTP instance to send emails to eliminate flooding the inboxes of users with test emails. To test the incoming email feature, you can point to a test share and drop the eml files into this share when you're ready to test.

  9. Install a New Data Warehouse Server in the Lab Environment

  10. Register the Data Warehouse Server in the Lab Environment

  11. Back up this lab environment; for example, back up the database and encryption keys and VM Snapshots. This gives you the ability to recover in case the upgrade fails.

  12. If you're able to successfully complete all the previous steps, you're ready to attempt the in-place upgrade.

  13. Test everything. Document any discrepancies and fixes. Send feedback through the MS Connect website.

  14. Back up the Service Manager lab environment; for example, back up the database and encryption keys and VM Snapshots. This gives you the ability to recover in case the upgrade fails.

  15. The lab environment is now ready for a Service Manager in-place upgrade.

Next steps