ansible/inventory/group_vars/proxies-stg

101 lines
3.6 KiB
Text
Raw Normal View History

2014-12-07 16:53:39 +00:00
---
2014-12-17 18:46:27 +00:00
# Define resources for this group of hosts here.
lvm_size: 50000
2014-12-07 16:53:39 +00:00
mem_size: 8192
num_cpus: 2
# This is used in the httpd.conf to determine the value for serverlimit and
# maxrequestworkers. On 8gb proxies, 900 seems fine. But on 4gb proxies, this
# should be lowered in the host vars for that proxy.
maxrequestworkers: 900
2014-12-17 18:46:27 +00:00
tcp_ports: [
# For apache, generally.
80,
443,
# This is for TCP krb5
1088,
# This is for RabbitMQ public access
5671,
# This is for RabbitMQ internal-public access
15671,
2014-12-17 18:46:27 +00:00
# This is for the haproxy HTML stats page
# TODO -- there's no need for this to be wide open to the world. With this
# in place, you can visit https://apps.fedoraproject.org:8080 and get the
# haproxy stats page. We should close this and just have admins go through
# the apache reverseproxy at https://admin.fedoraproject.org/haproxy/proxy1
8080,
# For fedmsg websocket server over stunnel
9939,
# For fedmsg raw zeromq socket (outbound)
9940,
# 9941 is closed generally, is for the inbound fedmsg and is covered in
# custom_rules
]
2014-12-07 16:53:39 +00:00
custom_rules: [
# Need for rsync from log01 for logs.
'-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT',
'-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT',
# allow varnish from localhost
2015-01-21 17:21:54 +00:00
'-A INPUT -p tcp -m tcp -s 127.0.0.1 --dport 6081 -j ACCEPT',
'-A INPUT -p tcp -m tcp -s 127.0.0.1 --dport 6082 -j ACCEPT',
# also allow varnish from internal for purge requests
'-A INPUT -p tcp -m tcp -s 192.168.1.0/24 --dport 6081 -j ACCEPT',
'-A INPUT -p tcp -m tcp -s 10.5.126.0/24 --dport 6081 -j ACCEPT',
2014-12-17 18:46:27 +00:00
# Allow copr-be.cloud to talk to the inbound fedmsg relay.
'-A INPUT -p tcp -m tcp --dport 9941 -s 209.132.184.131 -j ACCEPT',
# Allow stg.fedoramagazine.org running at vultr.com to talk inbound fedmsg
# Contact cydrobolt about the status of this. It hasn't hit prod status
# yet as of 2015-04-27 (threebean).
'-A INPUT -p tcp -m tcp --dport 9941 -s 104.207.133.220 -j ACCEPT',
# Allow retrace/faf to talk to the inbound fedmsg relay.
# retrace01.qa.fedoraproject.org
'-A INPUT -p tcp -m tcp --dport 9941 -s 209.132.181.28 -j ACCEPT',
# retrace02.qa.fedoraproject.org
'-A INPUT -p tcp -m tcp --dport 9941 -s 209.132.181.34 -j ACCEPT',
# Allow resultsdb talk to the inbound fedmsg relay.
'-A INPUT -p tcp -m tcp --dport 9941 -s 10.5.124.147 -j ACCEPT',
# Allow openqa to talk to the inbound fedmsg relay.
'-A INPUT -p tcp -m tcp --dport 9941 -s 10.5.131.72 -j ACCEPT',
# Allow happinesspackets-stg.fedorainfracloud.org to talk to the inbound fedmsg relay
'-A INPUT -p tcp -m tcp --dport 9941 -s 209.132.184.123 -j ACCEPT',
2014-12-17 18:46:27 +00:00
]
2014-12-07 16:53:39 +00:00
fas_client_groups: sysadmin-noc,fi-apprentice,sysadmin-web,sysadmin-veteran
2015-01-06 14:26:17 +00:00
collectd_apache: true
varnish_group: proxies
2015-01-06 14:26:17 +00:00
# For the MOTD
csi_security_category: Moderate
csi_primary_contact: Fedora Admins - admin@fedoraproject.org
csi_purpose: Provides frontend (reverse) proxy for most web applications
csi_relationship: |
Using Apache -> haproxy, these hosts contact app servers and
2015-01-06 14:28:37 +00:00
other various hosts to provide web applications at sites like
2015-01-06 14:30:27 +00:00
fedoraproject.org and admin.fedoraproject.org. The proxy servers are
2015-01-06 14:28:37 +00:00
balanced via dns and geoIP and are spread all over the place.
openshift_masters:
- os-master01.stg.phx2.fedoraproject.org
- os-master02.stg.phx2.fedoraproject.org
- os-master03.stg.phx2.fedoraproject.org
openshift_nodes:
- os-node01.stg.phx2.fedoraproject.org
- os-node02.stg.phx2.fedoraproject.org
- os-node03.stg.phx2.fedoraproject.org
- os-node04.stg.phx2.fedoraproject.org