01-16-2019
What you want is called DSR, meaning direct server return.
This is stateless load balancing, since the LB only balances the connection initially, and does nothing else.
The result will be that after initial balance to one of the servers, a client - server connection will not go thru LB after that.
It requires your load balanced servers to have VIP ip address defined on localhost interface (alias).
Also, your load balanced servers must not answer to ARP requests.
And a load balancer software which supports that functionality with a network environment which allows it, since this is MAC spoofing
Hope that helps
Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
9 More Discussions You Might Find Interesting
1. AIX
Hi,
how can I find out how many memory (physical and virtual) a thread uses at the moment? I know how to find out the Thread-ID, but not how to monitor it...
We use AIX 4.3.3 at th emoment.
Please help, I am stuck :confused: !! (0 Replies)
Discussion started by: Fong
0 Replies
2. UNIX for Advanced & Expert Users
Hello experts,
I am writing an application in Solaris, which is supposed to work on PrimePower 650 and SunFire 440 machines. The application listens to the events raised by the Hardware and OS in /dev/log. The application listens to the messages logged into /dev/log and do some processing on... (3 Replies)
Discussion started by: pleaseteachmeun
3 Replies
3. Shell Programming and Scripting
hi,
i hav a script which processes 1000 files one by one in every run jus for searching their corresponding output files at a given path, due to this my script runs for long time and taking more CPU,
can we have any way in which we can have this check at least 100 files in a single shot... (5 Replies)
Discussion started by: Prateek007
5 Replies
4. Solaris
We have Sun OS running on spark :
SunOS ciniwnpr67 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V440
Having Physical RAM :
Sol10box # prtconf | grep Mem
Memory size: 8192 Megabytes
My Top Output is :
130 processes: 129 sleeping, 1 on cpu
CPU states: 98.8% idle, 0.2% user, 1.0%... (27 Replies)
Discussion started by: rajwinder
27 Replies
5. AIX
Hi,
I have a problem with memory on AIX 5.3. On this server, we have JDE Edwards (ERP) and Oracle Database (9.2.0.7.0).
We have 4 Gb for physical memory and 3 Gb for paging space.
When I stop all services (JDE, Oracle and all other services), the physical memory is not free (4 Gb)
svmon... (9 Replies)
Discussion started by: tagger
9 Replies
6. IP Networking
Hi,
I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies
7. UNIX Desktop Questions & Answers
Hi All
I am new to UNIX ,can any one please help in finding MEMORY CONSUMPTION of VLC when i use it as Streaming Server.
I need to log the memory consumption for atleast 10 hours.
Can any one help me in finding this Please (1 Reply)
Discussion started by: ravikanth17
1 Replies
8. IP Networking
I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies
9. Shell Programming and Scripting
Hello folks; I'm trying to write a script to test our proxy servers to see if they're passing traffic and i need help please. I wrote this code below to implement "httpie" tool but still having issues. Can someone please take a look and let me know what's wrong with this code? The code is supposed... (2 Replies)
Discussion started by: Katkota
2 Replies
HATOP(1) General Commands Manual HATOP(1)
NAME
HATop - interactive ncurses client for haproxy
SYNOPSIS
hatop -s SOCKET [OPTIONS]
DESCRIPTION
HATop is an interactive ncurses client and real-time monitoring, statistics displaying tool for the HAProxy TCP/HTTP load balancer.
HATop's appearance is similar to top(1). It supports various modes for detailed statistics of all configured proxies and services in near
realtime. In addition, it features an interactive CLI for the haproxy unix socket. This allows administrators to control the given
haproxy instance (change server weight, put servers into maintenance mode, ...) directly out of hatop (using keybinds or the CLI) and moni-
tor the results immediately.
HATop uses a unix domain socket to communicate with HAProxy. This can be configured in the HAProxy configuration using the "stats socket"
option. To enable all of HATop's features the "level" parameter of this option should be set to "admin".
OPTIONS
--version
show version number and exit
-h, --help
show help message and exit
-s SOCKET, --unix-socket=SOCKET
path to the haproxy stats socket
-i INTERVAL, --update-interval=INTERVAL
update interval in seconds (1-30, default: 3)
-m MODE, --mode=MODE
start in specific mode (1-5, default: 1)
-n, --read-only
disable the cli and query for stats only
The following filter options may be given multiple times:
-f FILTER, --filter=FILTER
stat filter in format "<iid> <type> <sid>"
-p PROXY, --proxy=PROXY
proxy filter in format "<pxname>"
KEYBINDS
Hh? Display help screen
Qq Quit
TAB Cycle mode forwards
S-TAB Cycle mode backwards
ESC-n Switch to mode n, where n is the numeric mode id
ESC Jump to previous mode
ENTER Display hotkey menu for selected service
SPACE Copy and paste selected service identifier to the CLI
UP / DOWN / PGUP / PGDOWN / HOME / END
Scroll the stat views to select a given service
HOTKEYS
F4 Restore initial server weight
F5 Decrease server weight: - 10
F6 Decrease server weight: - 1
F7 Increase server weight: + 1
F8 Increase server weight: + 10
F9 Enable server (return from maintenance mode)
F10 Disable server (put into maintenance mode)
SEE ALSO
haproxy(1)
A much better documentation can be found online:
http://feurix.org/projects/hatop/
AUTHOR
HATop and this man page was written by John Feuerstein.
19 August 2010 HATOP(1)