Make it possible to switch, with e.g. simple hieradata commits, the source datacenter (eqiad or codfw) for application-layer services contacted by varnish backends. The switches should have the granularity to be switched independently per-service-per-cache-datacenter.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T125673 Switch over from Eqiad to Codfw as primary datacentre | |||
Resolved | BBlack | T125510 Traffic Infrastructure support for Mar 2016 codfw rollout | |||
Declined | None | T127485 Enable VCL applayer datacenter-switch via confd | |||
Resolved | BBlack | T127484 Refactor VCL for applayer datacenter-switching |
Event Timeline
Change 275115 had a related patch set uploaded (by BBlack):
caches: remove backend_scaled_weights
Change 275116 had a related patch set uploaded (by BBlack):
wikimedia-common VCL: remove static backend weighting
Change 275117 had a related patch set uploaded (by BBlack):
varnish: get rid of backend_options
Change 275118 had a related patch set uploaded (by BBlack):
varnish: allow director backends to be single-value again
Change 275119 had a related patch set uploaded (by BBlack):
r::c::config: remove has_ganglia
Change 275120 had a related patch set uploaded (by BBlack):
r::c::config: remove lvs::configuration include
Change 275121 had a related patch set uploaded (by BBlack):
r::c::config: remove parsoid (unused)
Change 275122 had a related patch set uploaded (by BBlack):
r::c::config: add restbase @ codfw
Change 275123 had a related patch set uploaded (by BBlack):
r::c::config: move to hieradata
Change 275124 had a related patch set uploaded (by BBlack):
varnishes: control applayer DC routing from hieradata
Status update: The changes uploaded so far to the cache_app_routing topic should make this part basically work. Waiting for Monday to merge, and may finish with a followup patch to support 'split' routes as well (active:active), but we're basically done with the bulk of resolving this task.
Change 275497 had a related patch set uploaded (by BBlack):
WIP: first attempt at cache_app_route() w/ split
Change 275116 merged by BBlack:
wikimedia-common VCL: remove static backend weighting
Change 275118 merged by BBlack:
varnish: allow director backends to be single-value again
Change 275124 merged by BBlack:
varnishes: control applayer DC routing from hieradata
Change 275509 had a related patch set uploaded (by BBlack):
wikimedia-common VCL: add back truly-static backend weighting
Change 275509 merged by BBlack:
wikimedia-common VCL: add back truly-static backend weighting
This works now, and is controlled by per-cluster hieradata in the apps section of e.g. hieradata/common/cache/text.yaml, where per-service route attribute can be switched between eqiad and codfw.
Change 275497 merged by BBlack:
cache_app_route(): parser func for cache->app routing