THanks guys for this info!

On 21 April 2015 at 01:32, Prachi Damle <prachi.da...@citrix.com> wrote:

> By Default it is first fit - and that means the first one found with
> enough capacity. This results in the first one returned by the Db ordering
> to get allocated first until it has capacity.
> One can choose the algorithm using vm.allocation.algorithm as Abhi
> mentioned.
>
> -Prachi
>
> -----Original Message-----
> From: Abhinandan Prateek [mailto:abhinandan.prat...@shapeblue.com]
> Sent: Monday, April 20, 2015 8:37 AM
> To: dev@cloudstack.apache.org
> Subject: Re: Primary Storage algorithm - when having more primary storages
>
> Following algorithms are used to select storage pool:
>
> random, userconcentratedpod_random: RANDOM
> userdispersing: Select on basis of least no of volumes
> firstfitleastconsumed: Select on basis of remaining capacity
>
> These values can be set for “vm.allocation.algorithm” global config
> variable.
>
> -abhi
>
> > On 20-Apr-2015, at 8:17 pm, Andrija Panic <andrija.pa...@gmail.com>
> wrote:
> >
> > Sorry for my ignorance - meaing completely random (except the scope ?)
> >
> > On 20 April 2015 at 16:01, Wei ZHOU <ustcweiz...@gmail.com> wrote:
> >
> >> /etc/cloudstack/management/componentContext.xml
> >>
> >>  <bean id="storagePoolAllocators"
> >> class="com.cloud.utils.component.AdapterList">
> >>    <property name="Adapters">
> >>      <list>
> >>          <ref bean="LocalStoragePoolAllocator"/>
> >>          <ref bean="clusterScopeStoragePoolAllocator"/>
> >>          <ref bean="zoneWideStoragePoolAllocator"/>
> >>      </list>
> >>    </property>
> >>  </bean>
> >>
> >>
> >> 2015-04-20 15:44 GMT+02:00 Andrija Panic <andrija.pa...@gmail.com>:
> >>
> >>> Hi people,
> >>>
> >>> just wondering - if I have 3 primary storages (3 x NFS boxes) - what is
> >> the
> >>> volume alocation algoritm - is it compelte random, or is it like 1
> >> client's
> >>> volume goes always to 1 storage...
> >>>
> >>> Any info appreciated !
> >>>
> >>> Thanks,
> >>>
> >>> --
> >>>
> >>> Andrija Panić
> >>>
> >>
> >
> >
> >
> > --
> >
> > Andrija Panić
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://secure-web.cisco.com/1PRv-JvQmbK3oYfgoOToEgShQXolmGgMLxjLUpY0FODAUAMVH4eRiAXTSud4jMt2CqCcHg09yk2UrBoy_Z6caE4aRXiSeTsH2pj26KFr8X1QQjP4o4WRxTWrE0NUVkD0xFN7aXwTXBR0OSXuGYYXHvrKDJ9YRYER_fuh_Qg8zoraTz8M1EtjTh2Og0yzlgahe/http%3A%2F%2Fshapeblue.com%2Fiaas-cloud-design-and-build%2F%2F
> >
> CSForge – rapid IaaS deployment framework<
> http://secure-web.cisco.com/1xqIwQE4oaptduHj2eM0C5Xak_ej-2RW-pw2UnrLy-WxErqQYIcZ-Ks2eBzC9wG5mXkux5dYNWycwQ0em7FHd68FVBp9V_NOjVigLOffysYbM1R4UjuUFm1Nf-ZQc3s7TKGIYaeXzuNim-qXPFQEkotJ-Ej5-ACppDG9xv5CRnbmybT0hWMkbODY-y5gF3zPt/http%3A%2F%2Fshapeblue.com%2Fcsforge%2F
> >
> CloudStack Consulting<
> http://secure-web.cisco.com/1BJ6ln-uVs-Unp3xam7jwZFUOckTBvgsLnG4WEQ6J5LxCozdXLNW7sOmlQ2HU9201euLb-2KzG3yEL7yPM_mUiSW-F6JZziSX_NOB_TDWs86ZpQL92VF8lXBoJc4oEJMgbC1N4fvmpr_v46W3erreM_050Cz4G1wPFuIcan271v6CYFPRXps0jBPLO6CFlikH/http%3A%2F%2Fshapeblue.com%2Fcloudstack-consultancy%2F
> >
> CloudStack Software Engineering<
> http://secure-web.cisco.com/19vJTGBujOo9_SZqEEcXrQuPfPleKldd1EC4Tpolrykx-0aRbmVK5EhvLY9N0GUKpaUVnsaLR8mJ0c-TVjB5sSge55QzFZpkYrAWGq31uT_itILAZUr9Hjijv0X9UVGE2mt2Qey31f-xcJDxB2XK-Iww-MKol6ho683JUbVcLRTPC9eW-u2-Je4jyJbOItt73/http%3A%2F%2Fshapeblue.com%2Fcloudstack-software-engineering%2F
> >
> CloudStack Infrastructure Support<
> http://secure-web.cisco.com/19CvSa6gGGillRrhNixj3SL7LBX-_ARUG2p2IY-Ktd8KDZQ_tV982oGz7MsFpiT2nx2CwpRPtWsFFY5XchJJGe5jrD6SEv-NHf4J1xdX7tgdQiImeGbcqyvRBpNr8XltbfsS-ido_W0GNiNsbMJOeB0XvBUGQSDsDCRSxOPztZHtCM5iGyK2jNsCXZKjQiw_8/http%3A%2F%2Fshapeblue.com%2Fcloudstack-infrastructure-support%2F
> >
> CloudStack Bootcamp Training Courses<
> http://secure-web.cisco.com/1qF9YOVMu2C4EKdpgRLLGDhijeJdMEqGFmtUFdiRVq40mbxoYdeFUqunCEBenuJCEowDhT8JfRJ90cG2Y3M4Nx_485mCuYCJn_yyMgq45-SGvosZ3IRQiSjQETjXaYxj4GR737c8onjv5-TnbWBtUk7_WHJXwu3Qj61lSmi0SQX-qpjZLtQWZvbvuXcO5OC7g/http%3A%2F%2Fshapeblue.com%2Fcloudstack-training%2F
> >
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>



-- 

Andrija Panić

Reply via email to