LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Kernel / ldirectord interaction

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Kernel / ldirectord interaction
From: Patrick LeBoutillier <patl@xxxxxxxxxxxx>
Date: Fri, 06 Feb 2004 11:12:53 -0500
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



<Prev in Thread] Current Thread [Next in Thread>