<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 18, 2013 at 3:57 PM, Sebastien Han <span dir="ltr"><<a href="mailto:sebastien.han@enovance.com" target="_blank">sebastien.han@enovance.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>I use this one: scheduler_driver=cinder.scheduler.filter_scheduler.FilterScheduler</div>
<div><br></div></div></blockquote><div>Well, default weigher for filter scheduler sorts all volume services by free capacity if you haven't change default filter/weigher. So I think the reason one volume always get picked up to serve request is because it reports the most available capacity among all volume services. You may check log from volume services as well as scheduler to confirm.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div></div><div>Thanks!</div><div><br><div><div>
<div class="im"><div>––––<br>Sébastien Han<br>Cloud Engineer<br><br>"Always give 100%. Unless you're giving blood."<br><br><br><br><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span><img src="cid:30579C49-4F06-4D82-87C1-C0E41DE85D60@enovance.com" height="38" width="200"></span><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;min-height:14px;line-height:normal;text-transform:none;font-size:12px;white-space:normal;margin:0px;font-family:Arial;word-spacing:0px">
<br><br><br><br><br><br></div><div style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:Arial;font-size:11px;margin:0px;color:rgb(47,89,147)">
<b>Phone : </b><a href="tel:%2B33%20%280%291%2049%2070%2099%2072" value="+33149709972" target="_blank">+33 (0)1 49 70 99 72</a><span style="color:rgb(84,99,114)"> – </span><b>Mobile : </b><a href="tel:%2B33%20%280%296%2052%2084%2044%2070" value="+33652844470" target="_blank">+33 (0)6 52 84 44 70</a></div>
<div style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:Arial;font-size:11px;margin:0px;color:rgb(47,89,147)">
<b>Email :</b> <a href="mailto:sebastien.han@enovance.com" target="_blank"><span style="color:rgb(52,0,238)">sebastien.han@enovance.com</span></a> <span style="color:rgb(84,99,114)">– </span><b>Skype : </b>han.sbastien</div>
<div style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:Arial;font-size:11px;margin:0px;color:rgb(47,91,148)">
<span style="color:rgb(47,89,147)"><b>Address :</b> </span>10, rue de la Victoire – 75009 Paris</div><div style="font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:Arial;font-size:11px;margin:0px;color:rgb(47,89,147)">
<span style="color:rgb(47,91,148)"><b>Web : </b><a href="http://www.enovance.com/" target="_blank"><span style="color:rgb(52,0,238)">www.enovance.com</span></a></span> <span style="color:rgb(84,99,114)">– </span><b>Twitter : </b>@enovance</div>
</span></div><br></div><div class="im">On Jun 18, 2013, at 4:30 AM, Huang Zhiteng <<a href="mailto:winston.d@gmail.com" target="_blank">winston.d@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div class="im">
Hi Sebastien,<br><br>What scheduler are you using in Cinder?<br><br><br>On Mon, Jun 17, 2013 at 4:20 PM, Sebastien Han <<a href="mailto:sebastien.han@enovance.com" target="_blank">sebastien.han@enovance.com</a>> wrote:<br>
Hi all,<br><br>Here the problem:<br><br>I have 2 Datacenters, 2 computes par DC, a SAN and the LUN is mapped on every compute nodes. So all the compute nodes share the same block device. I use the LVM iSCSI driver for Cinder and obviously the multi-backend. Thus I created AZ for cinder based on the location of the cinder-volume process (cinder-volume runs on every compute nodes), I have two AZ: DC1 and DC2. However when I try to create a volume I get most the volume on the first compute node of the specified location. Thus most of the iSCSI targets are created on the same node and I don't like this.<br>
<br>Little schema here <a href="http://www.asciiflow.com/#Draw7392320624318387463" target="_blank">http://www.asciiflow.com/#Draw7392320624318387463</a><br><br>My question is: can I tweak the scheduler to create volume in a round robin fashion, then I can have an even repartition of the targets.<br>
<br>Thanks in advance!<br><br>––––<br>Sébastien Han<br>Cloud Engineer<br><br>"Always give 100%. Unless you're giving blood."<br><br><br><br></div><span><image.png></span><div class="im"><br><br><br><br>
<br><br><br>Phone : <a href="tel:%2B33%20%280%291%2049%2070%2099%2072" value="+33149709972" target="_blank">+33 (0)1 49 70 99 72</a> – Mobile : <a href="tel:%2B33%20%280%296%2052%2084%2044%2070" value="+33652844470" target="_blank">+33 (0)6 52 84 44 70</a><br>
Email : <a href="mailto:sebastien.han@enovance.com" target="_blank">sebastien.han@enovance.com</a> – Skype : han.sbastien<br>Address : 10, rue de la Victoire – 75009 Paris<br>Web : <a href="http://www.enovance.com" target="_blank">www.enovance.com</a> – Twitter : @enovance<br>
<br><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" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br><br><br><br>-- <br>Regards<br>Huang Zhiteng<br></div></blockquote><br></div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Huang Zhiteng
</div></div>