Pages

Sunday 12 January 2014

Installing Apache Mesos

Apache Mesos: Cluster Management tool , universally used to install analytical frameworks like Hadoop, spark or storm on clusters.
For high availability of Mesos(master) it uses zookeeper.
To install more than analytical framework, for eg. to install ruby, or rails, or pythong on servers it can be used. Twitter Aurora is developer to provide this feature over mesos

To make running and monitoring cron jobs easy, one can install install over mesos cluster (require zookeeper) and can submit cron jobs via this chronos gui
One create its own framework over mesos cluster as well.


Following following steps to get mesos installed on Ubuntu 12.04 (AMD 64) server instance. If your machine is different, follow the instructions given at: http://mesosphere.io/downloads/?ref=homebtn, by clicking on "instruction" link given next to OS
  1. Install prerequisites
    1. sudo apt-get update
    2. sudo apt-get install zookeeperd default-jre python-setuptools python-protobuf curl
  2. Install Mesos Package
    1. curl -sSfL http://downloads.mesosphere.io/master/ubuntu/12.04/mesos_0.16.0-rc2_amd64.deb --output /tmp/mesos.deb
    2. sudo dpkg -i /tmp/mesos.deb
  3.  Install Mesos Python Egg(Optional)
    1. curl -sSfL http://downloads.mesosphere.io/master/ubuntu/12.04/mesos_0.16.0-rc2_amd64.egg --output /tmp/mesos.egg
    2. sudo easy_install /tmp/mesos.egg
  4. Reboot to activate Mesos and Zookeeper
    1. sudo reboot


Resources:
  • Twitter Aurora: https://github.com/apache/incubator-aurora
  • Airbnb Chronos: https://github.com/airbnb/chronos
  • Installation of Apache Mesos : http://mesosphere.io/downloads/
  • Apache Mesos learning resource: http://mesosphere.io/learn/

No comments:

Post a Comment