Add cluster ha resource

Options

optiondescriptionAllowed values
groupthe cluster ha group this resource belong tostring
vmidthe virtual machine id you want to assign to the resourcestring
namethe cluster ha resource namestring
commentadditional information for this resourceN/A
stateRequested resource state. The CRM reads this state and acts accordingly. Please note that enabled is just an alias for started. (disabledenabled
max-relocateMaximal number of service relocate tries when a service failes to startintegrer
max-restartMaximal number of tries to restart the service on a node after its start failed.integer

Examples

  • create a cluster ha resource with minimal informations
proxcli cluster ha resources add --group gitlab --vmid 105