pcs_resource_enable
Enable a Pacemaker resource by ID or all resources in a cluster with pcs resource enable. Activates disabled resources for controlled cluster operation.
Instructions
Enable a resource or all resources via 'pcs resource enable ' or '--all'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pcs_resource_enable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Enable all resources | |
| sudo | No | Prefix commands with sudo on the remote host | |
| cluster | No | Named cluster in config | |
| resource | No | Resource ID to enable | |
| 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) |