Log In
Browse
rODNS/admin_state
8307641dac06MASTER
admin_state
93b181a044c0
##############################################################################
#
# *** README ***
#
# This file is managed via the operations/dns repo!
# This file takes effect immediately when pushed via authdns-update!
#
# The contents of this file administratively override the UP/DOWN states of
# gdnsd dynamic resources. When something is disabled at a datacenter,
# resolution will fail over to the next datacenter in the failover list for
# each location in the map from the config-geo file.
# For example: "NA => { US => { CA => [ulsfo, eqiad] } }" means California
# is normally mapped to ulsfo, but if ulsfo is disabled for some or all
# services in this file, California traffic for the affected services will be
# sent to eqiad.
# In the event that all datacenters in the failover list of a given location
# are marked DOWN, resolution acts as if they were all UP (goes back to the
# first entry).
#
# Currently, all our production services use the same map named 'generic-map',
#
# To disable all services at a given cache datacenter:
# ----------------------------------------------------
# geoip/generic-map/DCNAME => DOWN
160802152012
# (where DCNAME is one of 'ulsfo' or 'eqiad', but NOT esams; see below)
93b181a044c0
#
# To disable individual services at given cache datacenter:
# ---------------------------------------------------------
# geoip/SERVICE/DCNAME => DOWN
# (where SERVICE is one of e.g. 'text-addrs', 'upload-addrs', etc)
#
# Glob-style pattern matching is allowed:
# ---------------------------------------
# geoip/text*/ulsfo => DOWN
# (matches text-addrs and text-addrs-v4 in ulsfo)
#
# If multiple lines are present, the following basic rules apply:
# ---------------------------------------------------------------
# 1) Map-level overrides have lower precedence than service-level
# overrides, regardless of any globbing, because the service-level is
# the more specific of the two.
# 2) Lines are processed in-order, and the last one wins in case
# of any direct overlap/conflict at the per-map or per-service
# level.
#
# Examples:
# ------------------------------------------------------------
#
# # Disable all traffic to esams:
160802152012
# # Don't do that here! See note at end of file.
93b181a044c0
#
160802152012
# # Disable all traffic to eqiad:
# geoip/generic-map/eqiad => DOWN
#
# # Disable just text-addrs, text-addrs-v4, and mobile-addrs in codfw:
# geoip/text*/codfw => DOWN
# geoip/mobile-addrs/codfw => DOWN
93b181a044c0
#
eff341796190
# # Disable all services except text-addrs + text-addrs-v4 in ulsfo,
93b181a044c0
# # regardless of the order of these lines:
# geoip/generic-map/ulsfo => DOWN
eff341796190
# geoip/text-*/ulsfo => UP
93b181a044c0
#
eff341796190
# # Disable all services except text-addrs in ulsfo:
93b181a044c0
# geoip/generic-map/ulsfo => DOWN
eff341796190
# geoip/text-*/ulsfo => UP # marks both text UP as prev example, but...
# geoip/text-addrs-v4/ulsfo => DOWN # this overrides the above for -v4
93b181a044c0
#
eff341796190
# # Disables all services except text-addrs + text-addrs-v4 in ulsfo:
93b181a044c0
# geoip/generic-map/ulsfo => DOWN
eff341796190
# geoip/text-addrs-v4/ulsfo => DOWN # this does nothing because...
# geoip/text-*/ulsfo => UP # ... this overrides the line above completely
93b181a044c0
#
##############################################################################
49f1aae0630d
# TO DEPOOL ESAMS:
# Don't use this file, instead edit the file "config" and switch the geo-maps part there!
Content licensed under Creative Commons Attribution-ShareAlike 3.0 (CC-BY-SA) unless otherwise noted; code licensed under GNU General Public License (GPL) or other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL