Hi all,
Fetching ServerAdmin or login.jsp is a workaround, works for most practical
purposes.

I think we need to add a health check REST endpoint to IS, and whitelist it
with some filter (IP, Authz header, etc). This is essential as we are
moving to support containers and k8s.
We need to monitor our DB pool usage, memory/CPU usage and make the health
check return value(s) which will allow the control plane to decide when to
re-spawn the IS.

Cheers,
Ruwan


On Thu, Aug 2, 2018 at 1:57 PM Harsha Thirimanna <[email protected]> wrote:

> We have this endpoint
> https://localhost:9443/services/ServerAdmin?wsdl
>
>
>
>
> *Harsha Thirimanna*
> *Associate Tech Lead | WSO2*
>
> Email: [email protected]
> Mob: +94715186770
> Blog: http://harshathirimanna.blogspot.com/
> Twitter: http://twitter.com/harshathirimann
> Linked-In: linked-in:
> http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> <http://wso2.com/signature>
>
> On Thu, Aug 2, 2018 at 6:18 PM, Rushmin Fernando <[email protected]> wrote:
>
>> Thank you, Harsha. This doc says either to connect to the port or use the
>> Version service.
>>
>> Some load balancers expect to have an HTTP URL which returns a *200 OK*.
>> (So the port scenario won't work)
>>
>> And the Identity Server doesn't have a Version service deployed by
>> default.
>>
>> That's why I was looking for a standard URL for IS.
>>
>> On Thu, Aug 2, 2018 at 4:13 PM Harsha Thirimanna <[email protected]>
>> wrote:
>>
>>> https://docs.wso2.com/display/AM210/Basic+Health+Checks
>>>
>>> *Harsha Thirimanna*
>>> *Associate Tech Lead | WSO2*
>>>
>>> Email: [email protected]
>>> Mob: +94715186770
>>> Blog: http://harshathirimanna.blogspot.com/
>>> Twitter: http://twitter.com/harshathirimann
>>> Linked-In: linked-in:
>>> http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>> <http://wso2.com/signature>
>>>
>>> On Thu, Aug 2, 2018 at 6:11 PM, Rushmin Fernando <[email protected]>
>>> wrote:
>>>
>>>>
>>>> Load balancers use health check URL to see whether a service is live.
>>>>
>>>> In this case, I'm looking for a URL served via the servlet port.
>>>>
>>>> [1] is an option. Do we have a standard URL?
>>>>
>>>>
>>>> [1] - https://localhost:9443/carbon/admin/login.jsp
>>>>
>>>> --
>>>> *Best Regards*
>>>>
>>>> *Rushmin Fernando*
>>>> *Technical Lead*
>>>>
>>>> WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware
>>>>
>>>> mobile : +94775615183
>>>>
>>>>
>>>>
>>>
>>
>> --
>> *Best Regards*
>>
>> *Rushmin Fernando*
>> *Technical Lead*
>>
>> WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware
>>
>> mobile : +94775615183
>>
>>
>>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 

*Ruwan Abeykoon*
*Associate Director/Architect**,*
*WSO2, Inc. http://wso2.com <https://wso2.com/signature> *
*lean.enterprise.middleware.*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to