pcs_resource_ban
Prevent a resource from running on a node by banning it in the Pacemaker cluster. Optionally specify a lifetime for the ban.
Instructions
Ban a resource from a node via 'pcs resource ban [lifetime]'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node to ban the resource from | |
| sudo | No | Prefix commands with sudo on the remote host | |
| cluster | No | Named cluster in config | |
| lifetime | No | Optional lifetime (e.g. 'PT1H' or 'inf') | |
| resource | Yes | Resource ID to ban | |
| timeoutMs | No | SSH command timeout in milliseconds | |
| sshConfigHost | No | OpenSSH Host alias to resolve connection parameters | |
| sshConfigPath | No | Path to OpenSSH config (defaults to ~/.ssh/config) |