Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EF5E7200AED for ; Tue, 3 May 2016 22:00:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EDEB81609F5; Tue, 3 May 2016 22:00:16 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 209BB1609A9 for ; Tue, 3 May 2016 22:00:15 +0200 (CEST) Received: (qmail 84130 invoked by uid 500); 3 May 2016 20:00:15 -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 84101 invoked by uid 99); 3 May 2016 20:00:14 -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; Tue, 03 May 2016 20:00:14 +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 63D6FC0595; Tue, 3 May 2016 20:00:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, 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 8hO2j6BcaWiF; Tue, 3 May 2016 20:00:11 +0000 (UTC) Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 470125F484; Tue, 3 May 2016 20:00:11 +0000 (UTC) Received: by mail-ob0-f172.google.com with SMTP id x1so10535364obt.0; Tue, 03 May 2016 13:00:11 -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 :cc; bh=PpxUeOFV+dOdK8foR8eL2aJb4WUser+Y+/8Zygw/d1s=; b=GxNVTunbltHe9Jq+5lS1MgBhIxLSVOB9KSXgabo88hcaM/uWSyBugA16k5ZlnB6RY0 8n/5Hae3QTlVY5AYYYBmI9wABnt9kEgGwKDqPhQSNbGNUxxBLp2KwN5cnUVdwd4yYxzc sOUg6/3qq2Le8Jac9//bHae6pUDTMGxjVrBonUcBGQ2QM9eZRsVI0X5mE84bc65MG1d7 O8qkyxGlwJuLmTMlNcmIrviC+lNKbX8WxTJLwHFNLekhx6J3atmZu6hLZKcvbijPzGF7 YgwOOPTCrYEAc5JptAdPwSD7HKGNZ8yhimZEt1ml2Y7DbK2OIWbJxa7cR2qJNkT0EQh8 6dHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=PpxUeOFV+dOdK8foR8eL2aJb4WUser+Y+/8Zygw/d1s=; b=SVuVROkfzR/MrLmg/5ISNYtSfoIYENvZ/EPfMxlefwrEvyyLXwcpjzWVops0G0wj6g 0DoqoRd8DNSUimI9r9BTHZ3V+IiQn4LV3qVBBris9+kPly5gW56hK1ag2bcX3/+AhRjD ChyzZK7O0QOtznGOgPmmK1qJ8PGl5cJXX5E2uMrXS8L7MAuBTSHjflyAuzQKi8/UiqpV yg2AwnGJFdpzQjrCogcT2TZg2n8KyRr6NxEfVtpJe2/X4bfA1j4pIc6yabQ1OVvadD7u ekWQsLgMBYis3BTMBuOWTQY5zRKabcGRAAvmbiYeQPza9LNXu99d/ewqpeBRwzrloIZQ uWZA== X-Gm-Message-State: AOPr4FWER3IGfpsGwjJjl+Et+HczOzECTqUdEJAfgwlK/KM2c9em18Lp6HxWxdcga3FVO4n9nU7m4pX9FtQLRw== MIME-Version: 1.0 X-Received: by 10.60.59.132 with SMTP id z4mr366288oeq.43.1462305604292; Tue, 03 May 2016 13:00:04 -0700 (PDT) Received: by 10.157.10.56 with HTTP; Tue, 3 May 2016 13:00:04 -0700 (PDT) In-Reply-To: <4gr2b87lz7t4uayhmvsesp8wl-0@mailer.nylas.com> References: <4gr2b87lz7t4uayhmvsesp8wl-0@mailer.nylas.com> Date: Tue, 3 May 2016 17:00:04 -0300 Message-ID: Subject: Re: [ANNOUNCE] Open source distributed virtual machine scheduling platform From: =?UTF-8?Q?Rafael_Weing=C3=A4rtner?= To: "users@cloudstack.apache.org" Cc: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=089e013c640618db690531f58efd archived-at: Tue, 03 May 2016 20:00:17 -0000 --089e013c640618db690531f58efd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Rohit, thanks ;) I will answer your questions in line. I did not look at the code but I'm curious on how you're powering off hosts, I think with my out-of-band management PR you can use the oobm subsystem to perform power management operations for IPMI 2.0 enabled hosts= . A: when we developed the first version (around October 2015), Apache CloudStack (ACS) did not have support to activate and deactivate hosts, it still does not have; you are working on that for Shapeblue, right? If there was something at that time, it would have been great. Therefore, we had to develop something to allow us to power on/off hosts (that was not our focus, but we needed it). So, we created the simplest solution possible (just to suffice our needs). Our cloud computing environment is created using pretty outdated servers, half of them do not have support for IPMI. Therefore, to shut down hosts, we use the hypervisors API. We noticed that most of the hypervisors have a shutdown command in their APIs; that is why we used it. We could not use many resources (time and energy) on developing that for every hypervisor ACS supports, so we did it only for XenServer to be used as a proof of concept (POC); to add the support to other hypervisors it would be a matter of implementing an interface. Even though we did the =E2=80=9Cshutdown=E2=80=9C using the hypervisor API,= it would be nice to have it also through the IPMI interface; it is rare, but we have seen servers hung during the shutdown process. Then, to activate (start) servers, we used the wake on LAN (WOL) protocol. We found that to be the easiest way to activate servers on a LAN (there are some requirements to do that, giving that it uses the layer 2 of the OSI model to send the commands). However, once again, our environment did not help much. One of our servers did not support WOL, but gladly it had IPMI support. Therefore, to start servers depending on a flag that we add to the =E2=80=9Ccloud.host=E2=80=9D table we use IPMI or WOL. Did the explanation help? You are welcome to look at the code, we think it is more or less clear and documented. Also curious how you implemented the heuristics and wrote tests (esp. integration ones), some of us had a related discussion about such a feature and we looked at this paper from VMware DRS team: http://www.waldspurger.org/carl/papers/drs-vmtj-mar12.pdf A: well, the heuristics are written in Java; we have an interface with a set of methods that have to be implemented and that can be used by our agents; also, we have a set of basic classes to support the development of new heuristics. We have created only two simple heuristics to be used as a proof of concept of the whole architecture we have created. Our first goal was to formalize and finish the whole architecture; after that, we could work on some more interesting things. Right now we are working on techniques to mix (add) neural or Bayesian networks into our heuristics; we intend to use those techniques to improve our VM mapping algorithms or the ranking of hosts. We have not read the VMware=E2=80=99s paper (we have based our whole propos= als solely on academic work until now); I have just glanced at it, and it seems interesting; though I would need much more time and a deeper reading to be able to comment on it. The testing is done in a test environment we have, we isolate and control the variables of the environment and everything that can affect the agents behaviors; then, we start to test every functionalities and the agent behavior. The process of testing for the first release was very manual. However, now that we know the whole framework works. We are covering it with test cases (unit and integration) and then to test a heuristic it would be a matter of writing test cases for it. Even with test cases, every experiment we do or release that is closed, we execute a thorough batch of tests to check if everything is working; sadly, those tests today manually executed. I can say that the fun is going to start now. I find it much more interesting to create methods/heuristics to manage the environment than to create the structure that uses the heuristics. Do you have some other doubts? On Tue, May 3, 2016 at 12:18 PM, Rohit Yadav wrote: > Nice feature :) > > I did not look at the code but I'm curious on how you're powering off > hosts, I think with my out-of-band management PR you can use the oobm > subsystem to perform power management operations for IPMI 2.0 enabled hos= ts. > > Also curious how you implemented the heuristics and wrote tests (esp. > integration ones), some of us had a related discussion about such a featu= re > and we looked at this paper from VMware DRS team: > http://www.waldspurger.org/carl/papers/drs-vmtj-mar12.pdf > > Regards, > Rohit Yadav > > > Regards, > > Rohit Yadav > > rohit.yadav@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > On Apr 27 2016, at 2:29 am, Gabriel Beims Br=C3=A4scher > wrote: > > Hello CloudStack community members (@dev and @users), > > This email is meant to announce the publication of a project on Github th= at > provides a distributed virtual machine scheduling platform that can be > easily integrated with Apache CloudStack (ACS). The project is available = at > [1], you can find a detailed explanation of the idea of the project, its > aspirations, basic concepts, installation and uninstallation processes an= d > other information at [2]. Also, if you want to know more about the > Autonomiccs and its creators, you can access the link [3]. > > The code that was opened at Github is part of a bigger system that has th= e > goal of managing a cloud computing environment autonomously. All of that = is > being developed and used in my Ph. D. thesis and the masters=E2=80=99 the= sis of > some colleagues. The formalization of that component will be published at > the 12th IEEE World Congress on Services (SERVICES 2016) at San Francisco > USA. > > You can see the stats of our code at [4] and [5]. Right now we only have > ~40% of code test coverage. However, we intend to increase that value to > ~60% until next week and ~90% until the end of June. > > To give you a picture of what we are preparing for the future, we can > highlight the following goals for this year (You can find others short te= rm > goals at [6]): > > - > > Integrate our platform [1] with a multi-agent system (MAS) platform, i= n > order to facilitate the development of agents. Currently, we are using > Spring-integration to =E2=80=9Cemulate=E2=80=9D and an agent life cycl= e; that can > become a > problem when needing to add more agents and they start to communicate > with > each other. Therefore, we will integrate the platform in [1] with JADE > [7]; > - > > Today the metrics about the use of resource are not properly gathered = by > ACS; in order to develop more accurate predictions we need to store > resource usage metrics. Also, those metrics have to be gathered in a > distributed way without causing service degradation. For that and a fe= w > other reasons (you can send us an email so we can provide you more > details), we are developing an autonomic monitoring platform that will > integrate with the system available in [1]; > - > > We also foresee the need to develop a better way to visualize the clou= d > environment, a way to detect hot spots (pods and hosts) with higher > resource usage trends (VMs trends). We see the need to change the rust= ic > view of the environment with tables for a better suitable one for huma= ns > (this is a surprise that we intend to present at the CCCBR). > > We hope you like the software and that it meets your expectations. If it > does not suffice all of your needs, let=E2=80=99s work together to improv= e it. If > you have any doubts or suggestions please send us an email; we will reply > it as fast as we can. Also, critics that can help us improve that platfor= m > are very welcome. > > [1] https://github.com/Autonomiccs/autonomiccs-platform > > [2] https://github.com/Autonomiccs/autonomiccs-platform/wiki > > [3] http://autonomiccs.com.br/ > > [4] http://jenkins.autonomiccs.com.br/ > > [5] http://sonar.autonomiccs.com.br/ > > [6] https://github.com/Autonomiccs/autonomiccs-platform#project-evolution > > [7] http://jade.tilab.com/ > > Cheers, Gabriel. > --=20 Rafael Weing=C3=A4rtner --089e013c640618db690531f58efd--