Hi Sebastien,<br> <br> Thanks again for your reply. Sorry for disturbing you again but I am in a bit of hurry now. As you talk about that swift supports object storage so I can store the VMs data using swift. So if I have my VM instance running on my nova client and if I want to copy some massive data from my client side to VM can I use swift to store the data on behalf of VM subsequently. If so, can you help me out with this??<br>
<br> Again thanking you for your immense help.<br><br>--Udit<br><br><div class="gmail_quote">On Fri, Jun 29, 2012 at 11:35 AM, Sébastien Han <span dir="ltr"><<a href="mailto:han.sebastien@gmail.com" target="_blank">han.sebastien@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<div><br></div><div>The local file system of each instance is ephemeral, when you run the action <b>terminate</b> you will loose everything. But you can shutdown, reboot the instance without any problem. If you want to use Cinder (previously known as nova-volume), you need a storage solution which supports <b>block device</b>. Here a little reminder:</div>
<div><br></div><div><ul><li>Ceph features:</li><ul><li>object storage</li><li>block device</li><li>distributed filesystem</li></ul><li>Swift:</li><ul><li><b>only</b> an object storage. So you can use it to store the VMs data.</li>
</ul></ul><div>If you want to use cinder you can use this king of storage:</div><div><ul><li>SAN with LVM + iSCSI</li><li>Ceph</li><li>Sheepdog</li><li>...</li></ul><div>Check my article about that to see the big picture of the available storage solution: <a href="http://www.sebastien-han.fr/blog/2012/05/17/openstack-high-avavailability-1/" target="_blank">http://www.sebastien-han.fr/blog/2012/05/17/openstack-high-avavailability-1/</a></div>
<div>With one of those technology you will be able to attach persistant storage to your instances.</div></div><div><br></div><div>Cheers!</div><div><div class="h5">
<br><br><div class="gmail_quote">On Fri, Jun 29, 2012 at 1:26 AM, udit agarwal <span dir="ltr"><<a href="mailto:fzdudit@gmail.com" target="_blank">fzdudit@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Sebastien,<div> Thanks for your reply. Your replies have always proved beneficial to me. I want to know one more thing. In a virtual machine, storage is not persistent, so we need to attach a volume with it for storage purposes. My question is that is it possible to create our volumes in ceph or in swift (so that we can have enough space for virtual machine storage). </div>
<div> Thanks in advance.</div><span><font color="#888888"><div><br></div></font></span><div><span><font color="#888888">--Udit</font></span><div><div><br><br><div class="gmail_quote">
On Thu, Jun 28, 2012 at 9:48 PM, Sébastien Han <span dir="ltr"><<a href="mailto:han.sebastien@gmail.com" target="_blank">han.sebastien@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I'm sure if I understand everything but let me give a try.</div><div>By default, the compute nodes store virtual instances in /var/lib/nova/instances/. Of course it's part of the compute node local FS. If you want to store this directory somewhere else, use a DFS like GlusterFS or even Ceph or a SAN.</div>
<div>Also don't forget that you <b>can't </b>use Swift for storing your virtual instances.<br><br>Hope it is what you asked for.<br><br>Cheers.<br><br><div class="gmail_quote"><div><div>On Thu, Jun 28, 2012 at 1:48 AM, udit agarwal <span dir="ltr"><<a href="mailto:fzdudit@gmail.com" target="_blank">fzdudit@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi,<br> I have set up Openstack in my lab with everything except storage nodes on one system and two other systems with each of them acting themselves as a storage node. I have used swift as the backend for glance so all the uploaded images are stored on these storage nodes. But when I run a virtual machine using nova, it reads the image from the storage nodes and it seems to me that it uses the local filesystem for storing instances and after I shutoff my virtual machine, it writes back to the storage nodes. But the thing that I want to implement is that if I copy some file from my local system to that virtual machine, it should automatically get stored on my storage nodes rather than occupying space on my local filesystem. <br>
<br> Can anybody help me with this?? <br> Thanks in advance.<span><font color="#888888"><br><br>--Udit Agarwal<br>
</font></span><br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br>