pvecm - Proxmox VE HA Command Line Interface
ha-manager <COMMAND> [ARGS] [OPTIONS]
ha-manager groups
Get HA groups.
ha-manager add <sid> [OPTIONS]
Create a new HA resource.
<sid> <type>:<name>
HA resource ID. This consists of a resource type followed by a
resource specific name, separated with collon (example:
vm:100). For virtual machines, you can simply use the VM id as
shortcut (example: 100).
-comment string
Description.
-group string
The HA group identifier.
-state (disabled | enabled) (default=enabled)
Resource state.
-type (vm)
Resource type.
ha-manager config [OPTIONS]
List HA resources.
-type (vm)
Only list resources of specific type
ha-manager migrate <sid> <node>
Request resource migration (online) to another node.
<sid> <type>:<name>
HA resource ID. This consists of a resource type followed by a
resource specific name, separated with collon (example:
vm:100). For virtual machines, you can simply use the VM id as
shortcut (example: 100).
<node> string
The cluster node name.
ha-manager relocate <sid> <node>
Request resource relocatzion to another node. This stops the service on
the old node, and restarts it on the target node.
<sid> <type>:<name>
HA resource ID. This consists of a resource type followed by a
resource specific name, separated with collon (example:
vm:100). For virtual machines, you can simply use the VM id as
shortcut (example: 100).
<node> string
The cluster node name.
ha-manager remove <sid>
Delete resource configuration.
<sid> <type>:<name>
HA resource ID. This consists of a resource type followed by a
resource specific name, separated with collon (example:
vm:100). For virtual machines, you can simply use the VM id as
shortcut (example: 100).
ha-manager set <sid> [OPTIONS]
Update resource configuration.
<sid> <type>:<name>
HA resource ID. This consists of a resource type followed by a
resource specific name, separated with collon (example:
vm:100). For virtual machines, you can simply use the VM id as
shortcut (example: 100).
-comment string
Description.
-delete string
A list of settings you want to delete.
-digest string
Prevent changes if current configuration file has different
SHA1 digest. This can be used to prevent concurrent
modifications.
-group string
The HA group identifier.
-state (disabled | enabled) (default=enabled)
Resource state.
ha-manager help [<cmd>] [OPTIONS]
Get help about specified command.
<cmd> string
Command name
-verbose boolean
Verbose output format.
ha-manager disable <sid>
Disable a HA resource.
<sid> <type>:<name>
HA resource ID. This consists of a resource type followed by a
resource specific name, separated with collon (example:
vm:100). For virtual machines, you can simply use the VM id as
shortcut (example: 100).
ha-manager enable <sid>
Enable a HA resource.
<sid> <type>:<name>
HA resource ID. This consists of a resource type followed by a
resource specific name, separated with collon (example:
vm:100). For virtual machines, you can simply use the VM id as
shortcut (example: 100).
ha-manager status [OPTIONS]
Display HA manger status.
-verbose boolean (default=0)
Verbose output. Include complete CRM and LRM status (JSON).
ha-manager is a program to manage the HA configuration.
Copyright (C) 2007-2015 Proxmox Server Solutions GmbH
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.