this should remove a lot of things looking at phx2 systems
This commit is contained in:
parent
62caa5b062
commit
857a3c623d
1 changed files with 29 additions and 31 deletions
|
@ -44,9 +44,9 @@ frontend fp-wiki-frontend
|
||||||
backend fp-wiki-backend
|
backend fp-wiki-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server wiki01 wiki01:80 check inter 15s rise 2 fall 5
|
server wiki01 wiki01:80 check inter 15s rise 2 fall 5
|
||||||
{% if env == "production" %}
|
# {% if env == "production" %}
|
||||||
server wiki02 wiki02:80 check inter 15s rise 2 fall 5
|
# server wiki02 wiki02:80 check inter 15s rise 2 fall 5
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
option httpchk GET /wiki/Main_Page
|
option httpchk GET /wiki/Main_Page
|
||||||
|
|
||||||
frontend mirror-lists-frontend
|
frontend mirror-lists-frontend
|
||||||
|
@ -58,7 +58,7 @@ backend mirror-lists-backend
|
||||||
timeout connect 30s
|
timeout connect 30s
|
||||||
server mirrorlist-local1 127.0.0.1:18081 check inter 1s rise 2 fall 3 weight 100
|
server mirrorlist-local1 127.0.0.1:18081 check inter 1s rise 2 fall 3 weight 100
|
||||||
server mirrorlist-local2 127.0.0.1:18082 check inter 1s rise 2 fall 3 weight 100
|
server mirrorlist-local2 127.0.0.1:18082 check inter 1s rise 2 fall 3 weight 100
|
||||||
{% if datacenter == 'phx2' %}
|
{% if datacenter == 'iad2' %}
|
||||||
server mirrorlist-local3 127.0.0.1:18083 check inter 1s rise 2 fall 3 weight 100
|
server mirrorlist-local3 127.0.0.1:18083 check inter 1s rise 2 fall 3 weight 100
|
||||||
{% endif %}
|
{% endif %}
|
||||||
option httpchk GET /metalink?repo=epel-7&arch=x86_64
|
option httpchk GET /metalink?repo=epel-7&arch=x86_64
|
||||||
|
@ -71,9 +71,9 @@ frontend mirrormanager-frontend
|
||||||
backend mirrormanager-backend
|
backend mirrormanager-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server mm-frontend01 mm-frontend01:80 check inter 60s rise 2 fall 3
|
server mm-frontend01 mm-frontend01:80 check inter 60s rise 2 fall 3
|
||||||
{% if env == "production" %}
|
# {% if env == "production" %}
|
||||||
server mm-frontend02 mm-frontend02:80 check inter 60s rise 2 fall 3
|
# server mm-frontend02 mm-frontend02:80 check inter 60s rise 2 fall 3
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
option httpchk GET /mirrormanager/static/mirrormanager2.css
|
option httpchk GET /mirrormanager/static/mirrormanager2.css
|
||||||
|
|
||||||
frontend freemedia-frontend
|
frontend freemedia-frontend
|
||||||
|
@ -83,9 +83,9 @@ frontend freemedia-frontend
|
||||||
backend freemedia-backend
|
backend freemedia-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server sundries01 sundries01:80 check inter 60s rise 2 fall 3
|
server sundries01 sundries01:80 check inter 60s rise 2 fall 3
|
||||||
{% if env == "production" %}
|
# {% if env == "production" %}
|
||||||
server sundries02 sundries01:80 check inter 60s rise 2 fall 3
|
# server sundries02 sundries01:80 check inter 60s rise 2 fall 3
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
option httpchk GET /freemedia/FreeMedia-form.html
|
option httpchk GET /freemedia/FreeMedia-form.html
|
||||||
|
|
||||||
frontend packages-frontend
|
frontend packages-frontend
|
||||||
|
@ -117,9 +117,9 @@ frontend blockerbugs-frontend
|
||||||
backend blockerbugs-backend
|
backend blockerbugs-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server blockerbugs01 blockerbugs01:80 check inter 10s rise 1 fall 2
|
server blockerbugs01 blockerbugs01:80 check inter 10s rise 1 fall 2
|
||||||
{% if env == "production" %}
|
# {% if env == "production" %}
|
||||||
server blockerbugs02 blockerbugs02:80 check inter 10s rise 1 fall 2
|
# server blockerbugs02 blockerbugs02:80 check inter 10s rise 1 fall 2
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
option httpchk GET /blockerbugs
|
option httpchk GET /blockerbugs
|
||||||
|
|
||||||
frontend fedocal-frontend
|
frontend fedocal-frontend
|
||||||
|
@ -129,9 +129,9 @@ frontend fedocal-frontend
|
||||||
backend fedocal-backend
|
backend fedocal-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server fedocal01 fedocal01:80 check inter 10s rise 1 fall 2
|
server fedocal01 fedocal01:80 check inter 10s rise 1 fall 2
|
||||||
{% if env == "production" %}
|
# {% if env == "production" %}
|
||||||
server fedocal02 fedocal02:80 check inter 10s rise 1 fall 2
|
# server fedocal02 fedocal02:80 check inter 10s rise 1 fall 2
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
option httpchk GET /calendar
|
option httpchk GET /calendar
|
||||||
|
|
||||||
# IMPORTANT: 10023-10026 will NOT work because of selinux policies
|
# IMPORTANT: 10023-10026 will NOT work because of selinux policies
|
||||||
|
@ -143,9 +143,9 @@ frontend datagrepper-frontend
|
||||||
backend datagrepper-backend
|
backend datagrepper-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server datagrepper01 datagrepper01:80 check inter 10s rise 1 fall 2
|
server datagrepper01 datagrepper01:80 check inter 10s rise 1 fall 2
|
||||||
{% if env == "production" %}
|
# {% if env == "production" %}
|
||||||
server datagrepper02 datagrepper02:80 check inter 10s rise 1 fall 2
|
# server datagrepper02 datagrepper02:80 check inter 10s rise 1 fall 2
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
option httpchk GET /datagrepper/reference/
|
option httpchk GET /datagrepper/reference/
|
||||||
|
|
||||||
frontend geoip-city-frontend
|
frontend geoip-city-frontend
|
||||||
|
@ -155,9 +155,9 @@ frontend geoip-city-frontend
|
||||||
backend geoip-city-backend
|
backend geoip-city-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server sundries01 sundries01:80 check inter 30s rise 2 fall 3
|
server sundries01 sundries01:80 check inter 30s rise 2 fall 3
|
||||||
{% if env == "production" %}
|
# {% if env == "production" %}
|
||||||
server sundries02 sundries02:80 check inter 30s rise 2 fall 3
|
# server sundries02 sundries02:80 check inter 30s rise 2 fall 3
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
option httpchk GET /city?ip=18.0.0.1
|
option httpchk GET /city?ip=18.0.0.1
|
||||||
|
|
||||||
# IMPORTANT: 10031 will NOT work because of selinux policies
|
# IMPORTANT: 10031 will NOT work because of selinux policies
|
||||||
|
@ -169,9 +169,9 @@ frontend badges-frontend
|
||||||
backend badges-backend
|
backend badges-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server badges-web01 badges-web01:80 check inter 10s rise 1 fall 2
|
server badges-web01 badges-web01:80 check inter 10s rise 1 fall 2
|
||||||
{% if env == "production" %}
|
# {% if env == "production" %}
|
||||||
server badges-web02 badges-web02:80 check inter 10s rise 1 fall 2
|
# server badges-web02 badges-web02:80 check inter 10s rise 1 fall 2
|
||||||
{% endif %}
|
# {% endif %}
|
||||||
option httpchk GET /heartbeat
|
option httpchk GET /heartbeat
|
||||||
|
|
||||||
frontend nuancier-frontend
|
frontend nuancier-frontend
|
||||||
|
@ -358,9 +358,9 @@ backend oci-candidate-registry-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
server oci-candidate-registry01 oci-candidate-registry01:5000 check inter 10s rise 1 fall 2
|
server oci-candidate-registry01 oci-candidate-registry01:5000 check inter 10s rise 1 fall 2
|
||||||
|
|
||||||
{% if 'phx2' in inventory_hostname or 'iad2' in inventory_hostname %}
|
{% if 'iad2' in inventory_hostname %}
|
||||||
|
|
||||||
# Only enable this on phx2 proxies
|
# Only enable this on iad2 proxies
|
||||||
frontend src-frontend
|
frontend src-frontend
|
||||||
bind 0.0.0.0:10057
|
bind 0.0.0.0:10057
|
||||||
default_backend src-backend
|
default_backend src-backend
|
||||||
|
@ -369,8 +369,6 @@ backend src-backend
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
{% if env == "staging" %}
|
{% if env == "staging" %}
|
||||||
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2
|
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2
|
||||||
{% elif datacenter == 'phx2' %}
|
|
||||||
server pkgs02 pkgs02:80 check inter 10s rise 1 fall 2
|
|
||||||
{% elif datacenter == 'iad2' %}
|
{% elif datacenter == 'iad2' %}
|
||||||
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2
|
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -388,7 +386,7 @@ backend ipa01-backend
|
||||||
server ipa01 ipa01:443 check inter 10s rise 1 fall 2 ssl verify required ca-file /etc/haproxy/ipa.pem
|
server ipa01 ipa01:443 check inter 10s rise 1 fall 2 ssl verify required ca-file /etc/haproxy/ipa.pem
|
||||||
option httpchk GET /ipa/ui/
|
option httpchk GET /ipa/ui/
|
||||||
|
|
||||||
{% if env == "production" and 'phx2' in inventory_hostname or 'iad2' in inventory_hostname %}
|
{% if env == "production" and 'iad2' in inventory_hostname %}
|
||||||
frontend kojipkgs-frontend
|
frontend kojipkgs-frontend
|
||||||
bind 0.0.0.0:10062
|
bind 0.0.0.0:10062
|
||||||
default_backend kojipkgs-backend
|
default_backend kojipkgs-backend
|
||||||
|
@ -432,7 +430,7 @@ backend copr-backend
|
||||||
option httpchk GET /api_3/
|
option httpchk GET /api_3/
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if datacenter == "phx2" or datacenter == "iad2" %}
|
{% if datacenter == "iad2" %}
|
||||||
# These ports are for proxying rabbitmq (AMQP) protocol through.
|
# These ports are for proxying rabbitmq (AMQP) protocol through.
|
||||||
# At this moment, internal- and public-rabbitmq both point to the exact same set of
|
# At this moment, internal- and public-rabbitmq both point to the exact same set of
|
||||||
# brokers on the backend, but the internal- is intended for applications we directly control.
|
# brokers on the backend, but the internal- is intended for applications we directly control.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue