Hi,<div><br></div><div><div>Each host has only one system DS, but can use several Image DS.</div><div>The system DS holds the contextualization cdrom, the volatile disks [1]; and the non-persistent Images, that are copied from the Image DS.</div>
<div><br></div><div>If an Image is persistent, and the DS transfer manager is shared, the files are used directly from the Image DS location. This means that the VMs using "fast" persistent Images will be fast, no matter what system DS the Host is using.</div>
<div><br></div><div><br></div><div>It would be great to hear other people's opinions, to know if your scenario is a common one and should be considered for future releases.</div><div><br></div><div>Regards</div><div>
<br></div><div><br></div></div><div>[1] <a href="http://opennebula.org/documentation:rel3.6:template#volatile_disks" target="_blank">http://opennebula.org/documentation:rel3.6:template#volatile_disks</a><br clear="all">
--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Thu, Jul 19, 2012 at 10:33 PM, Paulo A L Rego <span dir="ltr"><<a href="mailto:pauloalr.alu@gmail.com" target="_blank">pauloalr.alu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please, forget my last question.<div>I read [1] again and i rephrased my question.</div><div><br></div><div>Each host (or cluster of hosts) must have just one system datastore, rigth?</div><div>The example in [1] for Multi-cluster is interesting, but i would like to change that <span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-family:Arial,Verdana,Geneva,Helvetica,sans-serif;font-size:13px;line-height:18px;text-align:justify">scenario. There, some hosts can access a shared directory and other cant.</span></div>
<div><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-family:Arial,Verdana,Geneva,Helvetica,sans-serif;font-size:13px;line-height:18px;text-align:justify">My </span><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-family:Arial,Verdana,Geneva,Helvetica,sans-serif;font-size:13.200000762939453px;line-height:18px;text-align:justify">scenario is different: all hosts can access the shared directory but should be able to use a local storage. I mean, i would like to have two system DS for the hosts at same time.</span></div>
<div><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-family:Arial,Verdana,Geneva,Helvetica,sans-serif;font-size:13.200000762939453px;line-height:18px;text-align:justify">One </span><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-family:Arial,Verdana,Geneva,Helvetica,sans-serif;font-size:13.200000762939453px;line-height:18px;text-align:justify">shared </span><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-family:Arial,Verdana,Geneva,Helvetica,sans-serif;font-size:13.200000762939453px;line-height:18px;text-align:justify">for the </span><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-family:Arial,Verdana,Geneva,Helvetica,sans-serif;font-size:13.200000762939453px;line-height:18px;text-align:justify">users who dont care about I/O performance and desire a fast vm creation and live migration. Another for the</span><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-family:Arial,Verdana,Geneva,Helvetica,sans-serif;font-size:13.200000762939453px;line-height:18px;text-align:justify"> users who need better I/O performance.</span></div>
<div><br></div><div>Is that possible?</div><div><br></div><div>Thanks a lot.</div><div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.6:system_ds" target="_blank">http://opennebula.org/documentation:rel3.6:system_ds</a>
</div></div><div><div><div><br><div class="gmail_quote">2012/7/19 Paulo A L Rego <span dir="ltr"><<a href="mailto:pauloalr.alu@gmail.com" target="_blank">pauloalr.alu@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote">Hi,</div><div class="gmail_quote"><br></div><div class="gmail_quote"><div>2012/7/18 Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi,</div><div><br></div><div>If I understood correctly, you want to share the qcow datastore, but use local storage for the system datastore.</div>
<div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>To do this, simply set the ssh TM driver for the system DS [1], and make sure you are exporting only /var/lib/one/datastores/100.</div>
</blockquote><div><br></div></div><div>Should i still share /var/lib/one/datastores/0 with all hosts?</div><div><br></div><div>Thanks</div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div></div><div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.6:system_ds" target="_blank">http://opennebula.org/documentation:rel3.6:system_ds</a><br clear="all">--<br>Carlos Martín, MSc<br>
Project Engineer<br>
OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote"><div><div>On Wed, Jul 18, 2012 at 1:30 AM, Paulo A L Rego <span dir="ltr"><<a href="mailto:pauloalr.alu@gmail.com" target="_blank">pauloalr.alu@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>
<div class="gmail_quote"><span style="color:rgb(34,34,34);font-size:13.200000762939453px"><font face="arial, helvetica, sans-serif">Hello,</font></span><div><font face="arial, helvetica, sans-serif"><br></font></div>
<div><font face="arial, helvetica, sans-serif">Is there any way to use qcow and ssh transfer driver for the same host?</font></div><div><span style="color:rgb(34,34,34);font-size:13.200000762939453px"><font face="arial, helvetica, sans-serif">We have a shared FS with NFS using qcow, but when a lot of VMs are launched, the storage I/O becomes a bottleneck.</font></span></div>
<div><font face="arial, helvetica, sans-serif">We want to use both shared and local images for all hosts. </font></div><div><font color="#222222" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#222222" face="arial, helvetica, sans-serif">We created two datastores - qcow(id 100) and ssh (id 101) - and the same image was created for both.</font></div>
<div><font face="arial, helvetica, sans-serif"><font color="#222222">The problem is that the running VMs are always placed in </font><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-size:13px;line-height:18px;text-align:justify">/var/lib/one/datastores/0.</span><font color="#222222"> </font></font></div>
<div><font face="arial, helvetica, sans-serif"><font color="#222222">How the shared FS is mounted in that directory, w</font><span style="color:rgb(34,34,34)">hen we deploy a VM using the image on ssh datastore, the image is tranfered using ssh, but is placed on the shared FS.</span></font></div>
<div><span style="color:rgb(34,34,34)"><font face="arial, helvetica, sans-serif"><br></font></span></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(34,34,34)">We would like to have two directories for running VMs. </span></font><span style="font-family:arial,helvetica,sans-serif;color:rgb(34,34,34)">This way we could deploy on the shared FS on </span><span style="font-family:arial,helvetica,sans-serif;background-color:rgb(245,245,245);color:rgb(53,55,53);font-size:13.200000762939453px;line-height:18px;text-align:justify">/var/lib/one/datastores/0 and use another directory (maybe </span><span style="font-family:arial,helvetica,sans-serif;background-color:rgb(245,245,245);color:rgb(53,55,53);font-size:13.200000762939453px;line-height:18px;text-align:justify">/var/lib/one/datastores/101) for local images.</span></div>
<div><font face="arial, helvetica, sans-serif"><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-size:13.200000762939453px;line-height:18px;text-align:justify"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-size:13.200000762939453px;line-height:18px;text-align:justify">Any solution?</span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-size:13.200000762939453px;line-height:18px;text-align:justify"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-size:13.200000762939453px;line-height:18px;text-align:justify">Thanks a lot.</span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-size:13.200000762939453px;line-height:18px;text-align:justify">Paulo Antonio Leal Rego</span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="background-color:rgb(245,245,245);color:rgb(53,55,53);font-size:13.200000762939453px;line-height:18px;text-align:justify">Federal University of Ceara - Brazil</span></font></div>
</div><br>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>