Closed
Bug 727355
Opened 14 years ago
Closed 14 years ago
reconfigure graphs1.dmz.sjc1 to accept writes from talos
Categories
(mozilla.org Graveyard :: Server Operations, task)
mozilla.org Graveyard
Server Operations
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rhelmer, Assigned: rhelmer)
References
()
Details
graphs-old.m.o is still getting writes from the performance machines.
I have configured and tested graphserver staging, and written some notes here:
https://etherpad.mozilla.org/graphserver-2-0-merge-push
Also, I'd like to move over to this repo at the same time:
hg.mozilla.org/users/rhelmer_mozilla.com/graphs
Let me know when you're ready to proceed and I can walk you through the notes of how I got this working on stage, we can make sure the mana docs are updated etc.
Comment 1•14 years ago
|
||
Let's do this on Fri, if it's not too late.
And we can talk tomorrow or Thu about the steps and update the docs.
Assignee: server-ops → dgherman
Assignee | ||
Comment 2•14 years ago
|
||
(In reply to Dumitru Gherman [:dumitru] from comment #1)
> Let's do this on Fri, if it's not too late.
> And we can talk tomorrow or Thu about the steps and update the docs.
Sounds good, thanks! Just FYI I am out next week, but we can make sure there are fallback plans and make sure you know who to contact in case there are any issues.
Assignee | ||
Comment 4•14 years ago
|
||
Walked through the etherpad with dumitru, here are the changes applied:
* install mercurial package
* hg clone to new temporary dir
** mkdir /var/www/html/graphs.hg && chown graphs:graphs /var/www/html/graphs.hg
** add "umask 002" to ~graphs/.bash_profile
** hg clone http://hg.mozilla.org/users/rhelmer_mozilla.com/graphs /var/www/html/graphs.hg
* configure in /var/www/html/graphs.hg :
** js/config.js
** server/api.wsgi
*** needs r/o connection to slave configured
** server/collect.wsgi
*** needs r/w connection to master configured
* mv dist.htacess .htaccess
* mv git clone to backup
** mv /var/ww/html/graphs /var/www/html/graphs.git
* mv hg clone to graphs
** mv /var/ww/html/graphs.hg /var/www/html/graphs
* modify apache config to be like stage
** new WSGIScriptAlias lines for collector/collector.cgi
WSGIScriptAlias /server/collect.cgi /var/www/html/graphs/server/collect.wsgi
WSGIScriptAlias /server/collect /var/www/html/graphs/server/collect.wsgi
** restart apache
** test in https://bugzilla.mozilla.org/show_bug.cgi?id=721884
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•14 years ago
|
||
BTW 'hg tag'd the code here as v2.0, we should start using tags for pushed :)
Updated•11 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•