<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 5/31/2012 2:10 PM, Vishvananda Ishaya wrote:
<blockquote
cite="mid:828E1BEC-8390-42CC-A9E0-ABA2E08D1FF9@gmail.com"
type="cite"><base href="x-msg://1130/"><br>
<div>
<div>On May 25, 2012, at 2:36 AM, John Garbutt wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><span class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">
<div link="blue" vlink="purple" lang="EN-US">
<div class="WordSection1" style="page: WordSection1; ">
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 0cm; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif; "><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); ">I have been
meaning to draft a blueprint around this.<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 0cm; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif; "><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 0cm; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif; "><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); ">What we have
today:<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 36pt; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;
text-indent: -18pt; "><span style="font-size: 11pt;
font-family: Symbol; color: rgb(31, 73, 125); "><span>·<span
style="font: normal normal normal 7pt/normal
'Times New Roman'; "> <span
class="Apple-converted-space"> </span></span></span></span><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); ">Migrate: move
a VM from one server to another, reboots across the
move (I think) and destination is picked by
scheduler<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 36pt; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;
text-indent: -18pt; "><span style="font-size: 11pt;
font-family: Symbol; color: rgb(31, 73, 125); "><span>·<span
style="font: normal normal normal 7pt/normal
'Times New Roman'; "> <span
class="Apple-converted-space"> </span></span></span></span><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); ">LiveMigration:
move a VM form one server to another, VM doesn’t
appear to reboot, need to specify the destination<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 0cm; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif; "><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 0cm; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif; "><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); ">I propose we
extent the Migrate API (thinking about nova CLI here
really) to include:<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 36pt; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;
text-indent: -18pt; "><span style="font-size: 11pt;
font-family: Symbol; color: rgb(31, 73, 125); "><span>·<span
style="font: normal normal normal 7pt/normal
'Times New Roman'; "> <span
class="Apple-converted-space"> </span></span></span></span><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); ">Optional Flag
to force non-live migration, default to live
migration<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 36pt; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;
text-indent: -18pt; "><span style="font-size: 11pt;
font-family: Symbol; color: rgb(31, 73, 125); "><span>·<span
style="font: normal normal normal 7pt/normal
'Times New Roman'; "> <span
class="Apple-converted-space"> </span></span></span></span><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); ">Optional
destination host, by default let the scheduler
choose<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 36pt; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif;
text-indent: -18pt; "><span style="font-size: 11pt;
font-family: Symbol; color: rgb(31, 73, 125); "><span>·<span
style="font: normal normal normal 7pt/normal
'Times New Roman'; "> <span
class="Apple-converted-space"> </span></span></span></span><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); ">Deprecate the
existing live migration API and CLI calls<o:p></o:p></span></div>
<div style="margin-top: 0cm; margin-right: 0cm;
margin-left: 0cm; margin-bottom: 0.0001pt; font-size:
12pt; font-family: 'Times New Roman', serif; "><span
style="font-size: 11pt; font-family: Calibri,
sans-serif; color: rgb(31, 73, 125); ">What do
people think?</span></div>
</div>
</div>
</span></blockquote>
<div><br>
</div>
+1</div>
<div><br>
</div>
<div>Keep in mind that we actually have three options:</div>
<div><br>
</div>
<div>live migration on shared storage</div>
<div>live migration without shared storage (block migration)</div>
<div>resize/migrate</div>
<div><br>
</div>
<div>Yun actually suggested that resize/migrate be simplified to
do the following instead of scping the file over:</div>
<div><br>
</div>
<div> * snapshot to glance</div>
<div> * boot new image from snapshot</div>
<div><br>
</div>
<div>This would definitely simplify the code, unfortunately it
could have billing/metering repercussions.</div>
<div><br>
</div>
<div>Vish</div>
<br>
</blockquote>
I don't think it is documented that you need to set up ssh with
credentials between compute nodes to make resize and block migration
work. I also heard something<br>
about there being a more secure way to do this than setting up ssh
in this way. What is the "officially recommended" way to configure
compute nodes for these operations?<br>
<br>
-David<br>
</body>
</html>