Question

4
Replies
279
Views
Close popover
Jeffrey Chandler (jeffrey.chandler)
Accenture

Accenture
US
jeffrey.chandler Member since 2013 6 posts
Accenture
Posted: April 16, 2019
Last activity: April 29, 2019
Closed

Mark Node Offline for Load Balancer Prior to Quiesce

Hello,

I have noticed that the ping monitor rest service (accessible from: https://hostname.example.com/prweb/PRRestService/monitor/pingService/ping ) has been updated in Pega 8.2 to include more information and more importantly a "state" exported in JSON format.

{
"node_type": [
"WebUser",
"BackgroundProcessing",
"Search",
"Stream"
],
"health": [
{
"last_reported_time": "2019-04-16T09:33:20.323Z",
"test_name": "HTML-Stream-Check",
"status": "success"
},
{
"last_reported_time": "2019-04-16T09:33:20.323Z",
"test_name": "Streamservice-Check",
"status": "success"
}
],
"state": "healthy",
"node_id": "xxxxxxxxx"
}

I am trying to figure out where this is configured in Pega. I only see the pyGetHealthStatus activity which was used in Pega 7.

Can you help to figure out where this JSON is configured? Also, is there a way to administratively manipulate this information? I want to mark a node as unavailable so a load balancer does not send any additional traffic to that node prior to performing a quiesce via an API call.

Thanks,

Jeff

***Edited by Moderator Marissa to update platform capability tags; add SR Details****

Pega Platform System Administration Support Case Exists
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.