Hi Team,

Greetings

Need one help from you

We are trying to evaluate this HAproxy , and got this doc from the internet for 
configuration
We have followed all the lines given but when we try to start the service it is 
telling failed

Two things I had a doubt one is ,what is the ip which we need to give on this 
line ,I have given the HAPRoxy ip address
listen  http_proxy 10.116.2.50:8080

second is when we try this lines

wget http://haproxy.1wt.eu/download/1.2/src/haproxy-1.2.17.tar.gz
tar -zxf haproxy-1.2.17.tar.gz
cd haproxy-1.2.17
make
cp haproxy /usr/sbin/haproxy

after the Make command ,when we press return it does not go thru ,when we give 
Haproxy it goes thru

This is the config it shows

[root@HAPROXY etc]# vi haproxy.cfg

global
        maxconn     4096 # Total Max Connections. This is dependent on ulimit
        daemon
        nbproc      4 # Number of processing cores. Dual Dual-core Opteron is 4 
cores for example.
defaults
        mode        http
        clitimeout  60000
        srvtimeout  30000
        contimeout  4000
        option      httpclose # Disable Keepalive

listen  http_proxy 10.116.2.50:8080
        balance roundrobin # Load Balancing algorithm
        option httpchk
        option forwardfor # This sets X-Forwarded-For
        ## Define your servers to balance
        server web1 10.117.129.146:8080 weight 1 maxconn 512 check
        server web2 10.117.129.147:8080 weight 1 maxconn 512 check
#server server3 4.3.3.3:80 weight 1 maxconn 512 check

T H A N K S  &  R E G A R D S
P A U L S O N  A.J   +91-80-41906098     : Mobile  +91-9980169235  : CUG 8103
O N L Y  W A Y  T O  G E T  R I D  O F  P R O B L E M  I S  T O  S O L V E  I T.



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------

Attachment: HAproxy.docx
Description: HAproxy.docx

Reply via email to