Add HA resource
add_ha_resourceAdd a VM or container to Proxmox HA management, ensuring automatic restart on failure. Requires user confirmation due to high risk.
Instructions
Make a VM or container HA-managed by the cluster. HIGH RISK — service will be restarted on failure. Ask the user to confirm before invoking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | Service ID, e.g. 'vm:100' or 'ct:101' | |
| group | No | HA group to assign (default: 'default') | |
| state | No | started | |
| comment | No | ||
| confirm | No | Set to true once the user has approved this action | |
| max_restart | No | Max restart attempts | |
| max_relocate | No | Max relocate attempts |