You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Gary Malouf <ma...@gmail.com> on 2014/12/10 00:44:22 UTC
Simplest approach to installing Mesos
I'm trying to figure out the optimal approach for setting up a new Mesos
cluster for a client. Some of the options I see:
1) Rely on Apache EC2 deployment scripts that pull the latest Mesos AMI
Open Question: What are the security settings like for this setup?
2) CloudFormation Template
3) Create/Find Docker containers to run Mesos in (saw on mailing list today)
4) Manual install (add yum repos and probably script via Ansible) - this is
what I've done in the past but found it a bit painful.
I wanted to get an idea for what others are using for their production
clusters? We want something quick, secure and easy to maintain/update down
the line.
Re: Simplest approach to installing Mesos
Posted by Billy Bones <ga...@gmail.com>.
Yep,
I'm actually using Ansible to manage all installation process which
otherwise will require a human intervention.
Indeed, I'm working on something which is more or less an "One command,
Install all" process using Docker, Ansible, Cobble and Consul.
I think the only tool/company/service that I know and which is able to push
a nearly complete mesos cluster ready to rumble is mesosphere DCOS which
just pop out and will be available in 2015 if I'm not wrong:
http://mesosphere.com/product/
I can't find it anymore but remember that I've seen a mesosphere ready to
boot demo cluster somewhere on their website or on the tutorials
documentation.
2014-12-10 10:52 GMT+01:00 Dick Davies <di...@hellooperator.net>:
> Sure, but you also need to configure each part
> (zookeeper, typically IP addresses, HA master config etc). A CM tool
> can really help there.
>
> The GCE + Mesosphere install is pretty good in my experience, but it
> doesn't help
> you on bare metal installs that some clients need.
>
> On 10 December 2014 at 08:59, Billy Bones <ga...@gmail.com> wrote:
> > Or you can just grabe the lastest Fedora release and made a yum install
> -y
> > mesos-master or yum install -y mesos-slave depending the node purpose.
> >
> > If you absolutly want to run a mesos cluster in the cloud, what about
> > mesosphere and their mesos's simple installation relying on Digital
> Ocean or
> > Google Compute Engine?
> >
> > 2014-12-10 8:54 GMT+01:00 Dick Davies <di...@hellooperator.net>:
> >>
> >> I've got an Ansible playbook to spin up mesos with docker support on
> >> CentOS 6:
> >>
> >> https://github.com/rasputnik/mesos-centos
> >>
> >> there's a sample Vagrantfile there, but it just needs a different
> >> inventory
> >> folder to do VMs or physical servers.
> >>
> >>
> >> On 9 December 2014 at 23:44, Gary Malouf <ma...@gmail.com> wrote:
> >> > I'm trying to figure out the optimal approach for setting up a new
> Mesos
> >> > cluster for a client. Some of the options I see:
> >> >
> >> > 1) Rely on Apache EC2 deployment scripts that pull the latest Mesos
> AMI
> >> >
> >> > Open Question: What are the security settings like for this setup?
> >> >
> >> > 2) CloudFormation Template
> >> >
> >> > 3) Create/Find Docker containers to run Mesos in (saw on mailing list
> >> > today)
> >> >
> >> > 4) Manual install (add yum repos and probably script via Ansible) -
> this
> >> > is
> >> > what I've done in the past but found it a bit painful.
> >> >
> >> > I wanted to get an idea for what others are using for their production
> >> > clusters? We want something quick, secure and easy to maintain/update
> >> > down
> >> > the line.
> >> >
> >> >
> >
> >
>
Re: Simplest approach to installing Mesos
Posted by Dick Davies <di...@hellooperator.net>.
Sure, but you also need to configure each part
(zookeeper, typically IP addresses, HA master config etc). A CM tool
can really help there.
The GCE + Mesosphere install is pretty good in my experience, but it
doesn't help
you on bare metal installs that some clients need.
On 10 December 2014 at 08:59, Billy Bones <ga...@gmail.com> wrote:
> Or you can just grabe the lastest Fedora release and made a yum install -y
> mesos-master or yum install -y mesos-slave depending the node purpose.
>
> If you absolutly want to run a mesos cluster in the cloud, what about
> mesosphere and their mesos's simple installation relying on Digital Ocean or
> Google Compute Engine?
>
> 2014-12-10 8:54 GMT+01:00 Dick Davies <di...@hellooperator.net>:
>>
>> I've got an Ansible playbook to spin up mesos with docker support on
>> CentOS 6:
>>
>> https://github.com/rasputnik/mesos-centos
>>
>> there's a sample Vagrantfile there, but it just needs a different
>> inventory
>> folder to do VMs or physical servers.
>>
>>
>> On 9 December 2014 at 23:44, Gary Malouf <ma...@gmail.com> wrote:
>> > I'm trying to figure out the optimal approach for setting up a new Mesos
>> > cluster for a client. Some of the options I see:
>> >
>> > 1) Rely on Apache EC2 deployment scripts that pull the latest Mesos AMI
>> >
>> > Open Question: What are the security settings like for this setup?
>> >
>> > 2) CloudFormation Template
>> >
>> > 3) Create/Find Docker containers to run Mesos in (saw on mailing list
>> > today)
>> >
>> > 4) Manual install (add yum repos and probably script via Ansible) - this
>> > is
>> > what I've done in the past but found it a bit painful.
>> >
>> > I wanted to get an idea for what others are using for their production
>> > clusters? We want something quick, secure and easy to maintain/update
>> > down
>> > the line.
>> >
>> >
>
>
Re: Simplest approach to installing Mesos
Posted by Billy Bones <ga...@gmail.com>.
Or you can just grabe the lastest Fedora release and made a yum install -y
mesos-master or yum install -y mesos-slave depending the node purpose.
If you absolutly want to run a mesos cluster in the cloud, what about
mesosphere and their mesos's simple installation relying on Digital Ocean
or Google Compute Engine?
2014-12-10 8:54 GMT+01:00 Dick Davies <di...@hellooperator.net>:
> I've got an Ansible playbook to spin up mesos with docker support on
> CentOS 6:
>
> https://github.com/rasputnik/mesos-centos
>
> there's a sample Vagrantfile there, but it just needs a different inventory
> folder to do VMs or physical servers.
>
>
> On 9 December 2014 at 23:44, Gary Malouf <ma...@gmail.com> wrote:
> > I'm trying to figure out the optimal approach for setting up a new Mesos
> > cluster for a client. Some of the options I see:
> >
> > 1) Rely on Apache EC2 deployment scripts that pull the latest Mesos AMI
> >
> > Open Question: What are the security settings like for this setup?
> >
> > 2) CloudFormation Template
> >
> > 3) Create/Find Docker containers to run Mesos in (saw on mailing list
> today)
> >
> > 4) Manual install (add yum repos and probably script via Ansible) - this
> is
> > what I've done in the past but found it a bit painful.
> >
> > I wanted to get an idea for what others are using for their production
> > clusters? We want something quick, secure and easy to maintain/update
> down
> > the line.
> >
> >
>
Re: Simplest approach to installing Mesos
Posted by Dick Davies <di...@hellooperator.net>.
I've got an Ansible playbook to spin up mesos with docker support on
CentOS 6:
https://github.com/rasputnik/mesos-centos
there's a sample Vagrantfile there, but it just needs a different inventory
folder to do VMs or physical servers.
On 9 December 2014 at 23:44, Gary Malouf <ma...@gmail.com> wrote:
> I'm trying to figure out the optimal approach for setting up a new Mesos
> cluster for a client. Some of the options I see:
>
> 1) Rely on Apache EC2 deployment scripts that pull the latest Mesos AMI
>
> Open Question: What are the security settings like for this setup?
>
> 2) CloudFormation Template
>
> 3) Create/Find Docker containers to run Mesos in (saw on mailing list today)
>
> 4) Manual install (add yum repos and probably script via Ansible) - this is
> what I've done in the past but found it a bit painful.
>
> I wanted to get an idea for what others are using for their production
> clusters? We want something quick, secure and easy to maintain/update down
> the line.
>
>
Re: Simplest approach to installing Mesos
Posted by Michael Babineau <mi...@gmail.com>.
>
> 2) CloudFormation Template
Here you go: https://github.com/thefactory/cloudformation-mesos
We use it in production. I'm testing a version bump to 0.21.0 and Marathon
0.7.6 as we speak.
On Tue, Dec 9, 2014 at 4:15 PM, Abhishek Parolkar <ab...@parolkar.com>
wrote:
> Hi Gary,
> I use Babushka based Provisioning
> <https://github.com/parolkar/mesos-babushka> , the reason it has worked
> great for me is because in its current form I leverage vagrant providers to
> spin-up same cluster in AWS/Google cloud as I would run vagrant on my
> laptop. It hasn't disappointed me so far on a cluster of upto 10 EC2/Google
> Cloud instances.
>
> Here is a little screencast from my laptop , which extends my local
> cluster with Google Cloud Instances with vagrant :
> http://youtu.be/pMArmgdCRVc?t=2m56s
>
> Would love to hear others' thoughts
>
> -parolkar
>
>
> On Wed, Dec 10, 2014 at 7:44 AM, Gary Malouf <ma...@gmail.com>
> wrote:
>
>> I'm trying to figure out the optimal approach for setting up a new Mesos
>> cluster for a client. Some of the options I see:
>>
>> 1) Rely on Apache EC2 deployment scripts that pull the latest Mesos AMI
>>
>> Open Question: What are the security settings like for this setup?
>>
>> 2) CloudFormation Template
>>
>> 3) Create/Find Docker containers to run Mesos in (saw on mailing list
>> today)
>>
>> 4) Manual install (add yum repos and probably script via Ansible) - this
>> is what I've done in the past but found it a bit painful.
>>
>> I wanted to get an idea for what others are using for their production
>> clusters? We want something quick, secure and easy to maintain/update down
>> the line.
>>
>>
>>
>
Re: Simplest approach to installing Mesos
Posted by Abhishek Parolkar <ab...@parolkar.com>.
Hi Gary,
I use Babushka based Provisioning
<https://github.com/parolkar/mesos-babushka> , the reason it has worked
great for me is because in its current form I leverage vagrant providers to
spin-up same cluster in AWS/Google cloud as I would run vagrant on my
laptop. It hasn't disappointed me so far on a cluster of upto 10 EC2/Google
Cloud instances.
Here is a little screencast from my laptop , which extends my local cluster
with Google Cloud Instances with vagrant :
http://youtu.be/pMArmgdCRVc?t=2m56s
Would love to hear others' thoughts
-parolkar
On Wed, Dec 10, 2014 at 7:44 AM, Gary Malouf <ma...@gmail.com> wrote:
> I'm trying to figure out the optimal approach for setting up a new Mesos
> cluster for a client. Some of the options I see:
>
> 1) Rely on Apache EC2 deployment scripts that pull the latest Mesos AMI
>
> Open Question: What are the security settings like for this setup?
>
> 2) CloudFormation Template
>
> 3) Create/Find Docker containers to run Mesos in (saw on mailing list
> today)
>
> 4) Manual install (add yum repos and probably script via Ansible) - this
> is what I've done in the past but found it a bit painful.
>
> I wanted to get an idea for what others are using for their production
> clusters? We want something quick, secure and easy to maintain/update down
> the line.
>
>
>