Tuesday, November 22, 2011

LOAD BALANCER (HAPROXY)

Troubleshoot : 504 Gateway Time Out

1) Check dr server haproxy 81
2)Check file configuration setting
#ee /usr/local/etc/haproxy.conf

3)Test tutup satu server 221
4)Restart haproxy
# /usr/local/etc/rc.d/haproxy restart

5) Test application from browser
6) Check open cluster server log
#tail -f /var/log/apache2/access.log
*make sure that all access & process are here.

7) Check who access the server
#netstat -4

8) Open back the cluster server 221 and cloase another one 222
9) Repeat step 4-7. If the server cannot open or hang, go to management server.
10) Push power off and reboot from here..
* Some case might need both server to reboot at the same time. It depends on the issue.



.

0 comments:

Post a Comment