LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Director and Real Server: Same Machine

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Director and Real Server: Same Machine
From: "Mikel RUIZ ECHEVERRIA" <mikel.ruiz@xxxxxx>
Date: Tue, 7 Jun 2005 15:16:13 +0200
I would like to balance the service over two real instances running all on
the same machine.

I have tried ldirectord.cf:
?
virtual=158.227.82.39:8090
        real=158.227.82.39:8091
        real=158.227.82.39:8092

And I also have tried:
?
virtual=158.227.82.39:8090
        real=127.0.0.1:8091
        real=127.0.0.1:8092
?
but when I start ldirector daemon, I get:
?Starting ldirectord Error [] reading file /etc/ha.d/conf/ldirectord.cf at
line 14: invalid address for real server (wrong format)?

It seems like IPs of Real Servers could not be the same as the Director
Server?s one.

Must  Director and Real Servers run on different machines to work properly
with LVS?

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