]> git.proxmox.com Git - pve-docs.git/blobdiff - ha-manager.adoc
ha-manager.adoc: add example resource config.
[pve-docs.git] / ha-manager.adoc
index d8489cb232652a4e2e0c04c30c8b3162749e4852..66c3b24c109de7e755a0680eb71fda7c5e055958 100644 (file)
@@ -296,7 +296,7 @@ the list of resources managed by `ha-manager`. A resource configuration
 inside that list look like this:
 
 ----
-<type>:<name>
+<type>: <name>
        <property> <value>
        ...
 ----
@@ -309,6 +309,19 @@ properties:
 
 include::ha-resources-opts.adoc[]
 
+Here is a real world example with one VM and one container. As you see,
+the syntax of those files is really simple, so it is even posiible to
+read or edit those files using your favorite editor:
+
+----
+vm: 501
+    state started
+    max_relocate 2
+
+ct: 102
+    # use default settings for everything
+----
+
 
 Groups
 ~~~~~~