NAME
cfmsync - Signals the nodes in the cluster to update their files and or
packages/components.
SYNTAX
cfmsync [-h|-v| -f -p -u -n node_group]
DESCRIPTION
The cfmsync is part of the Cluster File Management (CFM) which the
administrator uses to signal the cluster to update. The cfmsync tool
signals provisioned nodes in the cluster to update configuration files
and or the packages/components. The tool is run from the primary
installer to signal the nodes to update. This allows administrators to
make configuration changes and then schedule the cluster update at a
quiet time. The tool can update a nodegroup, or the entire cluster at
a time. The tool operates in two modes: File updates, and Package
updates.
In File update mode the CFM reads the configuration files under
/etc/cfm and compresses and encrypts them and places them in
/opt/tortuga/cfm. The files in this driectory are retreived by the cfm-
client and installed in the appropriate location on the nodes.
In Package update mode the CFM reads the list of optional packages and
components from the database and builds a list of packages and compo-
nents the nodegroups should have installed. The list is retreived by
the cfmclient, which uses it to add new packages and components and
remove deleted ones.
The cfmsync command works in conjunction with cfmclient and cfmd to
update the files and packages. The cfmd listens for the broadcast mes-
sages from the cfmsync program, and starts cfmclient with the appropri-
ate arguments.
NOTE: The CFM will not remove files that have been distributed to a
nodegroup. To remove them use pdsh.
OPTIONS
-f, --files
Signal that the configuration files should be updated.
-p, --packages
Signal that the packages/components should be updated.
-u, --repoupdate
Signal the node to update all packages it has installed with the
newer ones from the repository.
-n , --nodegroup= If this option is provided it will signal all nodes in this
nodegroup that they should update files if the -f option was
used, and or should updat einstalled packages/components if the
-p option was provided. If this option is not provided then all
nodes in the cluster will be signaled to update.
-h, --help
Output help information and exit.
-v, --version
Output version information and exit.
lijiang 于 2011-06-02 21:21:28发表:
[i=s] 本帖最后由 lijiang 于 2011-6-2 21:27 编辑 [/i]
, --nodegroup=
cfmsync(8) Tortuga Base cfmsync(8)
NAME
cfmsync - Signals the nodes in the cluster to update their files and or
packages/components.
SYNTAX
cfmsync [-h|-v| -f -p -u -n node_group]
DESCRIPTION
The cfmsync is part of the Cluster File Management (CFM) which the
administrator uses to signal the cluster to update. The cfmsync tool
signals provisioned nodes in the cluster to update configuration files
and or the packages/components. The tool is run from the primary
installer to signal the nodes to update. This allows administrators to
make configuration changes and then schedule the cluster update at a
quiet time. The tool can update a nodegroup, or the entire cluster at
a time. The tool operates in two modes: File updates, and Package
updates.
In File update mode the CFM reads the configuration files under
/etc/cfm and compresses and encrypts them and places them in
/opt/tortuga/cfm. The files in this driectory are retreived by the cfm-
client and installed in the appropriate location on the nodes.
In Package update mode the CFM reads the list of optional packages and
components from the database and builds a list of packages and compo-
nents the nodegroups should have installed. The list is retreived by
the cfmclient, which uses it to add new packages and components and
remove deleted ones.
The cfmsync command works in conjunction with cfmclient and cfmd to
update the files and packages. The cfmd listens for the broadcast mes-
sages from the cfmsync program, and starts cfmclient with the appropri-
ate arguments.
NOTE: The CFM will not remove files that have been distributed to a
nodegroup. To remove them use pdsh.
OPTIONS
-f, --files
Signal that the configuration files should be updated.
-p, --packages
Signal that the packages/components should be updated.
-u, --repoupdate
Signal the node to update all packages it has installed with the
newer ones from the repository.
-n
If this option is provided it will signal all nodes in this
nodegroup that they should update files if the -f option was
used, and or should updat einstalled packages/components if the
-p option was provided. If this option is not provided then all
nodes in the cluster will be signaled to update.
-h, --help
Output help information and exit.
-v, --version
Output version information and exit.
FILES
/etc/cfm/* /opt/tortuga/cfm/* /opt/tortuga/etc/packages.lst
EXAMPLES
Updating everything
cfmsync -p -f -u
Updating currently installed ones with the newer ones in the repository
cfmsync -u
Updating the configuration files on nodegroup compute-diskless-test
cfmsync -f -n compute-diskless-test
Update the packages/components installed on nodegroup compute-disk-
less-test
cfmsync -p -n compute-diskless-test
AUTHORS
Mark Black
SEE ALSO
ngedit(8) cfmd(8) cfmclient(8)
Mark Black 5.0.0 cfmsync(8)