Forum Discussion

1 Reply

  • Hi Alain,

    a few techniques which I've used in the past.

    1.) Put an individual

    /node.txt
    file on each of your load balanced web servers. Request this file with your browser session, to see where you're currently load balanced to.

    2.) Add an iRule to your VS to virtualize those

    /node.txt
    requests. Request the given URI with your browser session, to see where you're currently load balanced to.

    when HTTP_REQUEST_SEND {
        clientside {
            if { [HTTP::uri] equals "/node.txt" } then {
                HTTP::respond 200 content [IP::server_addr]
            }
        }
    }
    

    3.) Add an iRule to your VS to include a VIA header to every HTTP response and use a HTTP Analyzers (e.g. Fiddler) to read those VIA headers.

    when HTTP_RESPONSE {
        HTTP::header insert "VIA" "[IP::server_addr]"
    }
    

    4.) Combine all together... 😉

    Cheers, Kai