Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE4F2D77B for ; Tue, 23 Oct 2012 06:27:02 +0000 (UTC) Received: (qmail 62164 invoked by uid 500); 23 Oct 2012 06:27:02 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 62074 invoked by uid 500); 23 Oct 2012 06:27:02 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 62050 invoked by uid 99); 23 Oct 2012 06:27:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 06:27:01 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wuzhiqing1985@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 06:26:55 +0000 Received: by mail-ie0-f175.google.com with SMTP id c13so4776041ieb.6 for ; Mon, 22 Oct 2012 23:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=o9BE4fUNSYlBh8mm0k9HEE1iLla8r5tfAYb97EGzdYE=; b=wzJ/aDJ/BusfGxBc8Wy0aNnkaIjuELAtY59Riu2PFxtcEejXvbd6rcj2e8nSMPoeWq 2V1YaD7Eg0KckXsmpvWQf1qhKzgWqGeKhWYP1bEBDXs+4j9WunLMvav+UAVQnxsHFVQR EepsijM3l+p/11tYUqac0GEuw+E7Vf4+QA+OANrNRyIRaxQFDanfaO9JpJSc3rlqYush wprPhgGCUJa3Z3GjeA7shMrohVS4E4DFTDfck9e8sD/NZHXOlHWMQLtQUqwKeJW2BSol 69Om7AdGtpmlJ/TfnNBHMy5UmWqVw4Z3pTZc1QkSJNkqJ+Aq1VyM1r61JZgovpgCxj+U AXLw== MIME-Version: 1.0 Received: by 10.42.66.207 with SMTP id q15mr9711617ici.34.1350973594295; Mon, 22 Oct 2012 23:26:34 -0700 (PDT) Received: by 10.42.82.74 with HTTP; Mon, 22 Oct 2012 23:26:34 -0700 (PDT) In-Reply-To: <7A92FF96DF135843B4B608FB576BFC3E012D9F95E91D@SJCPMAILBOX01.citrite.net> References: <0E491590-7E21-4669-8C72-F4DCC45B74C9@me.com> <7A92FF96DF135843B4B608FB576BFC3E012D9F95E91D@SJCPMAILBOX01.citrite.net> Date: Tue, 23 Oct 2012 14:26:34 +0800 Message-ID: Subject: Re: About Allocator algorithm of creating VM on Host From: zhiqing wu To: cloudstack-users@incubator.apache.org Content-Type: multipart/alternative; boundary=90e6ba614b52305d0304ccb40dd3 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba614b52305d0304ccb40dd3 Content-Type: text/plain; charset=ISO-8859-1 thks for you reply!! 2012/10/23 Prachi Damle > All of these are heuristics applied by deployment planner and > host/storagepool allocators to deice the order in which > resource(pods,clusters,hosts,storage pools) will be considered for VM > deployment. > > random: This just shuffles the list of clusters/hosts/pools that is > returned by the DB lookup. Random does not mean round-robin - So if you are > looking for a new host being picked up on every deployment - that may not > happen. > firstfit: This makes sure that clusters are ordered by available capacity > and first hosts/pools having enough capacity is chosen within a cluster. > userdispersing: For a given account, this makes sure that VM's are > dispersed - so clusters/hosts with minimum number of running VM's for that > account are chosen first. Storage Pool with minimum number of Ready storage > pools for the account is chosen first. > Userconcentratedpod_random: Always choose the pod/cluster with max. number > of VMs for the account - concentrating VM's at one pod. Hosts and > StoragePools are chosen randomly. > Userconcentratedpod_firstfit: Always choose the pod/cluster with max. > number of VMs for the account - concentrating VM's at one pod. Hosts and > StoragePools are chosen by firstfit. > > Hope this helps. > > -Prachi > > -----Original Message----- > From: Caleb Call [mailto:calebcall@me.com] > Sent: Monday, October 22, 2012 10:00 PM > To: cloudstack-users@incubator.apache.org > Subject: Re: About Allocator algorithm of creating VM on Host > > Can anyone give a definition of each of the models? I have noticed that > my VMs always create on a particular node in the cluster even though I have > 6 other nodes that are identical in specs to that one. I have tried first > fit (makes sense it would do to the same one till it was full), random (I > would expect it to NOT always go to the same one) and userdispersing (not > sure what to expect with this one, but tried it anyways). In the logs when > it's trying to figure out which node to use, it always finds all the nodes > and declares them all fit, but it always puts them on the same node. It > seems the algorithms don't work as well as they should. I did restart > after each change and could see it was using the new method. > > > On Oct 22, 2012, at 4:28 AM, Tamas Monos wrote: > > > Hi, > > > > The 3.0.2 support the following VM allocation algorithms: > > > > 'random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', > 'userconcentratedpod_firstfit' > > > > You can configure this in the global configuration options. The default > is random I guess. > > I don't think CloudStack will detect any of those you require however I > think hypervisors should. > > Your hypervisor cluster (I use ESX) will detect issues and send alerts, > I'm sure there is something for xen/kvm as well. > > > > Regards > > > > Tamas Monos DDI > +44(0)2034687012 > > Chief Technical Office > +44(0)2034687000 > > Veber: The Hosting Specialists Fax +44(0)871 522 > 7057 > > http://www.veber.co.uk > > > > Follow us on Twitter: www.twitter.com/veberhost Follow us on Facebook: > > www.facebook.com/veberhost > > > > -----Original Message----- > > From: Lucy [mailto:no1lucy@gmail.com] > > Sent: 22 October 2012 10:45 > > To: cloudstack-users@incubator.apache.org > > Subject: About Allocatoralgorithm of creating VM on Host > > > > Dear all, > > > > > > > > > > > > I have a question about allocator algorithm of creating VMs on Host. > > > > > > > > What's the default allocator algorithm to allocate VM on Host in > Cloudstack? > > > > > > > > And are there any other choice? > > > > > > > > Can Cloudstack detect heavy loadbalance ,for example one host's > CPU/memory is greater than 80%? > > > > > > > > Thanks, > > > > Lucy > > > > > > > > > > --90e6ba614b52305d0304ccb40dd3--