Forum Discussion
F5 - Sharepoint App Pool down does not load balancing
F5 is our loadbalancer for 2 SharePoint WFE's. When on Server Nr. 1 the App Pool is stopped then F5 balances the traffic to Server Nr. 2. If the App Pool on Server Nr. 2 is stopped then F5 is not redirecting the traffice to Server Nr. 1. What could be the reason for that? The Monitor on F5 shows allways a green Status on both testcases.
- KevinA_246454
Cirrostratus
HI
I have not seen your configuration but basically you mentioned that when you stop your App Pool the monitor stays green or in an avialble state.
With that said the F5 will still load balance to server where the app pool has stopped because your monitor is reporting the pool member is available. Please check your monitor configuration you have applied to the pool. Please post your configuration if you still have issues.
tmsh ltm list virtual "virtual server name"
tmsh ltm list pool "name of pool which is configured with the above virtual server"
- Heinrich12_3671
Nimbostratus
Hello
- KevinA_246454
Cirrostratus
load balancing behaviors will be based on your health monitor, in a very basic configuration the f5 will load balance a connection to pool member as long as the pool member has a green status/available, Do you mind posting your configuration, not 100% but I would assume the default settings in the tcp monitor will check the port if its up and running. You will need to more then a simple port monitor to check your application status on the web server.
Best to ask your web team to create a test page for you, that contains a simple sting such as SERVER_UP, then create a custom http monitor to request the page with a recv string. Below is an example
ltm monitor http custom-monitorhttp { adaptive disabled defaults-from http destination : interval 5 ip-dscp 0 recv SERVER_UP recv-disable none send "GET /HealthCheck.html\r\n" time-until-up 0 timeout 16
[root@bipipbrplab01:Active:Disconnected] config curl --get http://10.1.2.12/HealthCheck.html
SERVER_UP
The web server software is running.
[root@bipipb01:Active:Disconnected] config
- Heinrich12_3671
Nimbostratus
Hello Hier the output
ltm pool SF01-CH-PRD-APPNAME-STAGE-443 {
- KevinA_246454
Cirrostratus
Hi Heinrich
Please see below, very good discussion on Sharepoint Monitor, I did say earlier ask your web administrator to create a health check page for you, configure your monitor to request the page and based on the response from the web server you can mark offline or online.
https://devcentral.f5.com/questions/sharepoint-health-monitors-59674
- Heinrich12_3671
Nimbostratus
Hi KevinA Thank you. I will try. Regards Heinrich
- Heinrich12_3671
Nimbostratus
Hi KevinA
Thanks the last thing we need to look at is the monitor configurations "tmsh ltm monitor "parent monitor" PROBE-CH-ZZZ-APPNAME-STAGE-8082
Here it is:
Hope this helps
Regards
- KevinA_246454
Cirrostratus
HI
 
Ok your monitor is a tcp monitor, here is a pretty good link explaining a tcp monitor https://devcentral.f5.com/s/articles/monitoring-tcp-applications-01
 
you can stop the app pool and see if you can open a connection to the web server if it responds then the tcp monitor will mark the server as green. If it does not respond when you open up a connection and the monitor is still marking the server as green, then it something we can look at.
 
I suggest you ask the web admin to setup a test page for you change your monitor to a https monitor if https is required, then configure a send string link I have posted earlier.
 
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