<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div><span style="font-family: Calibri; font-size: 12pt; font-weight: bold;">From:
</span><span style="font-family: Calibri; font-size: 12pt;">joe <</span><a href="mailto:joe@topjian.net" style="font-family: Calibri; font-size: 12pt;">joe@topjian.net</a><span style="font-family: Calibri; font-size: 12pt;">></span></div>
</div>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">Date: </span>Monday 7 March 2016 at 07:53<br>
<span style="font-weight:bold">To: </span>openstack-operators <<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Openstack-operators] RAID / stripe block storage volumes<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div dir="ltr">We ($work) have been researching this topic for the past few weeks and I wanted to give an update on what we've found.
<div><br>
</div>
<div>First, we've found that both Rackspace and Azure advocate the use of RAID'ing block storage volumes from within an instance for both performance and resilience [1][2][3]. I only mention this to add to the earlier Amazon AWS information and not to imply
that more people should share this view.</div>
<div><br>
</div>
<div>Second, we discovered virtio-scsi [4]. By adding the following properties to an image, the disks will now appear as SCSI disks, including the more common /dev/sdx naming:</div>
<div><br>
</div>
<div>
<div>hw_disk_bus_model=virtio-scsi</div>
<div>hw_scsi_model=virtio-scsi</div>
<div>hw_disk_bus=scsi</div>
</div>
<div><br>
</div>
<div>What's notable is that, in our testing, ZFS pools and Gluster replicas are more likely to see the volume disconnect/fail with virtio-scsi. mdadm has always been fairly dependable, so there hasn't been a change there. We're still testing, but virtio-scsi
looks promising.</div>
</div>
</div>
</div>
</blockquote>
</span>
<div><br>
</div>
<div>We found significantly slower (~20%) from the virtio SCSI on bonnie++. I had been thinking it would be better.</div>
<div><br>
</div>
<div>What were your performance experiences ?</div>
<div><br>
</div>
<div>Tim</div>
<span id="OLK_SRC_BODY_SECTION">
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div dir="ltr">
<div><br>
</div>
<div>1: <a href="https://support.rackspace.com/how-to/configuring-a-software-raid-on-a-linux-general-purpose-cloud-server/">https://support.rackspace.com/how-to/configuring-a-software-raid-on-a-linux-general-purpose-cloud-server/</a></div>
<div>2: <a href="https://support.rackspace.com/how-to/cloud-block-storage-faq/">https://support.rackspace.com/how-to/cloud-block-storage-faq/</a></div>
<div>3: <a href="https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-configure-raid/">https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-configure-raid/</a></div>
<div>4: <a href="https://wiki.openstack.org/wiki/LibvirtVirtioScsi">https://wiki.openstack.org/wiki/LibvirtVirtioScsi</a></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 8, 2016 at 7:18 PM, Joe Topjian <span dir="ltr">
<<a href="mailto:joe@topjian.net" target="_blank">joe@topjian.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Yep. Don't get me wrong -- I agree 100% with everything you've said throughout this thread. Applications that have native replication are awesome. Swift is crazy awesome. :)
<div><br>
</div>
<div>I understand that some may see the use of mdadm, Cinder-assisted replication, etc as supporting "pet" environments, and I agree to some extent. But I do think there are applicable use-cases where those services could be very helpful. </div>
<div><br>
</div>
<div>As one example, I know of large cloud-based environments which handle very large data sets and are entirely stood up through configuration management systems. However, due to the sheer size of data being handled, rebuilding or resyncing a portion of the
environment could take hours. Failing over to a replicated volume is instant.In addition, being able to both stripe and replicate goes a very long way in making the most out of commodity block storage environments (for example, avoiding packing problems and
such).</div>
<div><br>
</div>
<div>Should these types of applications be reading / writing directly to Swift, HDFS, or handling replication themselves? Sure, in a perfect world. Does Gluster fill all gaps I've mentioned? Kind of. </div>
<div><br>
</div>
<div>I guess I'm just trying to survey the options available for applications and environments that would otherwise be very flexible and resilient if it wasn't for their awkward use of storage. :)</div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 8, 2016 at 6:18 PM, Robert Starmer <span dir="ltr">
<<a href="mailto:robert@kumul.us" target="_blank">robert@kumul.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Besides, wouldn't it be better to actually do application layer backup restore, or application level distribution for replication? That architecture at least let's the application determine and deal with corrupt data transmission rather than
the DRBD like model where you corrupt one data-set, you corrupt them all...
<div><br>
</div>
<div>Hence my comment about having some form of object storage (SWIFT is perhaps even a good example of this architeccture, the proxy replicates, checks MD5, etc. to verify good data, rather than just replicating blocks of data).</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 8, 2016 at 7:15 PM, Robert Starmer <span dir="ltr">
<<a href="mailto:robert@kumul.us" target="_blank">robert@kumul.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I have not run into anyone replicating volumes or creating redundancy at the VM level (beyond, as you point out, HDFS, etc.).<span><font color="#888888">
<div><br>
</div>
<div>R</div>
</font></span></div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 8, 2016 at 6:54 PM, Joe Topjian <span dir="ltr">
<<a href="mailto:joe@topjian.net" target="_blank">joe@topjian.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">This is a great conversation and I really appreciate everyone's input. Though, I agree, we wandered off the original question and that's my fault for mentioning various storage backends.
<div><br>
</div>
<div>For the sake of conversation, let's just say the user has no knowledge of the underlying storage technology. They're presented with a Block Storage service and the rest is up to them. What known, working options does the user have to build their own block
storage resilience? (Ignoring "obvious" solutions where the application has native replication, such as Galera, elasticsearch, etc)</div>
<div><br>
</div>
<div>I have seen references to Cinder supporting replication, but I'm not able to find a lot of information about it. The support matrix[1] lists very few drivers that actually implement replication -- is this true or is there a trove of replication docs that
I just haven't been able to find?</div>
<div><br>
</div>
<div>Amazon AWS publishes instructions on how to use mdadm with EBS[2]. One might interpret that to mean mdadm is a supported solution within EC2 based instances. </div>
<div><br>
</div>
<div>There are also references to DRBD and EC2, though I could not find anything as "official" as mdadm and EC2.</div>
<div><br>
</div>
<div>Does anyone have experience (or know users) doing either? (specifically with libvirt/KVM, but I'd be curious to know in general)<br>
</div>
<div><br>
</div>
<div>Or is it more advisable to create multiple instances where data is replicated instance-to-instance rather than a single instance with multiple volumes and have data replicated volume-to-volume (by way of a single instance)? And if so, why? Is a lack of
stable volume-to-volume replication a limitation of certain hypervisors?</div>
<div><br>
</div>
<div>Or has this area just not been explored in depth within OpenStack environments yet?</div>
<div><br>
</div>
<div>1: <a href="https://wiki.openstack.org/wiki/CinderSupportMatrix" target="_blank">https://wiki.openstack.org/wiki/CinderSupportMatrix</a></div>
<div>2: <a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/raid-config.html" target="_blank">http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/raid-config.html</a><br>
</div>
<div><br>
</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 8, 2016 at 4:10 PM, Robert Starmer <span dir="ltr">
<<a href="mailto:robert@kumul.us" target="_blank">robert@kumul.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I'm not against Ceph, but even 2 machines (and really 2 machines with enough storage to be meaningful, e.g. not the all blade environments I've built some o7k systems on) may not be available for storage, so there are cases where that's not
necessarily the solution. I built resiliency in one environment with a 2 node controller/Glance/db system with Gluster, which enabled enough middleware resiliency to meet the customers recovery expectations. Regardless, even with a cattle application model,
the infrastructure middleware still needs to be able to provide some level of resiliency.
<div><br>
</div>
<div>But we've kind-of wandered off of the original question. I think that to bring this back on topic, I think users can build resilience in their own storage construction, but I still think there are use cases where the middleware either needs to use it's
own resiliency layer, and/or may end up providing it for the end user.</div>
<span><font color="#888888">
<div><br>
</div>
<div>R</div>
</font></span></div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 8, 2016 at 3:51 PM, Fox, Kevin M <span dir="ltr">
<<a href="mailto:Kevin.Fox@pnnl.gov" target="_blank">Kevin.Fox@pnnl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">We've used ceph to address the storage requirement in small clouds pretty well. it works pretty well with only two storage nodes with replication set to 2, and because of the radosgw,
you can share your small amount of storage between the object store and the block store avoiding the need to overprovision swift-only or cinder-only to handle usage unknowns. Its just one pool of storage.<br>
<br>
Your right, using lvm is like telling your users, don't do pets, but then having pets at the heart of your system. when you loose one, you loose a lot. With a small ceph, you can take out one of the nodes, burn it to the ground and put it back, and it just
works. No pets.<br>
<br>
Do consider ceph for the small use case.<br>
<br>
Thanks,<br>
Kevin<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Robert Starmer [<a href="mailto:robert@kumul.us" target="_blank">robert@kumul.us</a>]<br>
<b>Sent:</b> Monday, February 08, 2016 1:30 PM<br>
<b>To:</b> Ned Rhudy<br>
<b>Cc:</b> OpenStack Operators
<div>
<div><br>
<b>Subject:</b> Re: [Openstack-operators] RAID / stripe block storage volumes<br>
</div>
</div>
</font><br>
</div>
<div>
<div>
<div></div>
<div>
<div dir="ltr">Ned's model is the model I meant by "multiple underlying storage services". Most of the systems I've built are LV/LVM only, a few added Ceph as an alternative/live-migration option, and one where we used Gluster due to size. Note that the
environments I have worked with in general are small (~20 compute), so huge Ceph environments aren't common. I am also working on a project where the storage backend is entirely NFS...
<div><br>
</div>
<div>And I think users are more and more educated to assume that there is nothing guaranteed. There is the realization, at least for a good set of the customers I've worked with (and I try to educate the non-believers), that the way you get best effect from
a system like OpenStack is to consider everything disposable. The one gap I've seen is that there are plenty of folks who don't deploy SWIFT, and without some form of object store, there's still the question of where you place your datasets so that they can
be quickly recovered (and how do you keep them up to date if you do have one). With VMs, there's the concept that you can recover quickly because the "dataset" e.g. your OS, is already there for you, and in plenty of small environments, that's only as true
as the glance repository (guess what's usually backing that when there's no SWIFT around...).</div>
<div><br>
</div>
<div>So I see the issue as a holistic one. How do you show operators/users that they should consider everything disposable if we only look at the current running instance as the "thing" Somewhere you still likely need some form of distributed resilience (and
yes, I can see using the distributed Canonical, Centos, RedHat, Fedora, Debian, etc. mirrors as your distributed Image backup but what about the database content, etc.).</div>
<div><br>
</div>
<div>Robert</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 8, 2016 at 1:44 PM, Ned Rhudy (BLOOMBERG/ 731 LEX)
<span dir="ltr"><<a href="mailto:erhudy@bloomberg.net" target="_blank">erhudy@bloomberg.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="white-space:pre-wrap;font-size:small;font-family:'Courier New',Courier;color:rgb(0,0,0)">
In our environments, we offer two types of storage. Tenants can either use Ceph/RBD and trade speed/latency for reliability and protection against physical disk failures, or they can launch instances that are realized as LVs on an LVM VG that we create on top
of a RAID 0 spanning all but the OS disk on the hypervisor. This lets the users elect to go all-in on speed and sacrifice reliability for applications where replication/HA is handled at the app level, if the data on the instance is sourced from elsewhere,
or if they just don't care much about the data.
<div><br>
</div>
<div>There are some further changes to our approach that we would like to make down the road, but in general our users seem to like the current system and being able to forgo reliability or speed as their circumstances demand.</div>
<div style="font-size:small;font-family:'Courier New',Courier;color:rgb(0,0,0)"><br>
<div>
<div>From: <a href="mailto:joe@topjian.net" target="_blank">joe@topjian.net</a> </div>
<div>Subject: Re: [Openstack-operators] RAID / stripe block storage volumes<br>
</div>
</div>
<div>
<div>
<div style="color:black;font-family:Arial,'BB.Proportional';font-size:small;white-space:normal;background:white">
<div>
<blockquote>
<div dir="ltr">Hi Robert,
<div><br>
</div>
<div>Can you elaborate on "multiple underlying storage services"?</div>
<div><br>
</div>
<div>The reason I asked the initial question is because historically we've made our block storage service resilient to failure. Historically we also made our compute environment resilient to failure, too, but over time, we've seen users become more educated
to cope with compute failure. As a result, we've been able to become more lenient with regard to building resilient compute environments.</div>
<div><br>
</div>
<div>We've been discussing how possible it would be to translate that same idea to block storage. Rather than have a large HA storage cluster (whether Ceph, Gluster, NetApp, etc), is it possible to offer simple single LVM volume servers and push the failure
handling on to the user? </div>
<div><br>
</div>
<div>Of course, this doesn't work for all types of use cases and environments. We still have projects which require the cloud to own most responsibility for failure than the users. </div>
<div><br>
</div>
<div>But for environments were we offer general purpose / best effort compute and storage, what methods are available to help the user be resilient to block storage failures?</div>
<div><br>
</div>
<div>Joe</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 8, 2016 at 12:09 PM, Robert Starmer <span dir="ltr">
<<a href="mailto:robert@kumul.us" target="_blank">robert@kumul.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I've always recommended providing multiple underlying storage services to provide this rather than adding the overhead to the VM. So, not in any of my systems or any I've worked with.
<div><br>
</div>
<div>R<br>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div>On Fri, Feb 5, 2016 at 5:56 PM, Joe Topjian <span dir="ltr"><<a href="mailto:joe@topjian.net" target="_blank">joe@topjian.net</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 dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>Does anyone have users RAID'ing or striping multiple block storage volumes from within an instance?<br>
</div>
<div><br>
</div>
<div>If so, what was the experience? Good, bad, possible but with caveats?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Joe</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<div style="width:500px;font-style:oblique;margin:14px;margin-left:0px;padding-top:4px;border-top:1px dotted black">
</div>
<pre>_______________________________________________
OpenStack-operators mailing list
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a></pre>
</blockquote>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>