Re: Linux routing performace

2011-05-04 Thread James Bardin
Thanks guys,

On Tue, May 3, 2011 at 10:50 PM, Joseph Hardeman jwharde...@gmail.com wrote:


 route add -net 192.168.1.16 netmask 255.255.255.240 gw 10.0.0.1


A simple route doesn't work in this case, as the packets have to leave
out the correct interface as well, or they will be dropped by the
reverse-path-checking. Linux will route them correctly be default, but
they will still always leave out the interface with the default
gateway.



 On Tue, May 3, 2011 at 10:39 PM, Jon Watte jwa...@imvu.com wrote:

 Does the internal network need a gateway at all?

The internal network is routed throughout the campus, so I may have
backend servers with private IPs, which aren't in my subnet.


This isn't the end of the world if it's unsolvable, as I can request
that all load-balancing service IPs be public for now, and spin up
another haproxy pair for private services if there is a specific
requirement.

I was just hoping there was some kernel sysctl or ip parameter that
could effect routing performance. I'm kind of curious as to why this
ip rule impacts performance so much. Maybe reassigning the outgoing
interface is expensive?

Thanks,
-jim



haproxy terminal server maintenance mode

2011-05-04 Thread GARRISON, TRAVIS J.
We are trying to figure out a way to show our terminal servers are down in 
haproxy when they are put in maintenance mode. It looks like maintenance mode 
will only disable user logins and keep RDP up. We thought about just enabling a 
firewall rule to block the RDP port when we enable maintenance mode but haproxy 
still sees the servers as up. How does the check routine work? The terminal 
servers are running Windows 2008 R2.

listen OTCTESTING 172.30.2.110:3389
  mode tcp
  tcp-request inspect-delay 5s
  tcp-request content accept if RDP_COOKIE
  persist rdp-cookie
  balance leastconn
  option tcpka
  stats enable
  server TSAPP7 172.30.0.223:3389 weight 1 check   inter 2000 rise 2 fall 3
  server TSAPP8 172.30.0.224:3389 weight 1 check   inter 2000 rise 2 fall 3
  server TSAPP9 172.30.0.225:3389 weight 1 check   inter 2000 rise 2 fall 3
  server TSAPP10 172.30.0.226:3389 weight 1 check   inter 2000 rise 2 fall 3
  option redispatch

Thanks
Travis Garrison






Unsubscribe

2011-05-04 Thread Mike Oxford
Unsubscribe