<div class="gmail_quote">Hi Ryan,</div><div class="gmail_quote"><br></div><div class="gmail_quote">I experimented with addnode a while back:</div><div class="gmail_quote"><br></div><div class="gmail_quote">1) Couldn&#39;t add an on-demand instance to a cluster initiated w/spot-bid instances.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">2) *Could* add a spot-bid instance to a cluster initiated w/on-demand instances.</div><div class="gmail_quote"><br></div><div class="gmail_quote">3) addnode command in any case will add whatever instance type you specify with &quot;-I&quot;, so you can run heterogeneously amongst the compute hosts (with each instance potentially having a different bid price).</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Cheers,</div><div class="gmail_quote">Lyn</div><div class="gmail_quote"><br>---------- Forwarded message ----------<br>From: Ryan Golhar &lt;<a href="mailto:ngsbioinformatics@gmail.com">ngsbioinformatics@gmail.com</a>&gt;<br>
To: <a href="mailto:starcluster@mit.edu">starcluster@mit.edu</a><br>Cc: <br>Date: Thu, 24 Jan 2013 12:39:47 -0500<br>Subject: [StarCluster] adding nodes to an existing cluster of a different instance type<br><div dir="ltr">
Is it possible to add a node to a running cluster that is different from the instance type in the config file?    I didn&#39;t see anything in the docs</div>
<br><br>---------- Forwarded message ----------<br>From: &quot;MacMullan, Hugh&quot; &lt;<a href="mailto:hughmac@wharton.upenn.edu">hughmac@wharton.upenn.edu</a>&gt;<br>To: &quot;&#39;Ed Morris&#39;&quot; &lt;<a href="mailto:ecm200@gmail.com">ecm200@gmail.com</a>&gt;<br>
Cc: &quot;&#39;<a href="mailto:starcluster@mit.edu">starcluster@mit.edu</a>&#39;&quot; &lt;<a href="mailto:starcluster@mit.edu">starcluster@mit.edu</a>&gt;<br>Date: Thu, 24 Jan 2013 17:40:56 +0000<br>Subject: Re: [StarCluster] Amazon AMI 64-bit Ubuntu 11 HVM-EBS for eu-west-1 region<br>






<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Ed:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Woohoo, great news!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Lincoln Stein, maintainer of the VM::EC2 Perl module, has added HVM copy functionality to his (already pretty awesome) module! The module includes the Perl
 script <a href="http://migrate-ebs-image.pl" target="_blank">migrate-ebs-image.pl</a>, which makes copies a breeze.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I just tested it with a copy of a Scientific Linux 6.3 HVM StarCluster image that I use frequently. Here’s the output:<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;;color:#00b050"># <a href="http://migrate-ebs-image.pl" target="_blank">migrate-ebs-image.pl</a> --from us-east-1 --to eu-west-1 ami-XXXXXXXXX<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info] Scanning for existing staging servers and volumes in <a href="http://ec2.us-east-1.amazonaws.com" target="_blank">http://ec2.us-east-1.amazonaws.com</a>.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info] Scanning for existing staging servers and volumes in <a href="http://ec2.eu-west-1.amazonaws.com" target="_blank">http://ec2.eu-west-1.amazonaws.com</a>.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]    Gathering information about image ami-XXXXXXXXX.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]    Copying EBS volumes attached to this image (this may take a long time).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       Copying snapshot snap-XXXXXXXX from us-east-1 to eu-west-1...<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       ...new snapshot = snap-XXXXXXXXXX; status = pending<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]    Waiting for all snapshots to complete. This may take a long time.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">An image named &#39;starcluster-base-scientific-linux-6.3-x86_64-hvm-005&#39; already exists in destination region. Renamed to &#39;starcluster-base-scientific-linux-6.3-x86_64-hvm-005-d88a4dfe&#39;
</span><b><span style="font-family:Wingdings;color:#00b050;background:yellow">ß</span></b><b><span style="font-family:&quot;Courier New&quot;;color:#00b050;background:yellow"> I REALLY LIKE THIS!!!</span></b><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]    Registering snapshot in destination with the equivalent of:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]    ec2-register -n &#39;starcluster-base-scientific-linux-6.3-x86_64-hvm-005-XXXXX&#39; -d &#39;Image created @ 201301202215&#39; -a x86_64 --kernel &#39;&#39; --ramdisk &#39;&#39; --root-device-name
 /dev/sda1 -b /dev/sda1=snap-XXXXXXXXXXX:false:standard<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       Searching for a suitable HVM image in destination region<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       ...Found ami-011b1975 (suse-sles-11-sp2-hvm-v1.01.x86_64)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       Launching an HVM staging server in the target region. Heuristically choosing instance type of &#39;cc2.8xlarge&#39; for this type of HVM..<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       Waiting for instance to become ready.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       Stopping instance temporarily to swap root volumes.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       Detaching original root volume...<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       Creating and attaching new root volume..<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       Creating image in destination region...<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">[info]       Terminating the staging server<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;;color:#00b050">New snapshot is now located in eu-west-1 under ami-XXXXXXXXX.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">No muss, no fuss. As you can see, it has to launch a cc2.8xlarge to do the copy, so it’ll cost you to do the transfer. It’s currently in the hvm-migrate alpha
 GIT tree:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><a href="https://github.com/lstein/LibVM-EC2-Perl/tree/hvm-migrate" target="_blank">https://github.com/lstein/LibVM-EC2-Perl/tree/hvm-migrate</a><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">He’ll be publishing to CPAN today or tomorrow after Windows AMI testing. It will be VM::EC2 1.23 on CPAN.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">So there you go.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">-Hugh<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Ed Morris [mailto:<a href="mailto:ecm200@gmail.com" target="_blank">ecm200@gmail.com</a>]
<br>
<b>Sent:</b> Friday, January 18, 2013 12:43 PM<br>
<b>To:</b> MacMullan, Hugh<br>
<b>Cc:</b> <a href="mailto:starcluster@mit.edu" target="_blank">starcluster@mit.edu</a><br>
<b>Subject:</b> Re: [StarCluster] Amazon AMI 64-bit Ubuntu 11 HVM-EBS for eu-west-1 region<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Hi Hugh.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks for that, much appreciated.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I tried using the &quot;snapshot&quot; route, which allows you to transfer snapshots between regions through the AWS web console (<a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-copy-snapshot.html" target="_blank">AWS documentation here</a>), but
 so far I have had no luck with regards to that. I started an instance with the US-EAST-1 Ubuntu 11.10 x86_64 HVM AMI (not through Star Cluster), and then created a snap shot of the root volume. I then transferred the snapshot to EU-WEST-1 region and converted
 that into an AMI. One issue I had, and have still not solved, was the &quot;kernel ID&quot; specification which was needed during the creation of the AMI from the snap shot. I could not find the kernel ID for the AMI in question, even though other flavours of Star Cluster
 AMI&#39;s did have associated Kernel IDs.  I came unstuck when I tried to execute the AMI that I had transferred from the US-EAST-1 region to EU-WEST-1 region, and I was told by StarCluster that the AMI was not HVM, and therefore could not be executed on the CC2.8xlarge
 instance type. I am positive that I am using the correct AMI which is HVM supported, as this is currently the only HVM supported AMI that&#39;s available, and it&#39;s only available in US-EAST-1.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I plan to try something slightly different, by creating a custom AMI using the StarCluster tools, and then creating a snap shot from that AMI, and transferring that. But again I may come up against the Kernel ID issue, which I still don&#39;t
 know how to solve.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">However some good news, I have read in a number of places on the web that Amazon are developing a tool for transferring AMI&#39;s the same way you can now transfer snap shots, and can be undertaken through the AWS console. I haven&#39;t managed
 to find when this is expected to be implemented though.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">There is also this that I found (<a href="http://ylastic.com/features.html" target="_blank">Ylastic</a>), which amongst a lot of things, appears to suggest that it can migrate EBS AMI&#39;s from region to region.<u></u><u></u></p>

</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 18 January 2013 18:16, MacMullan, Hugh &lt;<a href="mailto:hughmac@wharton.upenn.edu" target="_blank">hughmac@wharton.upenn.edu</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Ed:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I have no EU AMIs, but I’ve been curious about the second question you have: what’s the ‘easy’ way
 to transfer AMIs? I poked around a bit today, and it looks like ‘<a href="http://migrate-ebs-image.pl" target="_blank">migrate-ebs-image.pl</a>’, part of the VM::EC2 Perl module, is a good solution …
<i>except</i> that it converts my HVM AMIs to PV. Argh! </span><span style="font-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I’ve got a query in with the developer (Lincoln Stein) about HVM copies. I’ll let you know what I
 discover.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">That said, if others have other
<i>easy</i> ways to transfer AMIs … I’m all ears too!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">-Hugh</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href="mailto:starcluster-bounces@mit.edu" target="_blank">starcluster-bounces@mit.edu</a> [mailto:<a href="mailto:starcluster-bounces@mit.edu" target="_blank">starcluster-bounces@mit.edu</a>]
<b>On Behalf Of </b>Ed Morris<br>
<b>Sent:</b> Friday, January 18, 2013 5:26 AM<br>
<b>To:</b> <a href="mailto:starcluster@mit.edu" target="_blank">starcluster@mit.edu</a><br>
<b>Subject:</b> [StarCluster] Amazon AMI 64-bit Ubuntu 11 HVM-EBS for eu-west-1 region</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">Hi.<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Does anyone know if there is an AMI available using HVM version of Ubuntu for the cc8.xlarge compute node for starcluster in the eu-west-1 region?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I have been quite happily using the AMI ami-4583572c us-east-1 starcluster-base-ubuntu-11.10-x86_64-hvm (HVM-EBS) on the us-east region, but couldn&#39;t find any HVM versions in the
 eu region.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Any ideas? Can the HVM-EBS be easily transferred to the eu region?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Ed.<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">--
<br>
Ed Morris<br>
------------------------------------------------<br>
email: <a href="mailto:ecm200@gmail.com" target="_blank">ecm200@gmail.com</a><br>
phone: <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <br>
Ed Morris<br>
------------------------------------------------<br>
email: <a href="mailto:ecm200@gmail.com" target="_blank">ecm200@gmail.com</a><br>
phone: <u></u><u></u></p>
</div>
</div>
</div>

<br>_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br></div><br>