]> git.proxmox.com Git - pve-docs.git/blobdiff - ha-manager.1-synopsis.adoc
pvecm: remove node: explain how to deal with the node's pmxcfs directory
[pve-docs.git] / ha-manager.1-synopsis.adoc
index f91530df2f66c0b75e0f0c3ea3f7d5372bcd1b2d..0e4c5ab1cea1f19870b8f35c450f76dae81d62e2 100644 (file)
@@ -40,6 +40,59 @@ List HA resources.
 
 Only list resources of specific type
 
+*ha-manager crm-command 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 colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).
+
+`<node>`: `<string>` ::
+
+Target node.
+
+*ha-manager crm-command node-maintenance disable* `<node>`
+
+Change the node-maintenance request state.
+
+`<node>`: `<string>` ::
+
+The cluster node name.
+
+*ha-manager crm-command node-maintenance enable* `<node>`
+
+Change the node-maintenance request state.
+
+`<node>`: `<string>` ::
+
+The cluster node name.
+
+*ha-manager crm-command 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 colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).
+
+`<node>`: `<string>` ::
+
+Target node.
+
+*ha-manager crm-command stop* `<sid> <timeout>`
+
+Request the service to be stopped.
+
+`<sid>`: `<type>:<name>` ::
+
+HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).
+
+`<timeout>`: `<integer> (0 - N)` ::
+
+Timeout in seconds. If set to 0 a hard stop will be performed.
+
 *ha-manager groupadd* `<group> --nodes <string>` `[OPTIONS]`
 
 Create a new HA group.
@@ -98,7 +151,7 @@ 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.
+Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
 
 `--nodes` `<node>[:<pri>]{,<node>[:<pri>]}*` ::
 
@@ -124,30 +177,13 @@ Shows help for a specific command
 
 Verbose output format.
 
-*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 colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).
-
-`<node>`: `<string>` ::
-
-Target node.
+*ha-manager migrate*
 
-*ha-manager relocate* `<sid> <node>`
+An alias for 'ha-manager crm-command migrate'.
 
-Request resource relocatzion to another node. This stops the service on the
-old node, and restarts it on the target node.
+*ha-manager relocate*
 
-`<sid>`: `<type>:<name>` ::
-
-HA resource ID. This consists of a resource type followed by a resource specific name, separated with colon (example: vm:100 / ct:100). For virtual machines and containers, you can simply use the VM or CT id as a shortcut (example: 100).
-
-`<node>`: `<string>` ::
-
-Target node.
+An alias for 'ha-manager crm-command relocate'.
 
 *ha-manager remove* `<sid>`
 
@@ -175,7 +211,7 @@ 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.
+Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
 
 `--group` `<string>` ::