From 857c83f8b9783c10c23907c35e66348c8ba8a549 Mon Sep 17 00:00:00 2001 From: "litingt@cn.ibm.com" Date: Fri, 4 Mar 2016 02:18:07 -0500 Subject: [PATCH] Support the new format 'file -> (noderange for permitted nodes) file' in synclist file for file syncing --- .../syncfile/syncfile_synclist_file.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/source/guides/admin-guides/manage_clusters/common/deployment/syncfile/syncfile_synclist_file.rst b/docs/source/guides/admin-guides/manage_clusters/common/deployment/syncfile/syncfile_synclist_file.rst index 22bc0e293..e3c13a2d4 100644 --- a/docs/source/guides/admin-guides/manage_clusters/common/deployment/syncfile/syncfile_synclist_file.rst +++ b/docs/source/guides/admin-guides/manage_clusters/common/deployment/syncfile/syncfile_synclist_file.rst @@ -89,6 +89,23 @@ If the above syncfile is performed by the **updatenode/xdcp** commands, or perfo /prog2/conf1(It has the same content with /tmp/prog2/conf1 on the MN) /prog2/conf2(It has the same content with /tmp/prog2/conf2 on the MN) + +Support nodes in synclist file +~~~~~~~~~~~~~~~~~ + +Note: From xCAT 2.9.2 on AIX and from xCAT 2.12 on Linux, xCAT support a new format for syncfile. The new format is :: + + file -> (noderange for permitted nodes) file + +The noderange would have several format. Following examples show that /etc/hosts file is synced to the nodes which is specifed before the file name :: + + /etc/hosts -> (node1,node2) /etc/hosts # The /etc/hosts file is synced to node1 and node2 + /etc/hosts -> (node1-node4) /etc/hosts # The /etc/hosts file is synced to node1,node2,node3 and node4 + /etc/hosts -> (node[1-4]) /etc/hosts # The /etc/hosts file is synced to node1, node2, node3 and node4 + /etc/hosts -> (node1,node[2-3],node4) /etc/hosts # The /etc/hosts file is synced to node1, node2, node3 and node4 + /etc/hosts -> (group1) /etc/hosts # The /etc/hosts file is synced to nodes in group1 + /etc/hosts -> (group1,group2) /etc/hosts # The /etc/hosts file is synced to nodes in group1 and group2 + postscript support ~~~~~~~~~~~~~~~~~~