Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E705217AD5 for ; Fri, 17 Jul 2015 09:39:00 +0000 (UTC) Received: (qmail 71200 invoked by uid 500); 17 Jul 2015 09:38:58 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 71132 invoked by uid 500); 17 Jul 2015 09:38:58 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 71109 invoked by uid 99); 17 Jul 2015 09:38:58 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2015 09:38:58 +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 1AC15C0910; Fri, 17 Jul 2015 09:38:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=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-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id VdHVxDof4Ghm; Fri, 17 Jul 2015 09:38:45 +0000 (UTC) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id BF89C47BEC; Fri, 17 Jul 2015 09:38:44 +0000 (UTC) Received: by lbbzr7 with SMTP id zr7so58219352lbb.1; Fri, 17 Jul 2015 02:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Z8J4d5RQu4Y4P8+w67rCHNNsK6jhXtd8+joLnBXYyHo=; b=znxOZ3tSIRo48aP9WJCoqxju9f7G+jJtyH102DAKC4lM8PpWJ+wq7nWQUHufklmNML 8huRiiOuUpg6EzQQBx3U4+3fVIKZ5kOVhNxV8FV9wHHJ01l2iEVqK5b7nm+SoaA9jdnv khYIatkSjz3QMlTCzVXKJhJYz/FIuzr9fg2gnyRvVe8FW96isXVoRXng9iu9XAWoLrqV bPMX+9nP40Z6ID1HeiBaD2KBVTbWtKKTrWcs5UvAA1ndQScswmdDyUyvWse3L4u2MbAF 4d/QAvkfT73TPrYFVcUTsv3QS7Mgb/CHF7+iTLJH/51cScdHICxZnntaJacFNJHeJKXV xFVA== X-Received: by 10.112.221.9 with SMTP id qa9mr13628625lbc.23.1437125918229; Fri, 17 Jul 2015 02:38:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.190.2 with HTTP; Fri, 17 Jul 2015 02:38:18 -0700 (PDT) In-Reply-To: <20150717030353.A0EDE720001@webmail.sinamail.sina.com.cn> References: <20150717030353.A0EDE720001@webmail.sinamail.sina.com.cn> From: Daan Hoogland Date: Fri, 17 Jul 2015 11:38:18 +0200 Message-ID: Subject: Re: upgrade cloudstack from 4.2.0 to 4.4.2 To: dev , fight3000dz@sina.com Cc: users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable ad 1. The roll back procedure is ad 2. You only need to edit your cluster setting after the upgrade to set them to 4 ad 3. yes they can remain running On Fri, Jul 17, 2015 at 5:03 AM, wrote: > Hello, > My environment is cloudstack4.2.0+vmware5.0.I'm testing the upgrade proce= ss from cloudstack4.2.0 to cloudstack 4.4.2 in this local envirionment.My r= eference is the <>.I have successfully comp= leted the upgrade process.The cloudstack is running normally after i have u= pgraded it from 4.2.0 to 4.4.2.But i have some questions: > 1. I want to know procedures about upgrade-failure.What should i do if th= e process of upgrading is error.According to the release note,my processes = are the following:1)Install new system-vm templates2)backup cloudstack data= base(MySQL)3)upgrade cloudstack management server4)update hypervisors speci= fic dependencies5)restart system-vms and virtual-routersPlease give me some= rollback processes. > 2. In the release note,it says:"After upgrading to 4.2 and later,Settings= mem.overprovisioning.factor and cpu.overprovisioning.factor are now at the= cluster level and be set to 1 whick is the default.If Global Settings mem.= overprovisioning.factor and cpu.overprovisioning.factor have been changed p= rior the upgrade to 4.2 and later,the upgrade process will be reset them to= 1.Values can be changed by editing clusters settings.All clusters created = after the upgrade will get created with the Global Settings values for mem.= overprovisioning.factor and cpu.overprovisioning.factor." > In my envirionment,cpu.overprovisioning.factor and mem.overprovisioning.f= actor are set to 4.According to the release note,these two parameters will = be set to 1 automatically after the upgrade-process.So,will it have some pr= oblem about the cluster's overprovision.My cluster's vms cannot all run if = the parameter is set to 1. > If i shutdown all the vms before the upgrade process,maybe it can solve t= his problem.But i prefer to keep all the vms running in the whole process.W= hat should i do about this problem? > 3. Regardless of question 2,can all the vms keep the running state in the= whole upgrade process?I don't want to shutdown vms in the whole procedure. > Thank you. --=20 Daan