Log In
160802152012
Emergency documentation & rm possibly-confusing esams mentions
160802152012
Tags
None
Subscribers
None
Description
Emergency documentation & rm possibly-confusing esams mentions
Change-Id: Iddc5a24fe686c493f1d2589932461e1c6fcbc29f
Details
Provenance
CDanisAuthored on Mar 20 2020, 2:58 PM
Parents
rODNS693fd3e02058: remove elnath.codfw.wmnet
Branches
master
Tags
None
ChangeId
Iddc5a24fe686c493f1d2589932461e1c6fcbc29f
Changes (2)
Path
README.md
admin_state
rODNS160802152012
README.md
This file was added.
# Depooling a site
When editing this file, please also update
https​:​//wikitech.wikimedia.org/wiki/DNS#Change_GeoDNS
To depool any site _except_ esams:
* Edit the `admin_state` file to include something like
`geoip/generic-map/eqiad => DOWN` (see examples within), commit, and run
`authdns-update` from any of the DNS servers.
To depool esams:
* Edit the `config` file switching the `$include` directive from
`geo-maps` to `geo-maps-esams-offline` (one should be commented out,
and the other uncommented), commit, and run `authdns-update` from any
of the DNS servers.
# Other use of this repo
See https​:​//wikitech.wikimedia.org/wiki/DNS -- the directions above are
only reproduced here for emergency use.
admin_state
Show All 16 Lines
# 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
# (where DCNAME is one of 'ulsfo' or 'esams')
# (where DCNAME is one of 'ulsfo' or 'eqiad', but NOT esams; see below)
#
# 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:
# geoip/generic-map/esams => DOWN
# # Don't do that here! See note at end of file.
#
# # Disable just text-addrs, text-addrs-v4, and mobile-addrs in esams:
# geoip/text*/esams => DOWN
# geoip/mobile-addrs/esams => DOWN
# # 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
#
# # Disable all services except text-addrs + text-addrs-v4 in ulsfo,
# # regardless of the order of these lines:
# geoip/generic-map/ulsfo => DOWN
# geoip/text-*/ulsfo => UP
#
# # Disable all services except text-addrs in ulsfo:
# geoip/generic-map/ulsfo => DOWN
Show All 11 Lines
Log In to Comment
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