Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC5D211F11 for ; Wed, 20 Aug 2014 01:29:29 +0000 (UTC) Received: (qmail 47633 invoked by uid 500); 20 Aug 2014 01:29:29 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 47583 invoked by uid 500); 20 Aug 2014 01:29:29 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 47573 invoked by uid 99); 20 Aug 2014 01:29:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 01:29:29 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nirmal070125@gmail.com designates 74.125.82.50 as permitted sender) Received: from [74.125.82.50] (HELO mail-wg0-f50.google.com) (74.125.82.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 01:29:25 +0000 Received: by mail-wg0-f50.google.com with SMTP id n12so7265380wgh.9 for ; Tue, 19 Aug 2014 18:29:04 -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:content-type; bh=KMYQCQ9vBE6a24xHqsO273WUJUnsJ3I4iz6PsXfgbDo=; b=lSZRYzcVTYyDAfRAJptH/H+5sxHWUhppMNjnjnc9F3DeGqYIzNOICWuvrRHrnAD2AR AM60jcK3Vhuw7A9f5R2QynEkMVhknMaUgQ9tDer/X6tob+yASQGthYpNDz6AY53v3fUi DvDMAu3zEnuv7q8AU7xO+wVvx4g5ZKcralSGz7U7olRauWMHozX83RxXFmOcuou/ahqT ZT+EhU04yjwnbMwTaFLKa1EX/XU/Pj4oD3IALjUDCTWqGd9Xg2JXgwGYZWh/DV/PzPtj X93nQwHjYgcXfy6tfzkmhBqXudw2E8ZuyAaxjMrLyBzC4nU/6JligPjKm7K1JoLIRD7N dIwA== MIME-Version: 1.0 X-Received: by 10.180.75.230 with SMTP id f6mr11269408wiw.5.1408498144094; Tue, 19 Aug 2014 18:29:04 -0700 (PDT) Received: by 10.194.61.211 with HTTP; Tue, 19 Aug 2014 18:29:04 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 Aug 2014 06:59:04 +0530 Message-ID: Subject: Re: Stratos Concept Mapping against Deployment From: Nirmal Fernando To: dev Cc: Lakmal Warusawithana Content-Type: multipart/alternative; boundary=f46d043891238bb0bf0501058734 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043891238bb0bf0501058734 Content-Type: text/plain; charset=UTF-8 Also, please read Findings on CoreOS thread for a summarized set of information on CoreOS. On Wed, Aug 20, 2014 at 6:52 AM, Nirmal Fernando wrote: > > > > On Wed, Aug 20, 2014 at 3:45 AM, Imesh Gunaratne wrote: > >> If we group a Docker/Core OS host as a partition, if the host goes down >> the entire partition will be unavailable. >> >> Core OS uses a similar concept in clustering to avoid this problem: >> https://coreos.com/using-coreos/clustering/ >> > > Yes Imesh, that's what I mapped to a network partition (a cluster of > CoreOS). CoreOS currently lacks APIs (they released an alpha version of > Fleet API yesterday), and also as I mentioned in the other thread, Fleet > and Stratos has conflicting set of interests. As of now, I am not sure that > using Fleet is a viable option for us. > >> >> Will us be able to span a partition among multiple hosts? >> >> >> On Tue, Aug 19, 2014 at 11:32 AM, Lahiru Sandaruwan >> wrote: >> >>> mm.. Then why a sub-partition? May be i should wait on the other thread >>> you start. >>> >>> >>> On Tue, Aug 19, 2014 at 12:43 AM, Nirmal Fernando < >>> nirmal070125@gmail.com> wrote: >>> >>>> >>>> >>>> >>>> On Tue, Aug 19, 2014 at 12:50 PM, Lahiru Sandaruwan >>>> wrote: >>>> >>>>> Hi Nirmal, >>>>> >>>>> >>>>> On Mon, Aug 18, 2014 at 11:42 PM, Nirmal Fernando < >>>>> nirmal070125@gmail.com> wrote: >>>>> >>>>>> Hi All, >>>>>> >>>>>> We need to clearly understand the mapping of Stratos concepts against >>>>>> each deployment type in order to provide Docker support in Stratos. Please >>>>>> see the following table and let me know your thoughts. >>>>>> >>>>>> >>>>>> Deployment Type >>>>>> ------------------------------ >>>>>> >>>>>> Stratos Concept >>>>>> Virtual Machines Docker on Bare Metal Docker on CoreOS in an IaaS >>>>>> >>>>>> Cartridge Instance >>>>>> >>>>>> a VM >>>>>> >>>>>> a Docker Process >>>>>> >>>>>> a Docker Process >>>>>> >>>>>> Partition >>>>>> >>>>>> an Availability Zone >>>>>> >>>>>> a Docker Host VM >>>>>> >>>>>> a CoreOS Host VM >>>>>> >>>>>> Network Partition >>>>>> >>>>>> a Region >>>>>> >>>>>> a set of Docker Host VMs >>>>>> >>>>>> a cluster of CoreOS VMs >>>>>> >>>>>> >>>>>> With the introduction of Docker, I feel like we need a >>>>>> sub-partitioning concept to cater in-container auto-scaling feature. I'll >>>>>> start a separate thread to discuss my findings on this. >>>>>> >>>>> >>>>> I did not get what is "in-container auto-scaling" means? Do you mean >>>>> creating(auto-scaling) several docker processes in docker host for e.g.? >>>>> >>>> >>>> Yes Lahiru. >>>> >>>>> >>>>> Thanks. >>>>> >>>>> >>>>> >>>>>> >>>>>> -- >>>>>> Best Regards, >>>>>> Nirmal >>>>>> >>>>>> Nirmal Fernando. >>>>>> PPMC Member & Committer of Apache Stratos, >>>>>> Senior Software Engineer, WSO2 Inc. >>>>>> >>>>>> Blog: http://nirmalfdo.blogspot.com/ >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> Lahiru Sandaruwan >>>>> Committer and PMC member, Apache Stratos, >>>>> Senior Software Engineer, >>>>> WSO2 Inc., http://wso2.com >>>>> lean.enterprise.middleware >>>>> >>>>> email: lahirus@wso2.com cell: (+94) 773 325 954 >>>>> blog: http://lahiruwrites.blogspot.com/ >>>>> twitter: http://twitter.com/lahirus >>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Best Regards, >>>> Nirmal >>>> >>>> Nirmal Fernando. >>>> PPMC Member & Committer of Apache Stratos, >>>> Senior Software Engineer, WSO2 Inc. >>>> >>>> Blog: http://nirmalfdo.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> -- >>> Lahiru Sandaruwan >>> Committer and PMC member, Apache Stratos, >>> Senior Software Engineer, >>> WSO2 Inc., http://wso2.com >>> lean.enterprise.middleware >>> >>> email: lahirus@wso2.com cell: (+94) 773 325 954 >>> blog: http://lahiruwrites.blogspot.com/ >>> twitter: http://twitter.com/lahirus >>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>> >>> >> >> >> -- >> Imesh Gunaratne >> >> Technical Lead, WSO2 >> Committer & PPMC Member, Apache Stratos >> > > > > -- > Best Regards, > Nirmal > > Nirmal Fernando. > PPMC Member & Committer of Apache Stratos, > Senior Software Engineer, WSO2 Inc. > > Blog: http://nirmalfdo.blogspot.com/ > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/ --f46d043891238bb0bf0501058734 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Also, please read=C2=A0Findings on=C2=A0CoreOS=C2=A0thread for = a summarized set of information on CoreOS.


On Wed, Aug 2= 0, 2014 at 6:52 AM, Nirmal Fernando <nirmal070125@gmail.com> wrote:



On Wed, Aug 20, 2014= at 3:45 AM, Imesh Gunaratne <imesh@apache.org> wrote:
If we= group a Docker/Core OS host as a partition, if the host goes down the enti= re partition will be unavailable.

Core OS uses a similar concept in clustering to avoid this problem= :

Yes Imesh, that's what I mapped = to a network partition (a cluster of CoreOS). CoreOS currently lacks APIs (= they released an alpha version of Fleet API yesterday), and also as I menti= oned in the other thread, Fleet and Stratos has conflicting set of interest= s. As of now, I am not sure that using Fleet is a viable option for us.

Will us be able to span a partition among multipl= e hosts?


On Tue, Aug 19, 2014 at 11:32 AM, Lahiru Sandaruwan <lahir= us@wso2.com> wrote:
= mm.. Then why a sub-partition? May be i should wait on the other thread you= start.=C2=A0


On Tue, Aug 19, 2014 at 12:43 AM, N= irmal Fernando <nirmal070125@gmail.com> wrote:



On Tue, Aug 19, 2014 at 12= :50 PM, Lahiru Sandaruwan <lahirus@wso2.com> wrote:
Hi Nirmal,


On Mon, Aug 18, 2014 = at 11:42 PM, Nirmal Fernando <nirmal070125@gmail.com> w= rote:
Hi All,

We need to cle= arly understand the mapping of Stratos concepts against each deployment typ= e in order to provide Docker support in Stratos. Please see the following t= able and let me know your thoughts.


<= col width=3D"*"> Deployment Type

Stratos Concept

Virtual Machines

Docker on Bare Metal

Docker on CoreOS in an IaaS

Cartridge Instance

a VM

a Docker Process

a Docker Process

Partition

an Availability Zone

a Docker Host VM

a CoreOS Host VM

Network Partition

a Region

a set of Docker Host VMs

a cluster of CoreOS VMs



W= ith the introduction of Docker, I feel like we need a sub-partitioning conc= ept to cater in-container auto-scaling feature. I'll start a separate t= hread to discuss my findings on this.

I did not get what is &q= uot;in-container auto-scaling" means? =C2=A0Do you mean creating(auto-= scaling) several docker processes in docker host for e.g.?

Yes Lahiru.=C2=A0
<= div>

Thanks.


=


--
Best Regards,
Nirm= al

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos= ,
Senior Software Engineer, WSO2 Inc.




--
--
Lahiru Sandaruwan



--
Best Regards,
Nirmal

Nirmal Fernando.<= br>PPMC Member & Committer of Apache Stratos,
Senior Software Engine= er, WSO2 Inc.




--
--
Lahiru SandaruwanCommitter and PMC member, Apache S= tratos,
Senior=C2=A0Software Engineer,
WSO2 Inc., http://wso2.com



<= span>--
Imesh Gunaratne
Technical Lead, WSO2
Committer & PP= MC Member, Apache Stratos


--
Best Regards,
Nirm= al

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos= ,
Senior Software Engineer, WSO2 Inc.




--
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & C= ommitter of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

--f46d043891238bb0bf0501058734--