Nirmal what you're saying and what Azeez said are not in sync. Can you guys
get together and agree and then I'll try to map it to my mental model :).

BTW WSO2 LB can route and LB anything not just WSO2 stuff. Its just an HTTP
load balancer.

Sanjiva.

On Wed, May 9, 2012 at 5:56 AM, Nirmal Fernando <[email protected]> wrote:

> Hi Sanjiva,
>
> On Tue, May 8, 2012 at 10:38 PM, Sanjiva Weerawarana <[email protected]>wrote:
>
>> Nirmal that can't be right .. the newly spawned LXC instance can be
>> running anything, including PHP.
>
>
> True that!
>
> That means there has to be something in that (started by rc.local) that
>> talks back to our controller and allows us to manage it.
>
>
> In the case of WSO2 servers it's to the WSO2 LB, that the newly started
> server get joined. In the case of PHP, AFAIK there's a different LB.
>
> As per now, Controller only manages, from which adapter it should ask to
> spawn the new instance, from which adapter it should ask to terminate an
> existing instance.
>
> To be more clearer Controller talks only to Agents in each host machine,
> not to the each LXC in a host machine. It's the respective LB talks with
> newly spawned instances.
>
> Do you prefer Controller to have control over LXCs too?
>
>
>> We need to get this terminology straight .. if that's not the agent then
>> what's that code called? What does the controller outside of the host do?
>> Where does it run?
>>
>> Sanjiva.
>>
>> On Tue, May 8, 2012 at 9:05 PM, Nirmal Fernando <[email protected]> wrote:
>>
>>> Hi Sanjiva,
>>>
>>> On Tue, May 8, 2012 at 8:40 PM, Sanjiva Weerawarana <[email protected]>wrote:
>>>
>>>> Yeah so Tropos is basically a new kinda IaaS and it has a controller
>>>> (which is a Carbon server) which goes in the host machine and an agent
>>>> (which is also a Carbon server) which goes inside the LXC itself.
>>>
>>>
>>> Controller resides in a separate machine, and agent resides in the host
>>> machine. It's the newly spawned Carbon server which resides in the LXC.
>>>
>>>
>>>> We should make a new commons project or something and have that project
>>>> take a dependency on a version of Carbon (even an old version is fine
>>>> really) from Maven.
>>>>
>>>> Right??
>>>>
>>>> Sanjiva.
>>>>
>>>> On Mon, May 7, 2012 at 5:51 PM, Afkham Azeez <[email protected]> wrote:
>>>>
>>>>> Currently all the Tropos related code live under components/tropos.
>>>>> May be we should move it to a better place in the SVN.
>>>>>
>>>>> On Mon, May 7, 2012 at 4:32 PM, Sanjiva Weerawarana 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> So is Tropos effectively an IaaS (for autoscaling within a set of
>>>>>> worker nodes via LXCs) .. if so we should carefully separate Tropos out 
>>>>>> as
>>>>>> a separate project. In that case Tropos Controller is fine.
>>>>>>
>>>>>> Sanjiva.
>>>>>>
>>>>>>
>>>>>> On Mon, May 7, 2012 at 9:39 AM, Afkham Azeez <[email protected]> wrote:
>>>>>>
>>>>>>> Controller might not be the best term to use, but what we discussed
>>>>>>> was, all this Tropos stuff is related to IaaS, and not PaaS. In PaaS,
>>>>>>> controller has a special meaning as per the Gartner definition & 
>>>>>>> includes
>>>>>>> BAM/B&M/IdentityMgt etc. For lack of a better term, I think calling this
>>>>>>> Tropos controller will be OK, and there will be no confusion since this 
>>>>>>> is
>>>>>>> at the IaaS layer.
>>>>>>>
>>>>>>>
>>>>>>> On Mon, May 7, 2012 at 9:31 AM, Lahiru Sandaruwan 
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, May 7, 2012 at 7:59 AM, Sanjiva Weerawarana <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Damitha you guys can't take the name "Stratos Controller" ..
>>>>>>>>> that's what we're using for the full group of stuff that "controls"
>>>>>>>>> Stratos: manager, IS, G-Reg, BAM, B&M etc..
>>>>>>>>
>>>>>>>>  What we've decided in the last demo meeting was to call this
>>>>>>>> "Tropos controller" since the Stratos controller is given to above.
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Please review the slide deck on Stratos scaling and you'll see the
>>>>>>>>> terms. We used to call that whole thing the manager but that made no 
>>>>>>>>> sense
>>>>>>>>> because we have a thing inside called manager too.
>>>>>>>>>
>>>>>>>>> Sanjiva.
>>>>>>>>>
>>>>>>>>> On Mon, May 7, 2012 at 6:26 AM, Damitha Kumarage <[email protected]
>>>>>>>>> > wrote:
>>>>>>>>>
>>>>>>>>>> And it was discussed that we should have a controller pack as
>>>>>>>>>> part of the release
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Damitha
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, May 6, 2012 at 1:43 AM, Sajith Kariyawasam <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Further, we will need to investigate as to why it takes more
>>>>>>>>>>> than expected time for the LB to receive the 'Join' message when an 
>>>>>>>>>>> app
>>>>>>>>>>> server is started inside a container
>>>>>>>>>>>
>>>>>>>>>>> Also, it was suggested that we should test this with multiple
>>>>>>>>>>> domains (not only AS, but also ESB.. etc)
>>>>>>>>>>>
>>>>>>>>>>> Regarding the introductory presentation, I think its better to
>>>>>>>>>>> add Agent registration part and some of the controller's 
>>>>>>>>>>> functionalities
>>>>>>>>>>> (persistence) so that the overall picture gets more clearer.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Fri, May 4, 2012 at 8:52 PM, Nirmal Fernando <[email protected]
>>>>>>>>>>> > wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>
>>>>>>>>>>>> Today we had another demo.
>>>>>>>>>>>>
>>>>>>>>>>>> Participants were: Azeez, Srinath, Dimuthu, Damitha, Sameera,
>>>>>>>>>>>> Pradeep, Ranga, Lahiru, Sajith and myself.
>>>>>>>>>>>>
>>>>>>>>>>>> First we gave a brief overview of the autoscaling architecture.
>>>>>>>>>>>> Then we started the demo.
>>>>>>>>>>>>
>>>>>>>>>>>> We were able to demo end-end (LB -> Controller --> Agent)
>>>>>>>>>>>> scenario for spawning an instance (through LB sanity check) and 
>>>>>>>>>>>> termination
>>>>>>>>>>>> of an instance (through scaling down call) within a LXC container.
>>>>>>>>>>>>
>>>>>>>>>>>> Few suggestions came up:
>>>>>>>>>>>>
>>>>>>>>>>>> 1. Create separate carbon instances (rather than using
>>>>>>>>>>>> Appservers) for controller and agent.
>>>>>>>>>>>> 2. Create a simple UI for controller to show instances spawned
>>>>>>>>>>>> in each adapter, instances belong to a particular domain etc.
>>>>>>>>>>>> 3. Fixing the domain related issue in AutoscaleInMediator (This
>>>>>>>>>>>> arose with the changes in loadbalancer.conf to reflect tenant 
>>>>>>>>>>>> aware load
>>>>>>>>>>>> balancing).
>>>>>>>>>>>> 4. Fixing the routing issue using Azeez's fix to Axis2.
>>>>>>>>>>>> 5. Make scaling up demonstrable using a back-end service which
>>>>>>>>>>>> has some processing (or having a Thread.sleep(..) call).
>>>>>>>>>>>>
>>>>>>>>>>>> Please add anything I've missed!
>>>>>>>>>>>>
>>>>>>>>>>>> PS: We'll repeat the demo next week (hopefully with some more
>>>>>>>>>>>> improvements next week, for Sanjiva, Paul and anyone interested).
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks & regards,
>>>>>>>>>>>> Nirmal
>>>>>>>>>>>>
>>>>>>>>>>>> Software Engineer- Platform Technologies Team, WSO2 Inc.
>>>>>>>>>>>> Mobile: +94715779733
>>>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>> [email protected]
>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Sajith Kariyawasam*
>>>>>>>>>>> *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> [email protected]
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> __________________________________________________________________
>>>>>>>>>> Damitha Kumarage
>>>>>>>>>> Technical Leader; WSO2 Inc.
>>>>>>>>>> Oxygenating the Web Service Platform
>>>>>>>>>> http://www.wso2.com/
>>>>>>>>>> blog:
>>>>>>>>>> http://damithakumarage.wordpress.com/
>>>>>>>>>> __________________________________________________________________
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Dev mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Sanjiva Weerawarana, Ph.D.
>>>>>>>>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>>>>>>>>> email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787
>>>>>>>>> 6880 | +1 650 265 8311
>>>>>>>>> blog: http://sanjiva.weerawarana.org/
>>>>>>>>>
>>>>>>>>> Lean . Enterprise . Middleware
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Dev mailing list
>>>>>>>>> [email protected]
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> --
>>>>>>>> Lahiru Sandaruwan
>>>>>>>> Software Engineer,
>>>>>>>> Cloud Team,
>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>> email: [email protected] 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
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> [email protected]
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Afkham Azeez*
>>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>>>> * <http://www.apache.org/>**
>>>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>>>> twitter: 
>>>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>>>> *
>>>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>>>>
>>>>>>> *
>>>>>>> *
>>>>>>> *Lean . Enterprise . Middleware*
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sanjiva Weerawarana, Ph.D.
>>>>>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>>>>>> email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787
>>>>>> 6880 | +1 650 265 8311
>>>>>> blog: http://sanjiva.weerawarana.org/
>>>>>>
>>>>>> Lean . Enterprise . Middleware
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>> * <http://www.apache.org/>**
>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>> twitter: 
>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>> *
>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>> *
>>>>> *
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sanjiva Weerawarana, Ph.D.
>>>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>>>> email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880| +1
>>>> 650 265 8311
>>>> blog: http://sanjiva.weerawarana.org/
>>>>
>>>> Lean . Enterprise . Middleware
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Software Engineer- Platform Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Sanjiva Weerawarana, Ph.D.
>> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
>> email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
>> 650 265 8311
>> blog: http://sanjiva.weerawarana.org/
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
650 265 8311
blog: http://sanjiva.weerawarana.org/

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to