StarCluster - Mailing List Archive

Re: Little question

From: C. Titus Brown <no email>
Date: Tue, 26 Jun 2012 07:48:05 -0700

On Tue, Jun 26, 2012 at 11:43:15AM -0300, Sergio Mafra wrote:
> Thanks for the info and what a relief! It?s been done a lot of job on the
> cluster itself and losing everything would be a waste of precious time. I
> was afraid of StarCluster restriction on that based on somebody?s blog that
> tells you should start fresh (not in my case).

Hah, that would be my course materials site :). And I posted that, what,
two weeks ago!? How'd you find it so quickly??

The advice was meant to make sure that you don't have a lot of extraneous
crud lying around on your instance.

cheers,
--titus

> Extract from the blog...
>
> Start up an instance of the type you want to customize
>
> For large instances, I start with the x86_64 AMI on the StarCluster home
> page. That?s currently ami-999d49f0. I start it using the starcluster
> command line, from my local machine:
>
> %% starcluster start -o -s 1 -i m1.large -n ami-999d49f0 customize_me
>
> Then, once it?s started, I log in and install software, configure boot,
> etc. (See *Reusing course
> materials*<http://ged.msu.edu/angus/tutorials-2012/reusing-course-materials.html>
> for an example.) A few notes ?
>
> - don?t put anything in /root that?s not in a hidden (dot) directory;
> the script for building a new AMI will erase everything in that directory.
> - don?t put anything under /mnt if you want it saved as part of the AMI,
> as this will *not* get baked into the new AMI.
> - don?t mount any EBS volumes as they, too, will get baked into the new
> AMI.
>
> Generally I put things under /usr/local/src (if it?s a program) or
> elsewhere under /usr if not. These will get saved as part of the new AMI.
>
> Once you?ve customized things so that everything starts up on boot as you
> want ? TEST THIS!! ? tell starcluster to make a new EBS image:
>
> %% starcluster ebsimage i-9999999 my-new-image
>
> Here you should name it something other than ?my-new-image?. You can figure
> out the correct instance ID by logging into the AWS console and looking, or
> by doing
>
> %% starcluster listclusters
>
> and voila, it will show up under your AMIs!
>
> On Mon, Jun 25, 2012 at 10:15 PM, Don MacMillen <macd_at_nimbic.com> wrote:
>
> > HI Sergio,
> >
> > Yes, of course that should work just fine. In fact you can if you wish,
> > build
> > from the bare Ubuntu server images based on the recipe posted on the
> > starcluster site along with your own software, but taking a snapshot is
> > much easier. We build from the bare server images so I can look customer's
> > in the eye and tell them we know _exactly_ what is on the image but we
> > started out taking snapshots of the images provided by Justin.
> >
> > Regards,
> >
> > Don
> >
> > On Mon, Jun 25, 2012 at 5:21 PM, Sergio Mafra <sergiohmafra_at_gmail.com>
> > wrote:
> > > C'mon friends.
> > >
> > > Need some help here.
> > > Simple question: Building an image from the current instance that I'm
> > using
> > > in the StarCluster will work or not as a golden image for next clusters
> > > configuration?
> > >
> > > Best Regards,
> > >
> > > Sergio
> > >
> > >
> > > Em quarta-feira, 13 de junho de 2012, Sergio Mafra escreveu:
> > >>
> > >> Hi fellows,
> > >>
> > >> After lauching the cluster using StarCluster, we did some custom
> > >> installation on that. Now we want to make it our customized AMI since we
> > >> will need it as base for adding and removing nodes as the load of
> > cluster
> > >> asks for.
> > >> If I build an image of this current AMI using AWS Console, terminate the
> > >> current cluster and relaunch it using the new customized AMI... will it
> > >> work?
> > >>
> > >> All the best and sorry for this newbie questions..
> > >>
> > >> Sergio
> > >>
> > >>
> > >> On Tue, Jun 12, 2012 at 9:29 AM, Sergio Mafra <sergiohmafra_at_gmail.com>
> > >> wrote:
> > >>>
> > >>> Thanks.
> > >>>
> > >>> Em segunda-feira, 11 de junho de 2012, Ron Chen escreveu:
> > >>>
> > >>>> Basically, I think the idea is that StarCluster users can do
> > everything
> > >>>> with the StarCluster command line, with no dependencies on the AWS
> > Console.
> > >>>>
> > >>>> -Ron
> > >>>>
> > >>>>
> > >>>>
> > >>>> ----- Original Message -----
> > >>>> From: Dustin Machi <dmachi_at_vbi.vt.edu>
> > >>>> To: Sergio Mafra <sergiohmafra_at_gmail.com>
> > >>>> Cc: starcluster_at_mit.edu
> > >>>> Sent: Monday, June 11, 2012 2:39 PM
> > >>>> Subject: Re: [StarCluster] Little question
> > >>>>
> > >>>> It is a multistep process, so the star cluster command just makes it
> > >>>> convenient.
> > >>>>
> > >>>> Dustin
> > >>>>
> > >>>> On Jun 11, 2012, at 1:12 PM, Sergio Mafra wrote:
> > >>>>
> > >>>> > Dear Friends,
> > >>>> >
> > >>>> > We will need to have a AMI customized for our particular needs.
> > >>>> > Reading the StarCluster docs a doubt arises...What is the
> > difference of
> > >>>> > preparing a customized AMI using command "starcluster ebsimage
> > i-999999
> > >>>> > mynewAMI" or create image from AWS Console?
> > >>>> >
> > >>>> > All the best,
> > >>>> > Sergio
> > >>>> > _______________________________________________
> > >>>> > StarCluster mailing list
> > >>>> > StarCluster_at_mit.edu
> > >>>> > http://mailman.mit.edu/mailman/listinfo/starcluster
> > >>>>
> > >>>>
> > >>>> _______________________________________________
> > >>>> StarCluster mailing list
> > >>>> StarCluster_at_mit.edu
> > >>>> http://mailman.mit.edu/mailman/listinfo/starcluster
> > >>>>
> > >>
> > >
> > > _______________________________________________
> > > StarCluster mailing list
> > > StarCluster_at_mit.edu
> > > http://mailman.mit.edu/mailman/listinfo/starcluster
> > >
> >

> _______________________________________________
> StarCluster mailing list
> StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster


-- 
C. Titus Brown, ctb_at_msu.edu
Received on Tue Jun 26 2012 - 10:48:09 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject