Times+ Deployment
by Paul Serby

1. Action Plan
1.1. Iain: Install ionice
1.2. Dom: Rsync data to need new location
1.3. Iain: Clear /etc/apache/sites-enabled
1.4. Iain: Workout holding page apache
1.5. Run unit tests
1.5.1. Paul: IAM
1.5.2. Hannah Selenium
1.6. 2pm
1.7. Iain: Put up holding page allowing Clock to still have access referencing non-live location
1.8. Iain: Ensure others can't see site
1.9. Dom: Rsync data to need new location
1.10. Move the current TimesPlus TImesPlus.bak
1.11. phing deployProduction
1.12. Check folder exisits
1.13. phing setup
1.14. Check startup.php
1.15. Check vhost.conf
1.16. Compare vhost.conf with current live vhost.conf
1.17. Symlink vhost.conf to /etc/apache2/sites-enabled/www.mytimesplus.co.uk.conf
1.18. Removing old symlink
1.19. rsync TimesPlus.bak/Sites/newsletter/ back
1.20. Paul: Run IAM unit test
1.21. Manually change vhost to include non-clock holding page
1.22. Restart apache
1.23. Iain: Ensure others can't see site
1.24. Hannah: Run automated testing
1.25. All: Smoke tests
1.26. Smoke test mobile site
1.27. Manually remove holding page
1.28. Restart apache
1.29. Ensure all can view site
1.30. Paul: Notify NI of deployment
1.31. Cron jobs need checking
1.32. Iain: Update backup to include new locations
2. What has changed?
2.1. Site
2.1.1. Atrox
2.1.1.1. Now in site
2.1.1.2. New node
2.2. Structure
2.2.1. Moving dynamic files out of project folder
2.2.1.1. Data/Binary
2.2.1.1.1. To /var/data/application/NewsInternational/TimesPlus/Binary/
2.2.1.2. Data/Cache
2.2.1.2.1. To /var/data/application/NewsInternational/TimesPlus/Cahce/
2.2.1.3. Log
2.2.1.3.1. To /var/log/application/NewsInternational/TimesPlus/Log
2.2.2. Apache Config
2.2.2.1. No prepend. There is vhost
2.2.2.2. New node
2.3. New Deployment Method
2.3.1. Incremental backup
2.3.2. deployProduction
2.3.3. All