Hi,

This seems to be not ideal for the ESB use case, as user may use different
approaches to reach the server(direct IP, host etc) in which case analytics
will receive different hosts for the same node. So we need better approach
to differentiate different ESB nodes.

There is "HostName" property in carbon.xml,  according to clustering
doc[1], it says to use same "HostName" for every node. So can we change
that doc to specify different hostnames and use that parameter to
differentiate nodes? Or is there any better approach?

[1] - https://docs.wso2.com/display/CLUSTER44x/Clustering+ESB+4.9.0

Thanks,

On 5 August 2016 at 14:04, Rajith Vitharana <[email protected]> wrote:

> Hi,
>
> In ESB analytics, ESB publishes data to analytic server including it's
> host name. Host name is required to differentiate nodes in a clustered
> environment(Which node received which request etc) in analytic side.
>
> So for that, currently what we do is take host value from HTTP Host
> header. There was a discussion regarding this in [1] as well. According to
> that, even when the server is behind a load balancer, it will receive
> correct HTTP Host header which indicates the server IP address.
>
> If there are any better approach than this, please suggest.
>
> [1] - [Dev] [C5] How do we get IP address of the Carbon Server?
>
> Thanks,
> --
> Rajith Vitharana
>
> Senior Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
> <http://wso2.com/signature>
>



-- 
Rajith Vitharana

Senior Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to