Upgrading 6.9.5 - Deploy to Prod

Author:Aaron S.
Last Updated:September 20, 2021 5:09 PM

Overview

The below steps are for deploy to prod. The goal of this section is to setup the initial prod environment and turn over for testing. It also details resetting the environment and reinstalling, since it is likely that the environment will be set up and then pushed live on another day. 

 

Update internal DNS

  1. Create a ticket to get internal DNS pointed to host-prod-2:
    [clientid]-prod.titanclient.com 127.0.0.1  
    [clientid]-wkst-prod.titanclient.com 127.0.0.1  
    [clientid]-platform-prod.titanclient.com  
    [clientid]-services-prod.titanclient.com

  2. Update HOSTS file on host-prod-2 with client records:  
    [clientid]-prod.titanclient.com 127.0.0.1  
    [clientid]-wkst-prod.titanclient.com 127.0.0.1  
    [clientid]-platform-prod.titanclient.com  
    [clientid]-services-prod.titanclient.com.
    [clientid]-.titanclient.com 127.0.0.1  
    [clientid]-wkst.titanclient.com 127.0.0.1  
    [clientid]-platform.titanclient.com  
    [clientid]-services.titanclient.com.

    TIP: some clients will have additional entries like translations: [clientid].[mx/de] etc

 

Set up host-prod-2 environment

  1. Sign into HOST-PROD-2

  2. Set up environment in prod by running create instance on host-prod-2 in G:\Scripts Be sure to use -BaseVersion 6.9.0.0 so that the restored db is 6.9 in TPI

    • TIP: the TpiAdmin password will be unique. Make sure to save this and add to keepass! If you don’t save the password you will need get this from the services or platform web.config.

  3. Restore prod database backup over prod database. To do this, you will need to copy your database backup to a local location on HOST-PROD-2, such as C:\TEMP
    • Run "G:\Scripts\RestoreDatabase.ps1"
      ​​​
  4. Run LegacyUpgradeDB script to upgrade to 6.9.0.0. Run this from your PC
    • "M:\_tpi\LegacyUpgrades\DatabaseUpgrade\UpgradeLegacyDB.ps1" to upgrade to 6.9.0.0 (as of 9/22/21 UpgradeLegacyDB.ps1 did not work on HOST-PROD-2 due to missing files)
    • This is only necessary if the instance is less than 6.9.0.0
    • You will need to know the version of Titan that you are upgrading from.  Answer the question posed by the script using the format 6.X.X.X.
       
  5. Install prod environment package, this should have dependencies on any other necessary packages (like Social Media Bookmarks if used) and the core package. Once this installs successfully, navigate to display and wkst and confirm that everything is working.
  6. Copy FilePile from prod 
  7. Install Coverage Report package
    1. In Titan Admin, under Content Sites and Blocks, active Coverage Report block
    2. Create an Off nav page called Coverage Report
    3. Add the Coverage Report block, save and publish and refresh
top