flexera-public / server-templates

Server Templates, and RightScripts(Bash, Powershell)
http://www.flexera.com
Apache License 2.0
0 stars 2 forks source link

Haproxy inputs #45

Closed tusharshahrs closed 7 years ago

tusharshahrs commented 7 years ago

Made inter, rise, fall, & maxconn optional inputs that can be updated on ST.
Added changelog This is with defaults haproxy-with-inputs-defaults_-_server_inputs

App Server shows this: tusharshah@haproxy-with-inputs-defaults:~$ cat /usr/local/etc/haproxy/haproxy.cfg backend FamilyDollarAPI server disabled-server 127.0.0.1:1 disabled server 03-DUPRS6G5DQH18 10.66.2.101:8080 inter 300 rise 3 fall 2 maxconn 100 check cookie 03-DUPRS6G5DQH18 server 03-1UINMS7NPONFR 10.66.2.214:8080 inter 300 rise 3 fall 2 maxconn 100 check cookie 03-1UINMS7NPONFR

This is with defaults changed for inter. haproxy: haproxy-with-inputs-defaults_-_server_inputs

Here is what the app servers show now:

tusharshahrs commented 7 years ago

haproxy-with-inputs-defaults_-_server_inputs

Here is proof that the change worked server 03-2V8F1VEI1411J 10.66.2.89:8080 inter 10000 rise 7 fall 6 maxconn 8000 check cookie 03-2V8F1VEI1411J

tusharshahrs commented 7 years ago

Added MEMBER in front of inter, fall, rise, and maxconn to reduce any confusion on where this applies

tusharshahrs commented 7 years ago

Tested MEMBER name addition haproxy-with-inputs-defaults_-_server_inputs

 server 03-FDNG079V9PR6R 10.66.2.252:8080 inter 10000 rise 3 fall 2 maxconn 4096 check cookie 03-FDNG079V9PR6R