CCP - Looking for recommendations on configuring a load balancer pool to determine accurate health statuses. Our load balancer did not properly detect an unhealthy node when the CCP service was stopped on the server (note, the server OS was still up).

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

CCP - Looking for recommendations on configuring a load balancer pool to determine accurate health statuses. Our load balancer did not properly detect an unhealthy node when the CCP service was stopped on the server (note, the server OS was still up).

L1 Bithead

Load balance is using a generic tcp monitor

4 REPLIES 4

L4 Transporter

Hi,

 

I'm not completly sure about it but maybe you can do a HTTP monitor using URL https://<your machine>/AIMWebService/Help

If it returns HTTP 200 means (ofc) that the node is healthy

 

Never tried it but stop Credential Provider windows service and see if the web page will return a 404

L7 Applicator

Hi @Lyn Brown​ 

 

Does your CCP load balancer only checks if the server and IIS are running ? If so it might be missing when the CCP service is down.

 

A solution is to make the load balancer check a CCP API endpoint.

 

This is one of the examples

 

/AIMWebService/api/Accounts?AppID=HealthCheck&Safe=DoesNotExist&Object=Nope

 

In this case, the CCP REST GetPassword gets invoked with intentionally trying to get an invalid parameter.

 

In case CCP service is running, you’ll get a quick response such as 400 or 404

But if the CCP service is stopped, you’ll get an error or a timeout and the LB can then mark the node as down.

 

Hope it helps !

 

 

 

 

L4 Transporter

Basically, There are 2 aspects

1- Monitoring if the Web Server(IIS) is up - which you might we doing using tcp monitor

2- Monitoring of CP services -- > While you can monitor the services using some custom logic one is explained by @Malhar Vora​  but i personally see other aspects which are crucial to understand

  • CP service down doesnt mean it will not serve the password request. CP cache still available to provide responses for cached passwords
  • Authentication on CP is crucial - If you have only Kerboroes or Certificate based then the solution need adjusted and new thought process
  • What happens when all your node respond to 400/404 but in actual they can server the password request which is cached

 

The monitoring of CP services should be done at host level using monitoring solution and once service down detected you should have incident to fix it . which is the ideal way because most of the password request will not be impacted due to this service down and only new password request will fail.

 

I hope it will help you look into this from all aspects !

 

L4 Transporter

Basically, There are 2 aspects

1- Monitoring if the Web Server(IIS) is up - which you might we doing using tcp monitor

2- Monitoring of CP services -- > While you can monitor the services using some custom logic one is explained by @Malhar Vora​  but i personally see other aspects which are crucial to understand

  • CP service down doesnt mean it will not serve the password request. CP cache still available to provide responses for cached passwords
  • Authentication on CP is crucial - If you have only Kerboroes or Certificate based then the solution need adjusted and new thought process
  • What happens when all your node respond to 400/404 but in actual they can server the password request which is cached

 

The monitoring of CP services should be done at host level using monitoring solution and once service down detected you should have incident to fix it . which is the ideal way because most of the password request will not be impacted due to this service down and only new password request will fail.

 

I hope it will help you look into this from all aspects !

 

  • 185 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!