Forum Discussion
question on healthchecks and get reqeust
Hi Experts,
For example i was setting up http healthchecks on an applicaton which has two nodes.
Both nodes are set up to healtchecks at port 17820 with the hostname/test.htm , so when i put in the get request as
GET /test.htm HTTP/1.1\r\nHost:servername\r\nConnection: Close\r\n\r\n
This marks one node up and one node down, if i change the hostname on the get string it again marks that server up and the other down.
WHat changes do i need to do or ask the application guys ?
- SurgeonRet. Employee
Do you really need to send HOST name header in the GET request? You can ask your application to configure identical hostname on both pool members As alternative you can create dedicated monitor for each pool member
- youssef1
Cumulonimbus
Hello,
I think you need host in your query, otherwise he will not pay attention to the name you enter.
surgeon is right, try without any host (I don't think it works) and try to add in both server permission to access with a generic hostname (VS fqdn).
if the 2 solutions evoked by surgeon do not answer your needs (or that you can not apply it) you can test this:
Create 2 monitors.
-
One with your hostname/node1
-
the second monitor with hostname/node2
Then attach both monitor to your Pool and set your pool configuration: Availability Requirement at least 1.
Regards,
-
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com