mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Merge pull request #773 from tingtli/defect740
Support the new format 'file -> (noderange for permitted nodes) file' in synclist file for file syncing
This commit is contained in:
commit
0322e5332a
@ -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
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user