Re: ipvsadm
Sébastien Bonnet <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
> 1. When I mention the service:fos in the lvs.cf file, and > run /usr/sbin/ipvsadm , I dont get to see the services or the real > servers added. That's OK because fos does NOT use any IPVS feature. It works by itself, starting or stopping the required service (in your case, LDAP) on ONE server OR the other. Fos is meant for High Availability, not load balancing, and that's why ipvsadm won't show anything. > 2. When I am adding the ldap service on port 389, and run the > ipvsadm command, I dont get to see the realservers added. I guess you're talking about lvs mode. Then, it likely means you're not correctly monitoring your server, or they are down. Simply do that : telnet <real-server-1> ldap Connected ... <type in the send string as specified in lvs.cf> <the expect string specified in lvs.cf should be displayed> End of story If you can't connect, you've got an IP/routing problem. If you can connect but don't get the expect string when supplying the send string, my guess is you're not talking LDAP fluently yet :) > command: /usr/sbin/ipvsadm -a -t virtualserver ip:389 -r realserverip:389 -m Of course, but that's "cheating". If piranha doesn't do it, there's a reason you should find out. Restart piranha with higher verbosity level and look at the log file: pulse -v -c /etc/sysconfig/ha/lvs.cf tail -f /var/log/messages -- Sébastien Bonnet Centre de contacts - Experian France