Hi all,
I'm trying to understand how LVS works and I have some questions.
If I understand clearly, ldirectord is responsible for maintaining the
list of real servers which are currently available to satisfy requests
to the virtual IP.
But when a requests comes to the virtual IP, how does the kernel get
that list from ldirectord? Is the load balancing done by ldirectord or
in the kernel?
Also, would it be possible for an external application (i.e. a CGI
script) to interrogate the ldirectord/kernel and ask:
"If someone were to connect to the virtual IP at this moment, which real
address would be used to serve him"?
Thanks,
Patrick LeBoutillier
|