[pve-devel] [PATCH docs v2 4/5] update static files to include ha resources failback flag

Daniel Kral d.kral at proxmox.com
Fri Jun 20 16:31:42 CEST 2025


Signed-off-by: Daniel Kral <d.kral at proxmox.com>
---
This patch is more of a show-case how the static files changed.

changes since v1:
    - NEW!

 api-viewer/apidata.js      | 14 ++++++++++++++
 ha-manager.1-synopsis.adoc |  8 ++++++++
 ha-resources-opts.adoc     |  4 ++++
 3 files changed, 26 insertions(+)

diff --git a/api-viewer/apidata.js b/api-viewer/apidata.js
index c52afc8..bbfc7b7 100644
--- a/api-viewer/apidata.js
+++ b/api-viewer/apidata.js
@@ -7350,6 +7350,13 @@ const apiSchema = [
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
+                                    "failback" : {
+                                       "default" : 1,
+                                       "description" : "Automatically migrate service to the node with the highest priority according to their location rules, if a node with a higher priority than the current node comes online, or migrate to the node, which doesn't violate any colocation rule.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
                                     "group" : {
                                        "description" : "The HA group identifier.",
                                        "format" : "pve-configid",
@@ -7478,6 +7485,13 @@ const apiSchema = [
                                  "type" : "string",
                                  "typetext" : "<string>"
                               },
+                              "failback" : {
+                                 "default" : 1,
+                                 "description" : "Automatically migrate service to the node with the highest priority according to their location rules, if a node with a higher priority than the current node comes online, or migrate to the node, which doesn't violate any colocation rule.",
+                                 "optional" : 1,
+                                 "type" : "boolean",
+                                 "typetext" : "<boolean>"
+                              },
                               "group" : {
                                  "description" : "The HA group identifier.",
                                  "format" : "pve-configid",
diff --git a/ha-manager.1-synopsis.adoc b/ha-manager.1-synopsis.adoc
index 540c7ca..5ea3160 100644
--- a/ha-manager.1-synopsis.adoc
+++ b/ha-manager.1-synopsis.adoc
@@ -12,6 +12,10 @@ HA resource ID. This consists of a resource type followed by a resource specific
 
 Description.
 
+`--failback` `<boolean>` ('default =' `1`)::
+
+Automatically migrate service to the node with the highest priority according to their location rules, if a node with a higher priority than the current node comes online, or migrate to the node, which doesn't violate any colocation rule.
+
 `--group` `<string>` ::
 
 The HA group identifier.
@@ -351,6 +355,10 @@ A list of settings you want to delete.
 
 Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
 
+`--failback` `<boolean>` ('default =' `1`)::
+
+Automatically migrate service to the node with the highest priority according to their location rules, if a node with a higher priority than the current node comes online, or migrate to the node, which doesn't violate any colocation rule.
+
 `--group` `<string>` ::
 
 The HA group identifier.
diff --git a/ha-resources-opts.adoc b/ha-resources-opts.adoc
index 29a4479..6caebae 100644
--- a/ha-resources-opts.adoc
+++ b/ha-resources-opts.adoc
@@ -2,6 +2,10 @@
 
 Description.
 
+`failback`: `<boolean>` ('default =' `1`)::
+
+Automatically migrate service to the node with the highest priority according to their location rules, if a node with a higher priority than the current node comes online, or migrate to the node, which doesn't violate any colocation rule.
+
 `group`: `<string>` ::
 
 The HA group identifier.
-- 
2.39.5





More information about the pve-devel mailing list