Currently, there is no clean way of doing this. I think in the future, we
need to have the LB providing an API regarding the health of workers (e.g.
what percentage of requests have resulted in timeouts, what percentage of
requests have resulted in connection resets etc), and we will need OC to
provide an API which would indicate whether artifacts were deployed on
particular servers


On Fri, Nov 8, 2013 at 1:35 PM, Krishantha Samaraweera
<[email protected]>wrote:

> We have been redesigning our test framework for better clustering support.
> There are certain test scenarios which we need to think of before
> finalizing the design. In test framework all cluster configuration details
> (ports, hosts etc.. ) are kept in a configuration file. A sample framework
> configuration is attached here with. My concern is when dealing with worker
> nodes, the framework doesn't have a way to access required information like
> deployed artifacts, server availability etc..because admin service APIs are
> not available in worker nodes.
>
> Is there any API to retrieve worker related details ? if not, what is the
> best possible way to access worker details ?
>
> example scenarios :
>
> 1. One work node fails and other node is still serving client requests -
> How to detect whether all worker nodes are up and running in a cluster ?
> 2. Exception thrown in worker node console when deploying a webapp - How
> to detect whether the webapp is deployed in all worker nodes.
>
> Thanks,
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
*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
<http://lk.linkedin.com/in/afkhamazeez>*

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

Reply via email to