Ticket #735 (closed enhancement: invalid)
Support backend control via CLI
| Reported by: | tgr | Owned by: | phk |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | varnishd | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The attached patches (for trunk and for 2.1, the only difference is Sphinx docs) are a PoC of CLI-based backend control for round-robin and random directors. It's a quick hack and the code may not be where you want it, but it works.
Rationale:
- it may be desirable to allow application administrators to disable/enable backends without allowing VCL modification,
- there is presumably no need to disable a backend that is not part of a director,
- health probes should continue when a backend is disabled - it is easy to make a decision to disable/enable a backend based on its health status, when presented in a format like:
director1 backend1 Enabled Healthy
director1 backend2 Disabled Healthy
director1 backend3 Disabled Sick

