Version 34 (modified by lei, 15 years ago)

--

For Items with a * be sure to perform the step on Wombat, Triok, Numbat, Pademelon and Koala.
Currently (As of 5/13/2010):

  • Wombat, Triok, and Numbat are web servers;
  • Pademelon is scripts server;
  • Koala is heavy lift server;
  • Kangaroo is cache server.

X= former release Y= current release --->= add more info

1. Merge the last Beta branch onto Trunk, resolve all conflicts and do a commit back to Trunk.

-> Go to your local working copy of Trunk (i.e. cd hgplatform_development). #: svn merge http://fullturn.svnrepository.com/svn/hgmain/branches/hg_release_betaX #: svn commit -m "Trunk merged with Beta X"

2. Update the staging server (bandicoot) when the merge is done (folder hgstage not hg_release_beta16_4)

3. Check for any merge errors; Everyone check healthgurumedia.com and channels for errors

4. Create a new branch for the Beta release, copy trunk to it.

#: 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"

4.1. Update change log for release

5. Checkout the new branch to a new release folder on the Production server. *

#: cd /var/www #: svn co http://fullturn.svnrepository.com/svn/hgmain/branches/hg_release_betaY

6.Make sure all the tables and fields match

http://devwww.healthgurumedia.com/dbcompare.php?db1=hgplatform&ip1=localhost&db2=hgplatform&ip2=97.107.134.141&pass=111

--->6.1. If they don't:

7.Run install.php (its in root folder for the release i.e. /var/www/hg_release_betaY). *

#: php install.php (if it doesn't work make it executable by : chmod a+x install.php)

--->7.1. choose the right things in install.php (like what's the difference between a web and a scripts server)

--->8. Update the CDN with latest version of Static Files (CSS and Javascript files)

< add information here >

9.Check config and restart nginx server *

#: nginx -c /etc/nginx/nginx.conf -t #: /etc/init.d/nginx restart

10. Restart kangaroo memcache

#: /etc/init.d/memcached restart

11.Make sure everything is working

For Items with a * be sure to perform the step on all production servers (See list at top of page).

Version 1.2 Last Update: 4/20/2010