stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reka Thirunavukkarasu <r...@wso2.com>
Subject Re: [Grouping][testing] Hierarchical Monitors with Composite Application
Date Wed, 15 Oct 2014 04:51:02 GMT
Hi Martin,

On Wed, Oct 15, 2014 at 9:01 AM, Martin Eppel (meppel) <meppel@cisco.com>
wrote:

>  Hi Isuru, Reka
>
>
>
> I analyzed the application / group definition and this is what I would
> expect for the startup sequence and  status to happen:
>
>
>
> + First group.mygroup2 is being started up
>
> + to start up group2 the system will check the group2 dependencies which
> requires to start up first group1
> + to startup group 1 the system has to bring up the php1 cartridge from
> group 1 (which has no further dependencies).
> + Once the php cartridge is active, group1 goes active and subsequently
> the system starts up up the php2 cartridge from group2.
> + When php2 is active, group2 is active and the system will finally bring
> up the tomcat cartridge as define din the application. Once the tomcat
> cartridge goes active the application reaches the active status as well.
>

Yah..This what exactly happens when you deploy that application.

Thanks,
Reka

Please correct me when I am wrong,


>
> Thanks
>
>
>
> Martin
>
>
>
> *From:* isuruh@wso2.com [mailto:isuruh@wso2.com] *On Behalf Of *Isuru
> Haththotuwa
> *Sent:* Sunday, October 12, 2014 5:25 AM
> *To:* Reka Thirunavukkarasu
> *Cc:* dev; Martin Eppel (meppel); Udara Liyanage
> *Subject:* Re: [Grouping][testing] Hierarchical Monitors with Composite
> Application
>
>
>
> Hi Reka,
>
> Great news!!
>
> I tried with a similar Application, however there were no instance spawned
> for the top level Cartridge. But, both the Groups were successfully
> activated. Might be an issue with the definitions I used, have attached
> there here. Will check on this more.
>
>
>
> On Sun, Oct 12, 2014 at 11:09 AM, Reka Thirunavukkarasu <reka@wso2.com>
> wrote:
>
> Hi all,
>
>
>
> I have tested the hierarchical monitors with the attached sample
> application which has group2 and tomcat cartridge as in top level. group2
> further refers to tomcat and group1. group1 further refers to php. Their
> startup order has also defined in the definitions as below mentioned:
>
>
>
> For Eg:
>
>
>
> app (group2, tomcat)  implies that group2 should be started before tomcat.
>
>
>
> The application structure is like:
>
>                                  --------------- app (group2,
> tomcat)----------------
>
>                                  |
>                              |
>
>        --------group2 (group1, tomcat)-------
>         tomcat
>
>        |                                                       |
>
> tomcat                                                group1
>
>                                                                |
>
>                                                              php
>
>
>
>
>
> For the above composite application structure, Application successfully
> became active after its children activated according to the start up order
> definied.
>
>
>
> Please find the samples as attached. If you encounter any issue while
> testing, can you update the thread?
>
>
>
>
>
> Thanks,
>
> Reka
>
>
>
>
>
>
> --
>
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
>
> Mobile: +94776442007
>
> --
>
>  <%2B94776442007>
>
>
>
>
>
> *Thanks and Regards, Isuru H. <%2B94776442007>*
>
> *+94 716 358 048 <%2B94776442007>*
>
>
>
>


-- 
Reka Thirunavukkarasu
Senior Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Mime
View raw message