Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

cget -- slurping files from the nodes

News  C3 Tools Recommended Links Unix Configuration Management Tools Options Examples C3 Environment variables
c3.conf cpush cexec cget crm    
rdist rsync   Tips History Humor Etc

cget is a utility that retrieves the given file from each node and places them in the the specified directory. Since all files will originally have the same name, an underscore and the cluster name, another underscore, and the node's IP or hostname is appended to each filename. Note that cget ignores subdirectories and links.

Usage: cget [OPTIONS] [MACHINE DEFINITIONS] source [target]

--help -h
:display help message

 

--file -f <filename>
:alternate cluster configuration file if one is not supplied then /etc/c3.conf will be used

 

-i
:interactive mode, ask once before executing

 

--head
:execute command on head node does not execute on compute nodes if specified

 

--all
:execute command on all nodes in all clusters that are accessible. When specifying --head only the head nodes will participate. This ignores the [MACHINE_DEFINITIONS] section.