You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Contains various ways to depool different servers. In a glorious future, we'd just need to do
conftool depool <service> <node> but we aren't there yet!
These are the varnish frontends, and should be depooled via conftool. To fully depool a server, do as root on any puppetmaster frontend:
confctl select dc=<dc>,cluster=<cluster-name>,name=cp*** set/pooled=no
You can find out
<cluster-name> from looking at
conftool-data/node/ in the
An easier option is to ssh into the server and just run
$ sudo -i depool
To re-pool, run:
$ sudo -i pool
Note the use of sudo -i. depool needs environment variables to get access to etcd.
mw* machines (and others)
The mw* application servers and various other servers are managed by PyBal directly in Etcd. These can be controlled via conftool as well, including with the
poolutilities. This is documented at LVS#Etcd as a backend to Pybal (All of production).