Closed
Bug 519542
Opened 15 years ago
Closed 15 years ago
Update addons.mozilla.org on Sep 29
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: clouserw, Assigned: dmoore)
References
()
Details
Attachments
(1 file)
8.58 KB,
text/plain
|
Details |
This is a production AMO push for 5.1. Steps are below, please paste the output of all commands into this bug. I expect there to be downtime so please use a maintenance page. Steps to follow: 1)There are three new defines to copy from config.php.default to config.php: SPHINX_HOST & SPHINX_PORT: I don't know these values, but chizu should. He also says this is ready to go, but I don't have many details here. I guess it's using the same hardware as preview.amo. MAILCHIMP_API_KEY: This is the same one as preview.amo is using. 2) Run a script. This may take a while: cd /bin/run_once/ python uniquify_usernames.py 3) Setup Sphinx: cd /site/app/config/ and follow the directions at https://intranet.mozilla.org/WebSites#Sphinx . Skip step 1, 5, and 6. Look at preview.amo if in doubt or ask webdev. 4) Run the attached 5.1 SQL (I'll attach it soon - I'm waiting on the sql servers...) 5) Update addons.mozilla.org. There are a couple local changes which need to be reverted. Double check this but I think you should only need to run from /site/app/: svn revert -R . svn up 6) Update services.addons.mozilla.org with `svn up` 7) Restart apache to pick up gettext changes 8) Clear all caches (Zeus, memcache, local cake cache) on both AMO and SAMO. 9) Update the ca_gen2 template on forums.amo. Should just be an svn up. 10) Add the maintenance.php blog cron job. Copy from preview, just change the file path. I still need to tag the site so this bug is serving as advanced notice for now. Please wait for a comment from me here before updating. Thanks.
Assignee | ||
Comment 1•15 years ago
|
||
Step 3 is being completed in advance by chizu on pm-app-sphinx0[12].
Assignee | ||
Updated•15 years ago
|
Assignee: server-ops → dmoore
Assignee | ||
Comment 2•15 years ago
|
||
New load-balanced VIP has been created and enabled: pm-app-sphinx.mozilla.org (10.2.83.69) This balances between pm-app-sphinx0[12] on ports 3312 and 3313
Assignee | ||
Comment 3•15 years ago
|
||
SPHINX_HOST = 10.2.83.69 SPHINX_PORT = 3313
Reporter | ||
Comment 4•15 years ago
|
||
Reporter | ||
Comment 5•15 years ago
|
||
(In reply to comment #4) > Created an attachment (id=403658) [details] > 5.1.sql This took a little over an hour to run on the dev box
Reporter | ||
Comment 6•15 years ago
|
||
Everything is tagged. I expect to be online tonight
Reporter | ||
Comment 7•15 years ago
|
||
One more step that I missed is to `svn up` the template we're using on forums.amo. Jeremy said he made it an external so it should be easy to find and update. Thanks.
Reporter | ||
Comment 8•15 years ago
|
||
> One more step that I missed is to `svn up` the template we're using on
> forums.amo. Jeremy said he made it an external so it should be easy to find
> and update.
Oh, that is step 9. Well, it's an external so that should help you find it.
Assignee | ||
Comment 9•15 years ago
|
||
5.1 sql executed on tm-amo01-master01
Assignee | ||
Comment 10•15 years ago
|
||
SAMO updated to revision 52595.
Assignee | ||
Comment 11•15 years ago
|
||
AMO updated to revision Updated to revision 52595.
Assignee | ||
Comment 12•15 years ago
|
||
ca_gen2 template on forums.amo updated to revision 52595.
Assignee | ||
Comment 13•15 years ago
|
||
cronjob installed
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reopening until bug 519634 is fixed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 15•15 years ago
|
||
SAMO config updated per Step 1
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Calling this fixed (and slightly crossing fingers); we know the following works, in addition to the regular, basic stuff: * Search * SAMO * Developer Hub There were a few developer hub bugs (one with localization), and all have been filed -- verified fixed.
Status: RESOLVED → VERIFIED
Comment 17•15 years ago
|
||
Still only serving from San Jose. Is that on purpose or can DNS be updated back to amo.glb.mozilla.net?
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 18•15 years ago
|
||
We can revert back to amo.glb.mozilla.net, will take care of it shortly.
Assignee | ||
Comment 19•15 years ago
|
||
Back to global distribution
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•