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>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to