From issues-return-39160-apmail-cloudstack-issues-archive=cloudstack.apache.org@cloudstack.apache.org Thu Feb 20 19:18:51 2014 Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7A4810450 for ; Thu, 20 Feb 2014 19:18:51 +0000 (UTC) Received: (qmail 49459 invoked by uid 500); 20 Feb 2014 19:18:18 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 49273 invoked by uid 500); 20 Feb 2014 19:18:07 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 48522 invoked by uid 500); 20 Feb 2014 19:17:38 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 47907 invoked by uid 99); 20 Feb 2014 19:17:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 19:17:24 +0000 Date: Thu, 20 Feb 2014 19:17:24 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6047) Make Virtual Router to aggregate execution of commands MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907347#comment-13907347 ] ASF subversion and git services commented on CLOUDSTACK-6047: ------------------------------------------------------------- Commit d429be75a72d426be5f17b36c55024cbed3432bd in cloudstack's branch refs/heads/ui-restyle from [~yasker] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d429be7 ] CLOUDSTACK-6047: Fix fail to enable VPN > Make Virtual Router to aggregate execution of commands > ------------------------------------------------------ > > Key: CLOUDSTACK-6047 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6047 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller, Virtual Router > Reporter: Sheng Yang > Assignee: Sheng Yang > Priority: Blocker > Fix For: 4.4.0 > > > Currently VR has an scalability issue during the large deployment. Everytime when VR need to be re-create or reboot, CloudStack would send lots of programming commands to it. VR would treat them as individual commands then execute them. In large deployment, it would take tens of minutes or even hours to complete all the necessary updates, like setup DHCP and programming firewall. > For example, in the past, everytime we setup DHCP in VR, we need to restart dnsmasq service for every programming, which is very time consuming. Though we've introduced a way to reload without restart dnsmasq, but the same issue existed with apache2 and other services as well. And every SSH to VR would also time consuming. > The new approach of reprogramming VR, would help greatly on this issue, and hopefully great reduce the VR programming time. It would introduce a mechanism to "aggregate" the commands to be executed, and do it in one batch inside VR. And restart the related services(if necesary) only after the whole batch is completed. The configuration would be transfer to VR in one piece as well, eliminate any unnecessary ssh. > We would expect in such scenario, most configuration would only be text update and involve no more time consuming operations. We would leave every possible time consuming operation to the end of execution of aggregated commands. -- This message was sent by Atlassian JIRA (v6.1.5#6160)