[Openstack-operators] Starting large VMs takes quite long
Diego Parrilla
diego.parrilla at stackops.com
Wed Oct 19 16:39:36 UTC 2011
Hi,
my answers below,
On Wed, Oct 19, 2011 at 6:04 PM, Till Mossakowski
<Till.Mossakowski at dfki.de>wrote:
> Hi,
>
> I have set up openstack using stackops.
>
Good choice ;-)
> I have installed one controller node and one compute node (each using two
> 1GBit NICs), following the book "Deploying Openstack".
> I am using nova-objectstore for storing images.
>
> Now starting a machine with a 5G image takes quite a while, probably
> because the image is mounted via nfs to the compute node.
>
5GB image it's not too big... we use NFS to share instances among nodes to
help with the live migration and performance it's acceptable. How much is
'quite a while' in seconds?
>
> With libvirt, I am used to start VMs instantly. Is there a way to do the
> same with openstack? The image would need to be stored directly on the
> compute node, of course. Ideally, in a network with more nodes, the lots of
> images I have would be distributed to compute nodes in advance, and a
> special scheduler would select a compute node holding the needed image. Is
> this possible with openstack?
>
If you share the /var/lib/nova/instances with NFS, during the 'launch'
process the base virtual image is copied to '_base'. Depending on the size
of this file it will take longer. Once it's copied next time you use this
image it should go much faster.
Note: I have tested right now with a 1Gb launching a >25GB Windows VM and it
took 3-4 minutes the first time. New Windows images, it took only a few
seconds.
>
> Best,
> Till
>
> --
> Prof. Dr. Till Mossakowski Cartesium, room 2.51 Phone +49-421-218-64226
> DFKI GmbH Bremen Fax +49-421-218-9864226
> Safe & Secure Cognitive Systems Till.Mossakowski at dfki.de
> Enrique-Schmidt-Str. 5, D-28359 Bremen http://www.dfki.de/sks/till
>
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> principal office, *not* the address for mail etc.!!!:
> Trippstadter Str. 122, D-67663 Kaiserslautern
> management board: Prof. Wolfgang Wahlster (chair), Dr. Walter Olthoff
> supervisory board: Prof. Hans A. Aukes (chair)
> Amtsgericht Kaiserslautern, HRB 2313
> ______________________________**_________________
> Openstack-operators mailing list
> Openstack-operators at lists.**openstack.org<Openstack-operators at lists.openstack.org>
> http://lists.openstack.org/**cgi-bin/mailman/listinfo/**
> openstack-operators<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators>
>
--
Diego Parrilla
<http://www.stackops.com/>*CEO*
*www.stackops.com | * diego.parrilla at stackops.com** | +34 649 94 43 29 |
skype:diegoparrilla*
* <http://www.stackops.com/>
*
*
******************** ADVERTENCIA LEGAL ********************
Le informamos, como destinatario de este mensaje, que el correo electrónico
y las comunicaciones por medio de Internet no permiten asegurar ni
garantizar la confidencialidad de los mensajes transmitidos, así como
tampoco su integridad o su correcta recepción, por lo que STACKOPS
TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias.
Si no consintiese en la utilización del correo electrónico o de las
comunicaciones vía Internet le rogamos nos lo comunique y ponga en nuestro
conocimiento de manera inmediata. Este mensaje va dirigido, de manera
exclusiva, a su destinatario y contiene información confidencial y sujeta al
secreto profesional, cuya divulgación no está permitida por la ley. En caso
de haber recibido este mensaje por error, le rogamos que, de forma
inmediata, nos lo comunique mediante correo electrónico remitido a nuestra
atención y proceda a su eliminación, así como a la de cualquier documento
adjunto al mismo. Asimismo, le comunicamos que la distribución, copia o
utilización de este mensaje, o de cualquier documento adjunto al mismo,
cualquiera que fuera su finalidad, están prohibidas por la ley.
***************** PRIVILEGED AND CONFIDENTIAL ****************
We hereby inform you, as addressee of this message, that e-mail and Internet
do not guarantee the confidentiality, nor the completeness or proper
reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L. does
not assume any liability for those circumstances. Should you not agree to
the use of e-mail or to communications via Internet, you are kindly
requested to notify us immediately. This message is intended exclusively for
the person to whom it is addressed and contains privileged and confidential
information protected from disclosure by law. If you are not the addressee
indicated in this message, you should immediately delete it and any
attachments and notify the sender by reply e-mail. In such case, you are
hereby notified that any dissemination, distribution, copying or use of this
message or any attachments, for any purpose, is strictly prohibited by law.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20111019/b39b4289/attachment-0002.html>
More information about the Openstack-operators
mailing list