StarCluster - Mailing List Archive

Re: Little question

From: Sergio Mafra <no email>
Date: Tue, 26 Jun 2012 11:43:15 -0300

Hi Don,

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).

best regards,

Sergio

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
> >
>
Received on Tue Jun 26 2012 - 10:43:17 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject