1. Home
  2. Documentation
  3. Private Host
  4. Private Host: How-To Copy Dev to Production Environment

Private Host: How-To Copy Dev to Production Environment

This article will detail how to migrate/”cut over” from Dev to Prod.

This article assumes the following:

  • Dev databases will be copied over to the new SQL server including
  • SolverDW
  • Solver_Repository
  • Solver_Scheduler

    Databases may be called BI360DW, BI360_Repository, BI360_Scheduler
  • Users have a completely separate production environment which includes
    • Web Server
    • SQL Server
    • Services Server
    • Application server (if needed)
  • Users are familiar with the installation process. This article will not detail the steps of the installer, please reference the installation guide should you have questions.
  • Users are on Solver Private Host 5.2.30319 or newer. If you are installing an older version of Private Host, please contact Solver Support. 

The below steps can be followed whether users are creating a separate Dev or a Production environment. Solver licensing allows for the same keys to be used in both a Production and Dev environment as long as there is only one of each type of environment.

Note: Users are migrating all configurations from one environment to the other. This will include:

  • Publisher subscriptions
  • Assignments
  • Workflows

Steps to Create a Prod Environment Mimicking A Dev Environment

The following will detail the steps needed to create a Production environment that mimics your Development environment.

  1. Ensure that the new web server is whitelisted on the SMTP server.
  2. Begin by taking backups of the databases mentioned above.
  3. Restore the three databases to the new environment.
    1. If you install Private Host version 5.2.30319+, these databases should be restored as SolverDW, Solver_Repository, and Solver_Scheduler. Naming these databases with the Solverprefix can be done if preferred or if you wish to keep the database names the same across your environments.
  4. After restoring the databases, run the following script on the Repository Database to enable Service Broker. It will automatically run against the Solver_Repository or the BI360_Repository, whichever exists on your production SQL server.

  5. Migrate the SSIS package from the DEV SQL server to the Production SQL server and update the settings accordingly.
  6. Navigate to the web server and run the Solver Private Host installer.
    1. If in step 2a, you restored your database as BI360_Repository, please run the reg key file found in the installation download first, prior to running the installer.
    2. Don’t forget to add the IIS APPPOOL\Solver user with read and write permissions to the c:\Program Files\Solver location
  7. After the installation is complete, your site should load on the web browser to http://solver.local. Please do the following where applicable:
    1. Set site bindings (http, https, and redirects). Not required, but commonly needs to be done.
      Note: Solver cannot assist in setting up SSL and Redirects
    2. Update the private host URL in settings system settings. This is required.
    3. Update the connection from the get data menu. This is required.
  8. Navigate to the service’s server and install Service Fabric
  9. Navigate to the service’s server and run the Solver Private Host installer.
    1. If in step 2a, you restored your database as BI360_Repository, please run the reg key file found in the installation download first, prior to running the installer.
  10. After installing SF, run the script below on the Repository database to update the install to point to the new SF install:

  11. Navigate back to the Portal and you should have a fully operating Private Host install that mimics your Dev environment.

You have now completed the process of migrating your dev environment to prod for Private Host. Here are some quick tests to verify everything:

  • Log in as multiple users to verify accounts can log in
  • Run some reports
  • Run a budget template
  • Run a publisher job
  • Ensure that your nightly SSIS package runs
  • Add a user to the application and make sure the user gets the invite.

Updated on June 29, 2023
Was this article helpful?

Related Articles