> I would appreciate if somebody can provide a patch which shows all the > customizations/diffs > needed to provide a healthcheck url which at least tests the availability of > the cas web applications.
Best I can do w/r/t our implementation is point your to our publicly available source, https://svn.middleware.vt.edu/svn/middleware/cas/cas-server/trunk/, and in particular, https://svn.middleware.vt.edu/svn/middleware/cas/cas-server/trunk/vt-cas-server-ext/src/main/java/edu/vt/middleware/cas/web/StatsController.java. > Should checking the availability of LDAP and Database be a part of > healthcheck for CAS ? Generally, yes. Those are critical components for proper function of CAS. > I am not sure, if the database is for some reason down > (or slow enough to trigger the threshold timeout in load balancer), the > Proxy/Loadbalancer can take out all the cas nodes from the cluster. I'm proposing that thresholds are configurable, so you could set them to values suitable for your environment. I will say that for all practical purposes, if authentication does not complete on the order of a few seconds, CAS will be perceived as unavailable by users. I would argue that's all that matters. M -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
