Forum Discussion

ArtRst_137283's avatar
ArtRst_137283
Icon for Nimbostratus rankNimbostratus
Nov 07, 2013

Configuring Monitors on F5 LTM

I am fairly new to F5 and trying to set monitors for my SharePoint farm , I tried creating HTTP monitor , its just basic HTML file with "Up" text in it ... What I am trying to achieve is , if I change this text from "Up" to "Down" it should take that node out of Load Balancer Pool , and converting it to "Up" again should put that node back in Load Balancer pool. Below is my Send and Receive strings :

 

Send String : GET /http://server:port/_layouts/images/filename.html HTTP/1.1\r\n Receive String : Up

 

As soon as I apply this Receive String , both nodes goes down ... If I keep Receive String as "OK" or blank it works fine but that's not solving my purpose. Please let me know what's wrong here , Is there any other way to achieve this. Pardon me if its very basic thing to do ... Thanks

 

  • Ah, the host header is required by most web-servers. We'll try again:

    telnet 10.10.10.1 80
     Then type
    GET /_layouts/images/filename.html HTTP/1.1
     Enter once
    HOST: server domain
     Enter twice
    
  • Wow ... Thanks a lot Thomas , That worked .. I put "Down" in Receive Disable String , and change send string as you suggested ... and its all working as expected.... I am sure it was very simple monitor to configure (Not for me though) ... but my next task will be little more complicated ... basically I am trying to configure monitors for IIS level .. so it should enable or disable Pool member if Application Pool / IIS site goes down and also if there is any interruption on specified windows service. I got this article and it sounds the same that I am trying to do.... Please let me know if there is any other link that I can refer..... Thanks Thomas and F5Help.

     

  • Hi ArtRst Thoman, URGENT early response will be appreciated. if you are still on then can you tell me what you have done exactly to make it work. I am using iApp to configure. I have two node (servers) 10.160.0.106 & 10.160.0.107.

     

    I am able to telnet on port 7002 and working okay. and also both servers returning response for below command from CLI.

     

    GET http://10.160.0.106:7002/oncfo/index.html curl -v http://10.160.0.106:7002/oncfo/index.html

     

    however when I do tcpdump and surprised to see that there is no response of default monitor GET command.

     

    monitor string looks like below. GET /oncfo/index.html

     

    but when I tried from CLI, the below output in tcpdump. GET /oncfo/index.html HTTP/1.1

     

    User-Agent: curl/7.19.7 (i686-redhat-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8u zlib/1.2.3 libidn/0.6.5

     

    Host: 10.160.0.107:7002

     

    Accept: /

     

    however the Pool is still down due to Monitor.

     

    Neeraj Jagetia