pool_member_disable
Disable a pool member with graceful drain, allowing existing connections to finish while blocking new traffic. Preview blast radius first for safe maintenance or rolling deployments.
Instructions
[WRITE] Disable a pool member with graceful drain — existing connections complete, no new traffic.
Without confirm=True this only previews: it returns blast_radius (pool name and uuid, the member's IP/port/state, and how many members are enabled before and after) and changes nothing. Show that to the user and get their explicit decision. Do not set confirm=True on your own because the user asked earlier: they have not seen what it changes yet. An already disabled member returns action "noop".
Refused with confirm=True: the pool's only enabled member (the pool would serve nothing — enable another first, or use vs_toggle on purpose), an IP that matches more than one member, and a pool whose members cannot be read. Use for maintenance or rolling deployments; run pool_members first for the server IP, pool_member_enable to reverse it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | Exact pool name as shown by pool_list — matched literally, not fuzzily, and an unknown name is refused rather than ignored. Pools are often named differently from the Virtual Services that use them, so do not infer it from a VS name. | |
| server | Yes | Server IP address. | |
| confirm | No | False (default) returns the blast radius and changes nothing. True applies it. | |
| confirmed | No | Deprecated alias for confirm; removed in the next minor release. confirmed=False holds even when confirm=True. |