On 6/10/13 3:48 , Dharmesh Kakadia wrote: > Hey Vinod, Thanks for a quick reply. I tried the ec2 script and it worked > great, except for one issue in key fingerprint. The script was failing > because of it while doing rsync. Once I manually connected and added it to > known-host list, everything worked. > > After reading mesos-ec2 script this are the steps in my understanding. > Please correct me if I am missing anything > > 1. create security groups for master, slave and zookeeper. > 2. get latest AMI number and get the image. > 3. create device mapping > 4. launch slave > 5. launch master > 6. launch zookeeper > 7. wait for instances to come up > 8. ssh-copy-ids > 9. rsync > 10. run mesos setup script > > I was not able to particularly well understand the operations done in temp > directory (line number :424 to 440). Any pointer ?
[Vinod answered the question. Note /root/mesos-ec2/cluster-url, /root/mesos-ec2/master, etc. in the deploy.<os> directory.] I'd be wary of following the EC2 scripts closely as they are a bit of out-of-date. The AMI they point to probably has a 2011 version of Mesos, and it looks like the scripts need to be fixed to work with a recent version of Mesos. (In particular, the scripts look like they may predate the autotools changes and definitely predate the new Hadoop-on-Mesos port.) I've filed a JIRA, MESOS-500, for this. - Charles > > Thanks, > Dharmesh > > > > On Mon, Jun 10, 2013 at 9:14 AM, Vinod Kone <[email protected]> wrote: > >> Hey Dharmesh. I am not aware of any AWS Cloudformation templates for Mesos. >> Glad to see you working on it though! Let us know if you have further >> questions or need help. >> >> >> On Sun, Jun 9, 2013 at 5:56 AM, Dharmesh Kakadia <[email protected] >>> wrote: >> >>> Hi, >>> >>> I am planning to create mesos template for AWS cloudformation service ( >>> http://aws.amazon.com/cloudformation/). I wanted to know if there is >>> already any effort in community ? I am aware of the ec2 deploy scripts. >>> Please point me to resources that will help. >>> >>> Any Suggestions ? >>> >>> (Newbie here, so correct me) >>> >>> Thanks, >>> Dharmesh >>> >> >
