For Items with a * be sure to perform the step on all web servers, scripts servers and cache servers [[BR]] Currently (As of 2/1/10):[[BR]] * Wombat, Triok, and Numbat are web servers; [[BR]] * Pademelon is scripts server; [[BR]] * Kangaroo is cache server. 1. Merge the last Beta branch onto Trunk, resolve all conflicts and do a commit back to Trunk.[[br]] -> Go to your local working copy of Trunk (i.e. cd hgplatform_development).[[br]] #: svn merge http://fullturn.svnrepository.com/svn/hgmain/branches/hg_release_betaX [[br]] #: svn commit -m "Trunk merged with Beta X"[[br]] 2. Create a new branch for the Beta release, copy trunk to it.[[BR]] #: svn cp http://fullturn.svnrepository.com/svn/hgmain/trunk http://fullturn.svnrepository.com/svn/hgmain/branches/hg_release_betaY -m "Beta Y Release of HG Platform"[[BR]] 3. Checkout the new branch to a new release folder on the Production server. *[[BR]] #: cd /var/www[[BR]] #: svn co http://fullturn.svnrepository.com/svn/hgmain/branches/hg_release_betaY [[BR]] 4.Make sure all the tables and fields match[[BR]] http://devwww.healthgurumedia.com/dbcompare.php?db1=hgplatform&ip1=localhost&db2=hgplatform&ip2=97.107.134.141&pass=111 [[BR]] 6.Run install.php (its in root folder for the release i.e. /var/www/hg_release_betaY). *[[BR]] #: php install.php (if it doesnt work make it executable by : chmod a+x install.php) 7. Update the CDN with latest version of Static Files (CSS and Javascript files) < add information here > 8.Check config and restart nginx server *[[BR]] #: nginx -c /etc/nginx/nginx.conf -t [[BR]] #: /etc/init.d/nginx restart[[BR]] 9. Restart kangaroo and cuscus memcache #: /etc/init.d/memcached restart 10. Update cuscus static memcached (in any production scripts folder) #: php init.memcached.php ---- For Squid/if running nginx no farther action is required.[[BR]] Shut squid down. ssh to cuscus.healthgurumedia.com. Clear the squid cache folder (/var/spool/squid) on Cuscus. Rebuild cache and restart squid.[[BR]] #: ssh root@cuscus.healthgurumedia.com[[BR]] #: squid -k shutdown [Note: Repeat this until you receive the message that no squid is running] [[BR]] #: cd /var/spool[[BR]] #: mv squid squid.old[[BR]] #: mkdir squid[[BR]] #: chmod 777 squid[[BR]] #: squid -z[[BR]] #: squid[[BR]] #: rm -rf squid.old[[BR]] ---- 10.Make sure everything is working[[BR]] [[BR]] '''For Items with a * be sure to perform the step on all production servers (See list at top of page).''' [[BR]] Version 1.2 [[BR]] Last Update: 2/01/2010