Last Comment Bug 539074 - [AMO] Update on 1/12
: [AMO] Update on 1/12
01/12/2010 @ 9pm
Product: Infrastructure & Operations
Classification: Other
Component: WebOps: Other (show other bugs)
: other
: All Other
-- normal (vote)
: ---
Assigned To: Jeremy Orem [:oremj]
: matthew zeier [:mrz]
Depends on:
  Show dependency treegraph
Reported: 2010-01-11 13:35 PST by Wil Clouser [:clouserw]
Modified: 2013-10-09 10:29 PDT (History)
5 users (show)
mzeier: needs‑downtime+
See Also:
Due Date:
QA Whiteboard:
Iteration: ---
Points: ---
Cab Review: ServiceNow Change Request (use flag)

5.5.sql (2.84 KB, text/x-sql)
2010-01-11 13:35 PST, Wil Clouser [:clouserw]
no flags Details
SVN up output. (14.48 KB, text/plain)
2010-01-12 21:39 PST, Jeremy Orem [:oremj]
no flags Details
SQL output (4.29 KB, text/plain)
2010-01-12 21:39 PST, Jeremy Orem [:oremj]
no flags Details

Description User image Wil Clouser [:clouserw] 2010-01-11 13:35:01 PST
Created attachment 421128 [details]

This is a production AMO push for 5.5.  Steps are below, please paste the
output of all commands into this bug.  Steps to follow:

1) Run the attached SQL.  I don't know how long it takes because our db server ran out of disk space partway through.

2) Add new cron jobs (when in doubt, just make everything match preview):
  Every 15 min:  php -f maintenance.php l10n_stats
  Every 15 min:  php -f maintenance.php l10n_rss
  Every 3 hours: /usr/bin/python26 collection_addon_count

3) `svn up` the sphinx conf (wherever it lives.  chizu?)

4) `svn up`  Look for local changes first, and `svn revert -R` first if you need to.

5) Configure gearman:
  cd site/vendors/gearman-php
  cp config-dist.php config.php
  vi config.php.  Change the define at the top to:
     define('NET_GEARMAN_JOB_PATH', '../../../bin/gearman_jobs/');

6) Update the main config:
  vi site/app/config/config.php -O site/app/config/config.php.default
  Make sure NET_GEARMAN_SYSLOG_IDENT is defined
  Make sure the $compat_default_version, $compatibility_versions, and $version_aliases arrays are all the same between the two files.

7) Update with `svn up`

8) Restart apache to pick up gettext changes

9) Clear all caches (Zeus, memcache, local cake cache) on both AMO and SAMO.

I still need to tag the site so this bug is serving as advanced notice for now.
Comment 1 User image Jeremy Orem [:oremj] 2010-01-12 21:38:47 PST
Steps 1,2,3,4,5,6,7,8,9 done.
Comment 2 User image Jeremy Orem [:oremj] 2010-01-12 21:39:37 PST
Created attachment 421390 [details]
SVN up output.
Comment 3 User image Jeremy Orem [:oremj] 2010-01-12 21:39:59 PST
Created attachment 421391 [details]
SQL output
Comment 4 User image krupa raj[:krupa] 2010-01-12 22:16:25 PST
everything looks fine on Prod!Hurray!

Note You need to log in before you can comment on or make changes to this bug.