Skip to contentSkip to conversation

Domain Groups: group configuration file example

PATCH In review Chris 1 participant 1 message Feb 20, 2007

lore
Share & tools
lore

Chris

author
#0 lore raw

PATCH 8/8 Domain Groups: group configuration file example

This patch provides an example group configuration file that can used by xm to populate a group.

tools/examples/Makefile +1 -0
diff -r ecb6cd61a9cf tools/examples/Makefile
@@ -14,6 +14,7 @@ XEN_CONFIGS += xmexample2
 XEN_CONFIGS += xmexample2
 XEN_CONFIGS += xmexample.hvm
 XEN_CONFIGS += xmexample.vti
+XEN_CONFIGS += xmexample.grp
 XEN_CONFIGS += xend-pci-quirks.sxp
 XEN_CONFIGS += xend-pci-permissive.sxp
 
tools/examples/xmexample.grp new file +21 -0
diff -r ecb6cd61a9cf tools/examples/xmexample.grp
@@ -0,0 +1,21 @@
+################################################################################
+#
+# Defines a group of domains
+#
+################################################################################
+# grp_name must be unique (within the scope of a xend instance)
+#
+# member_list contains names and paths to configuration files for each
+# member of the domain group  
+# 
+# Note: The domain name in member_list must match the 'name' attribute in the 
+# corresponding VM configuration file.
+################################################################################
+
+(grp_name "TestGroup")
+
+(member_list
+       ('fc5-1:/etc/xen/vmconfig-1'
+        'fc5-2:/etc/xen/vmconfig-2'
+        'fc5-3:/etc/xen/vmconfig-3')
+)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel