<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for your answer, the thing is, since it's always the same LUN, so all the new volume are created using the same block. The free capacity is always the same, this is why it's not well balanced. Any idea to tell the scheduler to do round robin?<div><br><div>––––<br>Sébastien Han<br>Cloud Engineer<br><br>"Always give 100%. Unless you're giving blood."<br><br><br><br><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span><img height="38" width="200" id="7cd271ca-21b2-492e-b882-d6e1d6f60711" apple-width="yes" apple-height="yes" src="cid:30579C49-4F06-4D82-87C1-C0E41DE85D60@enovance.com"></span><div class="" style="color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-family: Arial; margin: 0px; min-height: 14px; "><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"><br class=""></div><div class="" style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-family: Arial; font-size: 11px; margin: 0px; color: rgb(47, 89, 147); "><b class="">Phone : </b>+33 (0)1 49 70 99 72<span class="" style="color: rgb(84, 99, 114); "> – </span><b class="">Mobile : </b>+33 (0)6 52 84 44 70</div><div class="" style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-family: Arial; font-size: 11px; margin: 0px; color: rgb(47, 89, 147); "><b class="">Email :</b> <a href="mailto:sebastien.han@enovance.com"><span class="" style="color: rgb(52, 0, 238); ">sebastien.han@enovance.com</span></a> <span class="" style="color: rgb(84, 99, 114); ">– </span><b class="">Skype : </b>han.sbastien</div><div class="" style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-family: Arial; font-size: 11px; margin: 0px; color: rgb(47, 91, 148); "><span class="" style="color: rgb(47, 89, 147); "><b class="">Address :</b> </span>10, rue de la Victoire – 75009 Paris</div><div class="" style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-family: Arial; font-size: 11px; margin: 0px; color: rgb(47, 89, 147); "><span class="" style="color: rgb(47, 91, 148); "><b class="">Web : </b><a href="http://www.enovance.com/" class=""><span class="" style="color: rgb(52, 0, 238); ">www.enovance.com</span></a></span> <span class="" style="color: rgb(84, 99, 114); ">– </span><b class="">Twitter : </b>@enovance</div>
</span></div><br>On Jun 18, 2013, at 10:46 AM, Huang Zhiteng <<a href="mailto:winston.d@gmail.com">winston.d@gmail.com</a>> wrote:<br><br><blockquote type="cite">On Tue, Jun 18, 2013 at 3:57 PM, Sebastien Han <<a href="mailto:sebastien.han@enovance.com">sebastien.han@enovance.com</a>> wrote:<br>Hi,<br><br>I use this one: scheduler_driver=cinder.scheduler.filter_scheduler.FilterScheduler<br><br>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> <br>Thanks!<br><br>––––<br>Sébastien Han<br>Cloud Engineer<br><br>"Always give 100%. Unless you're giving blood."<br><br><br><br><span><image.png></span><br><br><br><br><br><br><br>Phone : +33 (0)1 49 70 99 72 – Mobile : +33 (0)6 52 84 44 70<br>Email : sebastien.han@enovance.com – Skype : han.sbastien<br>Address : 10, rue de la Victoire – 75009 Paris<br>Web : www.enovance.com – Twitter : @enovance<br><br>On Jun 18, 2013, at 4:30 AM, Huang Zhiteng <winston.d@gmail.com> wrote:<br><br><blockquote type="cite">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 <sebastien.han@enovance.com> 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 http://www.asciiflow.com/#Draw7392320624318387463<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><image.png><br><br><br><br><br><br><br><br>Phone : +33 (0)1 49 70 99 72 – Mobile : +33 (0)6 52 84 44 70<br>Email : sebastien.han@enovance.com – Skype : han.sbastien<br>Address : 10, rue de la Victoire – 75009 Paris<br>Web : www.enovance.com – Twitter : @enovance<br><br><br>_______________________________________________<br>OpenStack-operators mailing list<br>OpenStack-operators@lists.openstack.org<br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators<br><br><br><br><br>-- <br>Regards<br>Huang Zhiteng<br></blockquote><br><br><br><br>-- <br>Regards<br>Huang Zhiteng<br></blockquote><br></div></body></html>