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
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
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ć
/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
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
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.