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 B74CE17A99 for ; Fri, 17 Apr 2015 19:12:48 +0000 (UTC) Received: (qmail 6469 invoked by uid 500); 17 Apr 2015 19:12:47 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 6420 invoked by uid 500); 17 Apr 2015 19:12:47 -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 6408 invoked by uid 99); 17 Apr 2015 19:12:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2015 19:12:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rafaelweingartner@gmail.com designates 209.85.212.179 as permitted sender) Received: from [209.85.212.179] (HELO mail-wi0-f179.google.com) (209.85.212.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Apr 2015 19:12:21 +0000 Received: by widdi4 with SMTP id di4so32912316wid.0 for ; Fri, 17 Apr 2015 12:12:20 -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=y0Dw13HTMpIdzcvd2F8PYuuMjEKmHa1sDKJTlI+159Y=; b=kSeacIfdUGRyTmkVmdnE+OSH+yqpypGuzTBSsaaQTylFFOvnTLY4dquU9tn6zEjj5b tNdAejvu5J05rN7+caHDKEesWkmZeQd7e+j5xRIFNboAjJNTFRvVXL0h+tt9goP6bEls AJyOKzlfw9+Y/9CsiWXcR6Q1YFd9ly1BUMAouBMZ+G/WkLAo0jdZeyXoKCz26xtWZYsW /kY98VkAOgdV6JYkLYNTLzHGMLCCS2NXCF7FPVXZoayS3E+FXAg+fCRvwfPY/Ap/2Zi+ CjbhbSdOA1jRyC/re5H4pWbCcIrHWbDr2vPmSHFpFjxARGC1lgg0I7oat/R8esUqMh5S Nhbg== MIME-Version: 1.0 X-Received: by 10.180.82.97 with SMTP id h1mr4023205wiy.26.1429297940675; Fri, 17 Apr 2015 12:12:20 -0700 (PDT) Received: by 10.28.214.7 with HTTP; Fri, 17 Apr 2015 12:12:20 -0700 (PDT) In-Reply-To: References: Date: Fri, 17 Apr 2015 16:12:20 -0300 Message-ID: Subject: Re: [DISCUSS] XCP usage with CloudStack From: Rafael Weingartner To: "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=f46d0442673008410b0513f05c5f X-Virus-Checked: Checked by ClamAV on apache.org --f46d0442673008410b0513f05c5f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear Tim Mackey, I have a production environment using XCP (XAPI). As far as I know, the difference between the use of XAPI and Xenserver is that Xenserver is an OS bundled altogether with a version of Xen hypervisor, XAPI and some management tools. While, XAPI is just the API used to consolidate workloads and interact with the Xen hypervisor hosts. At the end, Xenserver environments are using the Xen hypervisor and XAPI toolstack. The difference is that it comes pre-built with an OS (CentOS?). When Cloudstack sends some command to start or stop a VM, it will send something like =E2=80=9Cxe vm-start uuid=3D=E2=80=9D or =E2=80=9Cxe = vm-shutdown uuid=3D=E2=80=9D, these are XAPI commands. Therefore, even if you are using Xenserver environments, those are the commands that are going to be used; hence, Xenserver encapsulates the XAPI and Xen hypervisor. To my knowledge, now that Xenserver was open by Citrix, there should not be any difference on capabilities between the XAPI that we get from here: http://www.xenproject.org/developers/teams/xapi.html And the one that we get when we install the Xenserver directly. Now answering your questions: 1. What OS/version are you using for dom0 and with what hypervisor version? We are using Debian 7.4.0, we first tried Ubuntu server, but it was not stable enough for a production environments. The Ubuntu had some bugs and missing dependencies that had to be worked around. 2. How did you deploy XCP (from pre-compiled ISO, built from source, package source i.e yum/apt-get, xenserver-core packages, something else) We installed the XCP (XAPI) using the apt repository. We first installed the xen hypervisor: # apt-get install xen-hypervisor-amd64 then the XAPI packages: # apt-get install xcp-xapi Of course, is not as simple as just running those commands, we also had to configure the networking and tuned the xen hypervisor, XAPI, storage and etc. 3. How are you handling updates to the XCP/Xen/XAPI components, particularly those of a security nature? If any patch is created and we find that it has to be applied in our environment, we first look if it is already in apt-get repository, if it is there, we just upgrade that package. If the upgrade is not in the official repository, we get and apply it manually. I am curious, what are the assumptions you make for Xenserver environments? On Fri, Apr 17, 2015 at 11:23 AM, Tim Mackey wrote: > A little bit ago there was a thread started on the dev list about XCP and > CloudStack. I've had a bit of a think about this if you're using XCP I > would like to understand better how XCP, and by extension the XAPI > toolstack when *not* part of XenServer, is deployed in your environments. > If XCP/XAPI users can answer these three questions, it would help in > understanding how to best handle XCP moving forward. > > 1. What OS/version are you using for dom0 and with what hypervisor versio= n? > > 2. How did you deploy XCP (from pre-compiled ISO, built from source, > package source i.e yum/apt-get, xenserver-core packages, something else) > > 3. How are you handling updates to the XCP/Xen/XAPI components, > particularly those of a security nature? > > While the XAPI toolstack as part of XenServer receives significant > development and QA attention, the same can't be said for legacy XCP and > pure XAPI. There are also assumptions made for XenServer which aren't > always valid in a legacy XCP or general XAPI installation. What I'm tryi= ng > to figure out is if we need to address any issues, and if so what the > impact might be. > > Thanks > > -tim > --=20 Rafael Weing=C3=A4rtner --f46d0442673008410b0513f05c5f--