Search
/
|
|
|

 

Setting Up and Updating a Production Environment

Setting up a Production Environment for the First Time

Migrating an EfficiencySpring installation from a Development or test environment to a Production environment is fairly straightforward for the first migration. Below are the steps necessary.

  1. Setup a website in Internet Information Services for the EfficiencySpring files. It should be running in the .NET 2.0 or .NET 4.0 Framework. Copy all of EfficiencySpring’s files to the actual folder that the website maps to.
     
  2. EfficiencySpring’s web.config file has settings for Development, Test, and Production modes. If you are already running an EfficiencySpring development environment, the Development settings are most likely already filled out. Update the file with the Production settings (prefixed with a "live-" notation).
     
  3. Prep the EfficiencySpring database for production use.
    1. Update the Lu_DB_Connection table with connection strings and File Manager paths that belong to the Production environment.
    2. In the Section Administration tool, for each section configuration where a Development connection string is specified, insure a Production Connection string is also setup.
       
  4. Copy the EfficiencySpring database to the Production environment
    1. There are multiple ways of accomplishing this
      1. Copy the database structure using the “Generate Scripts…” tool, and then copy the data using the “Export Data…” tools.
        1. When using using the "Export Data…" tool, it’s important that the "Enable Identity Insert" setting is enabled for every table with an auto-incrementing field.
      2. Copy the database structure and its data using the "Generate Scripts…" tool (SQL Server 2008 only).
      3. Use SQL Server’s native "Copy Database…" tool.
         
    2. Once the EfficiencySpring database is copied, it’s recommended the records in the following tables be emptied
      1. Email_Log
      2. File_Manager
      3. Record_Comments
      4. Record_Owner
      5. SiteHitInfo
      6. Obj_History
      7. Obj_History_Field
      8. Sec_Log
         
  5. Once your EfficiencySpring Production environment is running, there’s a couple steps final steps to take.
    1. Go to the "ID Management" administrative tool, and click the "Correct Under-Valued IDs" link.
    2. Delete any test records within your EfficiencySpring Data Manager sections that might have been copied over.
       

Deploying Updates to an Existing Production Environment

Deploying updates to an existing Production Environment is a bit more complicated than setting up a new one; however, with a standard checklist, these updates can be done predictably and safely. Below are the steps to follow:

  1. Take downtime. Schedule the update for brief period where no users will be on the site.
     
  2. Copy any new database tables to the Production databases.
     
  3. Update the structures of existing Production database tables with any additional columns that were added to their development counterparts.
     
  4. Copy the data from the following EfficiencySpring configuration database tables into the Production EfficiencySpring database, replacing any existing records:
    1. Group_Rights
    2. Groups
    3. ID_Table
    4. Section
    5. Section_Green_Metrics
    6. Section_Replace
    7. Section_Report_Column
    8. Section_Report_Subreport
    9. Section_Rule
    10. Section_Rule_Condition
    11. Section_Rule_Result
    12. Section_Structure
    13. Section_Submenu
    14. Section_Subview
    15. Section_Tree
       
  5. IMMEDIATELY go to the "ID Management" administrative tool, and click the "Correct Under-Valued IDs" link.
     
  6. Manually create any new content pages in the Production environment that had been created in the Development environment.
     
  7. Manually copy any new and updated files and folders from the Development website folder to the Production website folder.

 

 


Printable Version