Skip to content

Instantly share code, notes, and snippets.

@rm-you
Created March 2, 2018 00:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rm-you/2de6beeccb8f63174ff50799c61ca57d to your computer and use it in GitHub Desktop.
Save rm-you/2de6beeccb8f63174ff50799c61ca57d to your computer and use it in GitHub Desktop.
haproxy config for members:
server a6363b3c-e77c-4482-9673-da5c2d512043 10.0.0.4:80 weight 1 check inter 5s fall 3 rise 3
server 22847b1e-2962-4e73-9652-b1f0ffebdc4d fdf3:632d:80dd:0:f816:3eff:fe45:8013:80 weight 1 check inter 5s fall 3 rise 3
haproxy log before restart:
Mar 02 00:41:19 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal haproxy[2555]: Configuration file is valid
Mar 02 00:41:19 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal systemd[1]: Reloaded HAProxy Load Balancer.
Mar 02 00:41:59 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal haproxy[2412]: 172.24.4.1:51430 [02/Mar/2018:00:41:59.828] ceb442d0-eed8-41d1-be5f-17bc56f54189~ ceb442d0-eed8-41d1-be5f-17bc56f54189/<NOSRV> -1/-1/-1/-1/0 503 212 - - SC-- 1/1/0/0/0 0/0 "GET / HTTP/1.1"
haproxy log after reload:
Mar 02 00:45:11 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal haproxy[2595]: Configuration file is valid
Mar 02 00:45:11 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal systemd[1]: Reloaded HAProxy Load Balancer.
Mar 02 00:45:16 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal haproxy[2412]: 172.24.4.1:51462 [02/Mar/2018:00:45:16.410] ceb442d0-eed8-41d1-be5f-17bc56f54189~ ceb442d0-eed8-41d1-be5f-17bc56f54189/<NOSRV> -1/-1/-1/-1/0 503 212 - - SC-- 1/1/0/0/0 0/0 "GET / HTTP/1.1"
haproxy log after restart:
Mar 02 00:45:35 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal systemd[1]: Stopping HAProxy Load Balancer...
Mar 02 00:45:35 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal systemd[1]: Starting HAProxy Load Balancer...
Mar 02 00:45:35 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal ip[2640]: [WARNING] 060/004535 (2640) : Setting tune.ssl.default-dh-param to 1024 by default, if your workload permits it you should set it to at least 2048. Please set a value >= 1024 to make this warning disappear.
Mar 02 00:45:35 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal systemd[1]: Started HAProxy Load Balancer.
Mar 02 00:45:38 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal haproxy[2642]: 172.24.4.1:51472 [02/Mar/2018:00:45:38.730] ceb442d0-eed8-41d1-be5f-17bc56f54189~ c38a6399-6ad2-4131-aced-db9af52fe733/a6363b3c-e77c-4482-9673-da5c2d512043 0/0/4/3/7 200 37 - - ---- 1/1/0/0/0 0/0 "GET / HTTP/1.1"
Mar 02 00:45:41 amphora-1adb011e-e2f8-42ad-ac0a-9351ab104046.novalocal haproxy[2642]: 172.24.4.1:51474 [02/Mar/2018:00:45:41.157] ceb442d0-eed8-41d1-be5f-17bc56f54189~ c38a6399-6ad2-4131-aced-db9af52fe733/22847b1e-2962-4e73-9652-b1f0ffebdc4d 0/0/1/1/3 200 37 - - ---- 1/1/0/0/0 0/0 "GET / HTTP/1.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment