<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<HTML><HEAD> 
<META content="text/html; charset=utf-8" http-equiv=Content-Type> 
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD> 
<body  
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"> 
<DIV><FONT color=#000000 size=3 face="Times New Roman"><SPAN id=result_box  
lang=en><SPAN class="hps alt-edited">Ignoring</SPAN> <SPAN class=hps>issues  
of</SPAN> <SPAN class=hps>Ram</SPAN><SPAN>.</SPAN> <SPAN class=hps>I</SPAN>  
<SPAN class=hps>have</SPAN> <SPAN class=hps>a</SPAN> <SPAN class=hps>number  
of</SPAN> <SPAN class=hps>questions</SPAN> <SPAN class=hps>as</SPAN> <SPAN  
class=hps>the following</SPAN> <SPAN class=hps>model:</SPAN></SPAN></FONT></DIV> 
<DIV><FONT color=#000000 size=3 face="Times New Roman"><SPAN lang=en><SPAN  
class=hps></SPAN></SPAN></FONT> </DIV> 
<DIV><FONT color=#000000 size=3 face="Times New Roman">My node-1's  
resource as the following:</FONT></DIV> 
<UL> 
  <LI><FONT color=#000000 size=3 face="Times New Roman">CPU : 4 core</FONT></LI> 
  <LI><FONT color=#000000 size=3 face="Times New Roman">RAM: 4  
GB.</FONT></LI></UL> 
<P><FONT color=#000000 size=3 face="Times New Roman">Now , My  
Node-1 is hosting 4 instances:</FONT></P> 
<UL> 
  <LI>3 instance: (each VM: 1 core CPU, 2 GB ram,..). <BR>2  
  instance(i-00000001, i-00000002) is turn of and 1 instance(i-00000003) is  
  running.</LI> 
  <LI>1 instance : (1 core CPU, 1 GB ram). <BR>It is  
running.(i-00000004)</LI></UL> 
<P><FONT color=#000000 size=3 face="Times New Roman">I request new ínstance by  
the euca-run-instance command. My new instance ( i-00000005) is located on the  
node 1. This is the problem for the nova-scheduler.</FONT></P> 
<P><FONT color=#000000 size=3 face="Times New Roman">What is happen ? If I  
reboot 2 instances : i-00000001,i-00000002.</FONT></P> 
<P>How do we manage this problem in Openstack ? </P> 
<P><FONT color=#000000 size=3 face="Times New Roman">I think that: My 2  
instances (i-00000001 , i-00000002) should be migrated to the rest available  
resources as node-2 and node-3.</FONT></P> 
<P><FONT color=#000000 size=3 face="Times New Roman">If not, it's actually very  
difficult to manage and reboot  the instances which are turned off.  
And their resources-allocated will be reused for the new instances.</P> 
<DIV></FONT><FONT color=#993300 size=3 face="Times New Roman">----- <I><B>Thông  
điệp gốc :</B></I> -----</FONT><FONT color=#000000 size=3  
face="Times New Roman"> 
<DIV style="BACKGROUND: #f0b070"><B>Gửi từ   : </B><A  
href="mailto:vishvananda@gmail.com">Vishvananda Ishaya</A> <FONT  
color=#0000ff>[vishvananda@gmail.com]</FONT> </DIV> 
<DIV><B>Gửi lúc  : </B>12/04/2012 11:43 PM</DIV></FONT></DIV> 
<DIV style="font-color: " black; background: #e4e4e4><B>Gửi tới  :  
</B><A  
href="mailto:openstack@lists.launchpad.net;vishvananda@gmail.com">openstack@lists.launchpad.net;vishvananda@gmail.com</A></DIV> 
<DIV><B>Chủ đề : </B>Re: [Openstack] The Scheduling feature when reboot the  
instance</DIV></FONT> 
<DIV> </DIV>No this does not exist.  If you are going to overprovision  
ram, you should probably make sure that you have swap enabled on your host. 
<DIV><BR></DIV> 
<DIV>Vish</DIV> 
<DIV><BR></DIV> 
<DIV> 
<DIV> 
<DIV>On Apr 12, 2012, at 4:10 AM, Văn Đình Phúc wrote:</DIV><BR  
class=Apple-interchange-newline> 
<BLOCKQUOTE type="cite"> 
  <META name=GENERATOR content="MSHTML 8.00.6001.18702"> 
  <DIV bgcolor="#e7efff"> 
  <DIV>Hi.</DIV> 
  <DIV>I'm using Openstack (2011.3  
  (2011.3-nova-milestone-tarball:tarmac-20110922115702-k9nkvxqzhj130av2) with 3  
  Compute nodes.</DIV> 
  <DIV>My scheduling option is default.</DIV> 
  <DIV>I have the problem as the following steps:</DIV> 
  <UL> 
    <LI>Compute node 1 is installed the modules: nova-api,  
    nova-compute and nova-network.  
    <LI>The resource of node-1 max is fitfor 3 instances  
    (m1.small): i-00000001,   i-00000002, i-00000003.  
    <LI>I turn off  i-00000001.  
    <LI>and then I request new ínstance by the euca-run-instance command , My  
    new instance ( i-00000004) is located on the node 1.  
    <LI>The resources: RAM , CPU,.. of node-2 and node-3 is available.  
 
    <LI>finally, I reboot the i-00000001.What is happen? the i-00000001 is  
    rebooted on the node-1 , and It's shutdown off after reboot.I checked the  
    libvirt's log :<BR><BR>"Failed to allocate 2147483648 B: Cannot  
    allocate memory<BR>2012-04-12 16:11:50.530: shutting down"<BR></LI></UL> 
  <P>So , Do Openstack have the sheduling feature when rebooting the  
  instance ? </P> 
  <P>Example: As above , My instance (i-00000001) will  
  be migrated to node-2 or node-3 when the  
  resource of node-1 is not available.</P> 
  <DIV><SPAN><phucvdbmail.gif></SPAN></DIV><FONT color=#000000 size=3  
  face="Times New Roman"> 
  <DIV> </DIV></FONT> 
  <DIV style="LINE-HEIGHT: 15pt; MARGIN: 0in 0in 0pt"><B><SPAN  
  style="COLOR: blue; mso-fareast-language: EN-US">Văn Đình  
  Phúc<BR></SPAN></B><I><SPAN  
  style="COLOR: blue; mso-fareast-language: EN-US">Manager -  
  Cloud Team</SPAN></I></DIV> 
  <DIV style="LINE-HEIGHT: 15pt; MARGIN: 0in 0in 0pt"><I><SPAN  
  style="COLOR: blue; mso-fareast-language: EN-US"><SPAN  
  style="COLOR: blue; mso-fareast-language: EN-US">Techno Department  
  </SPAN></SPAN></I></DIV> 
  <DIV> 
  <DIV style="MARGIN: 0cm 0cm 0pt"><I><SPAN  
  style="COLOR: blue; mso-fareast-language: EN-US"><SPAN  
  style="mso-bookmark: _Toc216859802"><I  
  style="mso-bidi-font-style: normal"><SPAN  
  style="COLOR: blue; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-bidi-font-weight: bold">Bkav  
  Specialization Division</SPAN></I></SPAN> </SPAN></I></DIV></DIV> 
  <DIV><SPAN  
style="COLOR: blue; mso-fareast-language: EN-US"></SPAN> </DIV> 
  <DIV><SPAN style="COLOR: blue; mso-fareast-language: EN-US">Office:  Bkav  
  Building - Yen Hoa New Town, Cau Giay Dist, Hanoi</SPAN><SPAN  
  style="mso-fareast-language: EN-US"><O:P></O:P></SPAN><SPAN  
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-no-proof: yes"><v:SHAPETYPE  
  id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t"  
  path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:STROKE  
  joinstyle="miter"></V:STROKE><v:FORMULAS><v:F  
  eqn="if lineDrawn pixelLineWidth 0"></V:F><v:F eqn="sum @0 1 0"></V:F><v:F  
  eqn="sum 0 0 @1"></V:F><v:F eqn="prod @2 1 2"></V:F><v:F  
  eqn="prod @3 21600 pixelWidth"></V:F><v:F  
  eqn="prod @3 21600 pixelHeight"></V:F><v:F eqn="sum @0 0 1"></V:F><v:F  
  eqn="prod @6 1 2"></V:F><v:F eqn="prod @7 21600 pixelWidth"></V:F><v:F  
  eqn="sum @8 21600 0"></V:F><v:F eqn="prod @7 21600 pixelHeight"></V:F><v:F  
  eqn="sum @10 21600 0"></V:F></V:FORMULAS><v:PATH o:extrusionok="f"  
  gradientshapeok="t" o:connecttype="rect"></V:PATH><O:LOCK v:ext="edit"  
  aspectratio="t"></O:LOCK></V:SHAPETYPE><v:SHAPE  
  style="WIDTH: 24pt; HEIGHT: 13.5pt; VISIBILITY: visible; mso-wrap-style: square"  
  id=Picture_x0020_2 type="#_x0000_t75" o:spid="_x0000_i1025"  
  o:bullet="t"><v:IMAGEDATA src="file://C:/eOffice/signatures/C:/eOffice/signatures/C:/eOffice/signatures/C:/eOffice/signatures/C:/eOffice/signatures/C:/eOffice/signatures/file:///C:/DOCUME~1/GiangVT/LOCALS~1/Temp/msohtmlclip1/01/clip_image001.gif" o:title="bakdsjfplekgwaxkgqbhbhmvtlvwrmrvkqxeepjhvfdmjjewhthnhilkrxanxrelqajavubjfiaxebsjmjgsbfmxganqffrmlcydcsvxpnawskrhmutgpnkpwopudobptikjrfogdeairwyglcrqepnybcp"></V:IMAGEDATA></V:SHAPE></SPAN><v:SHAPE  
  style="WIDTH: 24pt; HEIGHT: 13.5pt; VISIBILITY: visible; mso-wrap-style: square"  
  id=Picture_x0020_2 type="#_x0000_t75" o:spid="_x0000_i1025"  
  o:bullet="t"><v:IMAGEDATA src="file://C:/eOffice/signatures/C:/eOffice/signatures/C:/eOffice/signatures/C:/eOffice/signatures/C:/eOffice/signatures/file:///C:/DOCUME~1/GiangVT/LOCALS~1/Temp/msohtmlclip1/01/clip_image001.gif" o:title="bakdsjfplekgwaxkgqbhbhmvtlvwrmrvkqxeepjhvfdmjjewhthnhilkrxanxrelqajavubjfiaxebsjmjgsbfmxganqffrmlcydcsvxpnawskrhmutgpnkpwopudobptikjrfogdeairwyglcrqepnybcp"></V:IMAGEDATA></V:SHAPE>  
  </DIV> 
  <DIV> 
  <DIV><SPAN  
  style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: blue; FONT-SIZE: 12pt; mso-fareast-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-language: AR-SA">Tel:        
  (84-4) 3763.2552 </SPAN></DIV></DIV> 
  <DIV><SPAN style="COLOR: blue; mso-fareast-language: EN-US">Mobile: 0169  
  4702 388</SPAN> </DIV> 
  <DIV> 
  <DIV> 
  <DIV style="MARGIN: 0cm 0cm 0pt"><B><SPAN  
  style="COLOR: #ff8000; mso-fareast-language: EN-US">____________________________________________  
  </SPAN></B><SPAN  
  style="mso-fareast-language: EN-US"><O:P></O:P></SPAN></DIV><A href="http://www.bkav.com.vn/"></A></DIV></DIV> 
  <DIV> 
  <DIV><FONT color=#804000><SPAN style="COLOR: maroon"><SPAN  
  style="COLOR: maroon; FONT-SIZE: 12pt"> 
  <DIV style="MARGIN: 0cm 0cm 0pt"><SPAN  
  style="COLOR: maroon; mso-fareast-language: EN-US">Do your best, the rest will  
  come ! </SPAN><SPAN  
  style="COLOR: #804000; mso-fareast-language: EN-US"> </SPAN><SPAN  
  style="mso-fareast-language: EN-US"><O:P></O:P></SPAN></DIV> 
  <DIV style="MARGIN: 0cm 0cm 0pt"><SPAN  
  style="COLOR: maroon; mso-fareast-language: EN-US">Hãy làm việc hết mình,  
  những điều tốt đẹp sẽ đến với bạn ! </SPAN><SPAN  
  style="mso-fareast-language: EN-US"><O:P></O:P></SPAN></DIV></SPAN></SPAN></FONT></DIV> 
  <DIV><FONT color=#804000><SPAN style="COLOR: maroon"><STRONG><B><SPAN  
  style="COLOR: maroon; FONT-SIZE: 12pt"></SPAN></B></STRONG></SPAN></FONT> </DIV> 
  <DIV><FONT color=#804000><SPAN style="COLOR: maroon"><SPAN  
  style="COLOR: maroon; FONT-SIZE: 12pt"><SPAN class=apple-style-span><I><SPAN  
  style="LINE-HEIGHT: 115%; COLOR: black; FONT-SIZE: 9pt"><SPAN  
  style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-language: AR-SA"><STRONG>Disclaimer:</STRONG></SPAN><I><SPAN  
  style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-language: AR-SA">  
  This e-mail and any files transmitted with it are confidential and may contain  
  privileged information. It is intended solely for the use of the individual to  
  whom it is addressed and others authorized to receive it. If you are not the  
  intended recipient you are notified that disclosing, copying, distributing or  
  taking any action in reliance on the contents of this information is strictly  
  prohibited. If you have received this message in error, please notify the  
  sender immediately by reply e-mail and delete completely this e-mail from your  
  system, without reproducing, distributing or retaining  
  copies.</SPAN></I></SPAN></I></SPAN></SPAN></SPAN></FONT></DIV></DIV> 
  <DIV><FONT size=3 face="Times New Roman"></FONT> </DIV> 
  <DIV></DIV></DIV>_______________________________________________<BR>Mailing  
  list: <A href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</A><BR>Post  
  to     : <A  
  href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</A><BR>Unsubscribe  
  : <A href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</A><BR>More  
  help   : <A href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</A><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>