Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 611DE18A87 for ; Sat, 5 Mar 2016 06:50:29 +0000 (UTC) Received: (qmail 32237 invoked by uid 500); 5 Mar 2016 06:50:28 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 32181 invoked by uid 500); 5 Mar 2016 06:50:28 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 32169 invoked by uid 99); 5 Mar 2016 06:50:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Mar 2016 06:50:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D7480C0A64 for ; Sat, 5 Mar 2016 06:50:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.802 X-Spam-Level: X-Spam-Status: No, score=-0.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id GnP0TFQQQ8aR for ; Sat, 5 Mar 2016 06:50:27 +0000 (UTC) Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 8FF015FB02 for ; Sat, 5 Mar 2016 06:50:26 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id 129so3680475pfw.1 for ; Fri, 04 Mar 2016 22:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=uVD8Kko7LTUSOIZLRXEB0cStgzafJ6zkLSr0DRvnxR0=; b=iA9rjHqrZPnfvif/0dg/0/Xe11opQMJslTh6eSTjctYmEusJzUgUTH154BGy/w42Pf +r5sqq411RbUIRLQMLIROfXUWjYPDQcq+e+55zbdWWJZb8VRGMZBfQpguoaYPpcYOQhQ WRQWnwob0FBYQc0FTLlxqZ2g+K9103qiBfqClFriRs2sD3kBQ3x7Ms74jHySDDardfe2 wjpRf1Uusul2F3bf+U4zH2QzgQh4EWyPgQ5hjVBJ8VThcRzEZZccAxG6OOkODjCYr5L3 wjPOdEAZqw57HDyjAt954gdee2p+CZ0Tg5NZW3tfAyvbIU0mXThdi/6x6TEnq7HzTEF+ jf9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=uVD8Kko7LTUSOIZLRXEB0cStgzafJ6zkLSr0DRvnxR0=; b=WV2cM5miFunIw4IkCpr7FF1hT0B5eSNFPXMUzFN6Yi3iwRd6Ok4T199YGmyPIucpn/ FRt8yRNxBseKJ/WGguxGdE0SNJOtSzAfFAoXFSSLHUs9NcWCXBxtuzQDenJawhAYoyuE 6NMfNjHWjuds+L+rnWDF5HLGlhREBLRaEwmgXQXkd+octZWES7cxITfjGwjXMAXZJIVN uK6MKHOorynU4L1t+6Jum0594SO/EB48TBjX8IEUZk7DSudkPStOIfT4x1070bkAOCF3 XaJHUcHgXOQrn68r6BHWs3ZBJPgIfYsgA3oZPP5lhb/fGVvhiAzNX6dRGI8RysYZ6f4O W75w== X-Gm-Message-State: AD7BkJILCcBvNIANDTDzVVauTkDlMZEXyyRnO9M5vc7wPTHDcEeQnW8TYmIhzZg9TGYrSQ== X-Received: by 10.98.79.9 with SMTP id d9mr17756073pfb.46.1457160625590; Fri, 04 Mar 2016 22:50:25 -0800 (PST) Received: from [0.0.0.0] (dev1.cloudsand.com. [162.243.147.22]) by smtp.gmail.com with ESMTPSA id m16sm9801420pfi.75.2016.03.04.22.50.23 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Mar 2016 22:50:24 -0800 (PST) Message-ID: <56DA81AE.3090106@gmail.com> Date: Fri, 04 Mar 2016 22:50:22 -0800 From: ilya User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: users@cloudstack.apache.org Subject: Re: working with over provisioning factors References: <534A43BD-F98F-467C-8A20-E847F9011F8E@marketo.com> In-Reply-To: <534A43BD-F98F-467C-8A20-E847F9011F8E@marketo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Yiping I've done this before - several times in very large environments. I'm not certain why you require a restart of VMs. Restart of VMs will not reflect the change in cloudstack resources until you modify the DB. If you want for mem.overprovisiong to take effect, you would need to modify for each applicable VM-id in cloud.user_vm_details table. This may be a bit painful for iterative SQL syntax to get correctly. I'd suggest you do a db dump before hand. Regards ilya PS: mem.overprovisiong - generally bad idea, but i'm certain you know what works better for your environment. On 3/2/16 4:56 PM, Yiping Zhang wrote: > Hi, > > I have to change the global and cluster setting memory.overprovisioning.factor for one of clusters with hundreds of running VM instances. Now, in order for the changes to take effect, I need to restart all running instances. I am wondering is there a way to update all running VM instances to reflect updated memory allocations without restarting every single VM instances? > > While I am on the subject of restarting VM instances, I went into data base to get their POWER_STATE_UPDATE_TIME value from vm_instance table directly. I noticed that this value is not consistently updated for those VM instances I restarted (either in UI or via API calls with stop followed by start actions). Is this a bug ? > > Yiping >