Find the answer to your Linux question:
Results 1 to 2 of 2
Hi Experts, Is there any way to check how many servers are in load balancer just by knowing the DNS name of load balancer ? Any free utility or command ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2013
    Posts
    3

    Lightbulb Servers in Load Balancer


    Hi Experts,

    Is there any way to check how many servers are in load balancer just by knowing the DNS name of load balancer ?

    Any free utility or command line or any method would be appreciable....

    Hoping for a positive response.

    Thanks,
    Srini

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,390
    Hi and welcome

    Some LBs work by setting cookies to provide session stickiness, and in some cases one could decipher this cookie and see the cleartext hostname of a backend node.
    But you cannot conclude the exact number of backned nodes by watching these even if you monitor it for a while.
    Because there might be rules, that send requests to other pools according to specific needs or load situations.

    Other LBs require a small apache module on the backend nodes to realize session stickiness.
    This is transparent for the client, so you cannot see this at all.

    Services without session stickiness are arbitrary by default, so there is also no clue on the backend server from the client perspective.

    So, in effect: No, there isnt a sure way for you to check from the outside.
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •