pcs_resource_restart
Restart a Pacemaker cluster resource or all resources via pcs resource restart command, targeting a specific resource ID or defaulting to all when omitted.
Instructions
Restart a resource via 'pcs resource restart ' or all resources if omitted (agent-dependent).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sudo | No | Prefix commands with sudo on the remote host | |
| cluster | No | Named cluster in config | |
| resource | No | Optional resource ID to restart | |
| 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) |