]> git.proxmox.com Git - pve-docs.git/commitdiff
ha-manager.adoc: add example resource config.
authorDietmar Maurer <dietmar@proxmox.com>
Sun, 20 Nov 2016 14:34:32 +0000 (15:34 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sun, 20 Nov 2016 14:34:32 +0000 (15:34 +0100)
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
 ~~~~~~