On Wed, 2009-10-21 at 22:20 -0700, partysoft wrote: > Hello, i've been trying to setup on Centos 5 LdirectorD without Heartbeat, > and everything seems to work but no redirection, the RealServers arren't > reached....
>From where? The director? The client? How did you come to this conclusion; packet sniffing, realserver logfiles, something else? > The thing i don't understand is this: will All the servers have to be in LAN > using a 192.XXX ips? Depends on what you're trying to do. > I actually have all the servers with a public IP, and no way to put them in > LAN , i understood that i should use ipip (TUN) method, but i there isn't a > good doc out there how to setup the tun0 on the servers, and stuff like that > > What if i put them in VPN will that simulate a LAN an let the gate method > work? i plan to use OpenVpn (that actually is through Tun) > > Or is it because i haven't used Heartbeat service to spawn ldirectord? i'm > completly lost.. Yes, it seems so :) Why don't you start by reading the HOWTO? If you have realservers with a public IP and your director with a public IP in the same subnet, you could try setting up LVS-DR. It requires for you to add a loopback device on the realservers and, depending on the OS, solve the arp problem. http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/ LVS-TUN is probably not what you want. Heartbeat and ldirectord are used mainly for when you're setting up a failover cluster with 2 or more directors. The best way to learn LVS is to set up the IPVS table manually so later you know what ldirector automagically does for you :) -- Léon _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
