Closed Bug 661919 Opened 15 years ago Closed 15 years ago

Put elastic search on khan and hudson

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clouserw, Assigned: oremj)

References

Details

We're using the metric's boxes for elastic search now, but we need a test box for it. Please install elastic search on khan (I didn't see it in yum).
Summary: Put elastic search on khan → Put elastic search on khan and hudson
We need this on hudson as well for testing.
Severity: normal → major
Assignee: server-ops → ashish
Assignee: ashish → jeremy.orem+bugs
As far as I know metrics set up elasticsearch, so I'll need instructions.
Assignee: jeremy.orem+bugs → nobody
Group: metrics-private
Component: Server Operations → Data/Backend Reports
Product: mozilla.org → Mozilla Metrics
QA Contact: mrz → data-reports
Version: other → unspecified
This is going to block AMO features from going live shortly. marking blocker
Group: metrics-private
Severity: major → blocker
Blocks: 651287
Anurag, can you help with this?
For hudson and khan default settings should be fine. I'd just download the latest elasticsearch. You might need to make some daemony start/stop scripts. Oremj, I'm around if you want to ping me while you set this up. I don't know how to write starty-stoppy scripts, otherwise I'd just set it up on khan and hudson... if you have an example of one I can follow that.
./bin/elasticsearch -f should run it in foreground. Couple of things to consider though: 1 - what's the name of the cluster 2 - how many nodes are part of the cluster 3 - need to add nightly backups 4 - depending on load, we might need to create aliases to avoid hotspots. @davedash - canu provide some load estimates?
aphadke - there shouldn't be much load, khan will be used for development, and hudson just for testing - we can address hotspots later if that arises, but assume low load.
@davedash - ah~ i mistook this to be prod environment, points 1,2,3,4 are moot then :)
Assignee: nobody → server-ops
Component: Data/Backend Reports → Server Operations
Product: Mozilla Metrics → mozilla.org
QA Contact: data-reports → mrz
Version: unspecified → other
Assignee: server-ops → jeremy.orem+bugs
Elasticsearch is running on khan out of /opt/elasticsearch. The config is default, can someone verify? After verification I will install it on hudson.
Verified: [ddash@khan ~]$ curl -XGET http://localhost:9200 { "ok" : true, "name" : "Vargas", "version" : { "number" : "0.16.2", "date" : "2011-05-31T23:43:18", "snapshot_build" : false }, "tagline" : "You Know, for Search", "cover" : "DON'T PANIC", "quote" : { "book" : "So Long And Thanks for All the Fish", "chapter" : "Prologue", "text1" : "Many were increasingly of the opinion that they'd all made a big mistake in coming down from the trees in the first place. And some said that even the trees had been a bad move, and that no one should ever have left the oceans.", "text2" : "And then, one Thursday, nearly two thousand years after one man had been nailed to a tree for saying how great it would be to be nice to people for a change, a girl sitting on her own in a small café in Rickmansworth suddenly realized what it was that had been going wrong all this time, and she finally knew how the world could be made a good and happy place. This time it was right, it would work, and no one would have to get nailed to anything.", "text3" : "Sadly, however, before she could get to a phone to tell anyone about it, the Earth was unexpectedly demolished to make way for a new hyperspace bypass, and so the idea was lost, seemingly for ever.", "text4" : "This is her story." } }
Installed on sm-hudson01. RHN says I have to wait to install anything on dm-hudson-slave01 :-(, but once that resolves puppet should install this all automatically.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
What is the package name to install? We also need this on dp-amo-landfill01
We don't have a package, just a puppet class. Basically, we just install the tarball and run it from supervisord. I can add it to dp-amo-landfill if needed.
That would be great. Do you want a separate bug? Thanks
Yeah, sounds good.
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.