Checklist - Deploying PhaST Automation (2010-07-27)
- Plan/schedule the deployment - DONE (planned for 7/27/2010)
- Notify users of downtime - DONE
- Create a change control summary and forward to RIS/RIC - DONE
- Verify access from automation server (ServerRESRICPROD01? ) to PhaST web app server (ServerRESC3LINUX01 via the c3big.org passthrough on ServerRESC3WEB) - DONE
- Document the Subversion revision used for QA testing (ver: 744) - DONE
- Backups of web app on ServerC3LINUX01? - DONE
- Backup production MySQL database, phastprod - DONE (See ProductionPhaSTFullDataExport for general instructions; backup stored in /home/kramere/phastprod-2010-07-27.sql)
- Backup production PhaST web folder, /rails/phastprod - DONE (backup stored in /home/kramere/phastprod-2010-07-27.zip)
- Migrate/adjust the settings data, etc. - DONE
- Take production PhaST web "offline" - DONE - Instructed users to stay out
- Record current SVN revision of phastprod - DONE - R629 with uncommitted duplicates of inbound changes (data export feature "forked" in earlier for Dr. Gardner)
- Update /rails/phastprod to desired SVN revision and resolve any conflicts - DONE
- Perform database migration task (export RAILS_ENV=production; rake db:auto:migrate) - DONE
- Initial copy/export of settings from QA/UAT environment and into the Production environment - DONE
- Restart server (touch tmp/restart.txt) and examine settings via URL: http://www.c3big.org/phast/iphone/settings - DONE
- Revise settings in light of meeting with Dr. McBee-Strayer - DONE
- Have Jason review settings - DONE
- Make sure NO participants are in the Contact Queue (for now) - DONE
- Make sure the CQP is DISABLED - DONE
- Ensure ONLY a test PTS is enabled - DONE
- Make a manual call to the diagnostic participant to ensure basic calling works - DONE
- Cleanse "prefered time to call" field values to ensure they are parseable (summary of changes to Sandy) - DONE
- Build the automatoin deployment application package for Production - TODO
- See high-level instructions documented in DeployingAJRubyConsoleService
- Take deployed application folder from QA and perform 'diff' against SVN revision to use (double-check)
- Construct new application folder - DONE
- Verify PhaST web app endpoint is configured for production: "/phast" inside API setup call in /WEB-INF/classes/jruby/startup.rb - DONE
- Deploy the automation web application to Glassfish on ServerRESRICPROD01? - TODO
- Copy application folder contents into: \\69.24.144.202\c$\Program Files\glassfishv3\glassfish\domains\domain1\applications\phast-automation-prod
- Deploy app via Glassfish console
- Remote desktop to RESRICPROD01 (69.24.144.202) (see KeePass? database)
- Open http://localhost:4848/ and log in as the admin user (see KeePass? database)
- Click "Applications", "Deploy..."
- Select "Local Packaged File or Directory..." and use the following folder: c:\Program Files\glassfishv3\glassfish\domains\domain1\applications\phast-automation-prod
- Choose "Type" of "Web Application", leave defaults and click "Ok"
- Review the glassfish log here: \\69.24.144.202\c$\Program Files\glassfishv3\glassfish\domains\domain1\logs\server.log
- Test the deployment - TODO
- Adjust the diagnostic participant to use a test phone number; adjust meds started date so that contact is due - DONE
- Ensure ONLY a test PTS is enabled - DONE
- Add ONLY the diagnostic participant to the Contact Queue via the automation interface here: http://www.c3big.org/phast/iphone/home - DONE
- Enable the CQP - DONE
- Watch the log and perform basic testing with the diagnostic participant - DONE
- Revise the AppTracker entries with the deployment details - NOT DONE... had to use ServerRESRICDEV02
NOTE - 7/27/2010, ESK - Deployment to
ServerRESRICPROD01? failed. Had issues deploying the web application; need to revisit/retry. In meantime, deployment was done to
ServerRESRICDEV02 alongside the UAT deployment.
Topic revision: r4 - 27 Jul 2010 - 20:26:23 -
EricKramerAppTracker.ChecklistDeployingPhaSTAutomation2010-07-27 moved from AppTracker.DeployingPhaSTAutomation2010-07-27 on 27 Jul 2010 - 18:20 by EricKramer -
put it back