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 C9E6EFF27 for ; Thu, 21 Mar 2013 20:14:49 +0000 (UTC) Received: (qmail 54620 invoked by uid 500); 21 Mar 2013 20:14:49 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 54558 invoked by uid 500); 21 Mar 2013 20:14:49 -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 54550 invoked by uid 500); 21 Mar 2013 20:14:49 -0000 Delivered-To: apmail-incubator-cloudstack-dev@incubator.apache.org Received: (qmail 54547 invoked by uid 99); 21 Mar 2013 20:14:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 20:14:49 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL,URIBL_DBL_REDIR X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of mike.tutkowski@solidfire.com does not designate 209.85.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 20:14:45 +0000 Received: by mail-oa0-f48.google.com with SMTP id j1so3572657oag.35 for ; Thu, 21 Mar 2013 13:14:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=7whq2rtOfVyVpSM5WVI8ThoEC1+RpDUco0eSdk3pUOc=; b=hPMvR+79EivVfaJDoS9V63D3KHFK6wJ6x4i5v68UElHPWQqP3Awwne3/4dJD2Zr9mX CIGGVhP90hPg7v0U2dB12bbAbliX6xeoJ1aX6H+huk3sc8I/ISe6HtgEaeqlvURa3YvT JfCsuJMfsVmh8Gela7g8DQTGOupajHV5d5psteR3+yVET4LbBTBSdWZLWEk4XUlow01t dpCBYpC2QzBNQcrFX0F9Ns8HlUnqv3jI5coCoR4k1QkZddapsAb8eDzOYCWeEarAuYbg LtyI9QOgGMVpfLMBn3bwVmtrPUJvQif5Of6fzj5///gn5N4aKxpVuP0efKJdhbhoLM4/ VLgA== MIME-Version: 1.0 X-Received: by 10.60.25.4 with SMTP id y4mr7531930oef.114.1363896864376; Thu, 21 Mar 2013 13:14:24 -0700 (PDT) Received: by 10.182.227.100 with HTTP; Thu, 21 Mar 2013 13:14:24 -0700 (PDT) In-Reply-To: <786a136c6194fd48984fcba5c0fb1f8b@mail.gmail.com> References: <170834995fc561c5e16996ef16794492@mail.gmail.com> <786a136c6194fd48984fcba5c0fb1f8b@mail.gmail.com> Date: Thu, 21 Mar 2013 14:14:24 -0600 Message-ID: Subject: Re: Storage Subsystem 2.0 plugin docs From: Mike Tutkowski To: Vladimir Popovski Cc: Edison Su , cloudstack Content-Type: multipart/alternative; boundary=e89a8fb200bc1c9eb404d874fcc0 X-Gm-Message-State: ALoCoQlJaJlYJBTa/xE3mpiK1UOO27Cyf/TzTWYr+RzPqYaWF+orUzHIXdgLOsRCckVZ11ilg5bE X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb200bc1c9eb404d874fcc0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Very useful info, Edison - thanks!! By the way, can you confirm for me that this storage plug-in framework is expected to work for all hypervisors supported by CS in 4.2. Thanks again! On Thu, Mar 21, 2013 at 12:52 PM, Vladimir Popovski < vladimir@zadarastorage.com> wrote: > Hi Edison, > > > > Thank you for the reply. We will check it out. > > > > Regards, > > -Vladimir > > > > > > *From:* Edison Su [mailto:Edison.su@citrix.com] > *Sent:* Thursday, March 21, 2013 11:36 AM > *To:* 'Vladimir Popovski'; cloudstack > *Cc:* mike.tutkowski@solidfire.com > *Subject:* RE: Storage Subsystem 2.0 plugin docs > > > > > > > > *From:* Vladimir Popovski [mailto:vladimir@zadarastorage.com] > > *Sent:* Wednesday, March 20, 2013 9:05 AM > *To:* cloudstack > *Cc:* mike.tutkowski@solidfire.com; Edison Su > *Subject:* Storage Subsystem 2.0 plugin docs > > > > Hi All, > > > > Thank you for a great work on CloudStack! We are interested in integratin= g > CS with our storage system and started to look at your documentation and > storage-related code. I see that Mike from SolidFire started working on > something similar some time ago and Edison even created an empty plugin f= or > it (in Nov=9212?). > > > > We have couple of questions related to that: > > - Is there any documentation about plugins (except of > https://cwiki.apache.org/CLOUDSTACK/storage-subsystem-20.html) > > [Edison] There are not much docs about the plugins other than the above > link. See below. > > - Are there any exemplary plugins for primary & secondary > datastores? Was the SolidFire plugin ever finished? > > [Edison] yesterday, I checked in some code to separate existing cloudstac= k > storage code into a standalone maven project, called: > cloud-plugin-storage-volume-default, which can give you an example how a > storage plugin will look like. > > - How to activate a new plugin and use it (at least through > CLIs/APIs) > > [Edison] First, put a bean configuration in client/tomcatconf/ > componentContext.xml.in for your plugin provider class, like: > > class=3D"org.apache.cloudstack.storage.datastore.provider.CloudStackPrima= ryDataStoreProviderImpl"> > > > > Second, when adding a data store into cloudstack, with an extra parameter > in createstoragepoolcmd: provider=3Dyour-provider-name, > liststorageproviderscmd can list all the registered providers in mgt serv= er. > > > > > > - How to integrate it with the UI > > There is no UI part of example code for storage yet, the idea is to use > pluggable UI( > https://cwiki.apache.org/confluence/display/CLOUDSTACK/UI+Plugin+Tutorial= ), > for each storage provider may need a separate UI to add a storage. For > example, in adding primary storage ui, there will be a drop down list, sh= ow > all the registered providers, if user selects one of the drop down list, > then UI will pop up a diagram, based on providers=92 pluggable ui, then u= ser > can type whatever information needed for a storage(e.g. nfs server, nfs > path, if its nfs). At the end, UI will call createstoragepoolcmd to > register a storage into cloudstack. > > > > Thanks, > > -Vladimir > > > > > > ------- > > Vladimir Popovski > > VP, Cloud Operations > > Zadara Storage > (949) 677-2095 > > Vladimir@zadarastorage.com > > www.zadarastorage.com > > > > > --=20 *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkowski@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud *=99* --e89a8fb200bc1c9eb404d874fcc0--