Query: cmsync
OS: hpux
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cmsync(1m) cmsync(1m)NAMEcmsync - Synchronize files or directories on multiple Serviceguard nodes.SYNOPSIScmsync [-rv] [[-n node_name]...] [src_node:]src_file [...]DESCRIPTIONcmsync copies files and/or directories to multiple Serviceguard nodes. cmsync is limited in several ways. cmsync is best suited for situations where other remote copy facilities are not available. For a more full featured tool for copying files between Serviceguard nodes, see ccp(1m) provided by Distributed Systems Administration Utilities. To use this command, the local user must have the root access role on each of the involved nodes. For more information on Serviceguard access control policies, see the manual, Managing Serviceguard. To use the cmsync command without specifying -n options, the local node must be configured into a Serviceguard cluster. If no -n options are specified, the files will be copied to all available nodes in the cluster. Paths may be relative to the current working directory or specified absolutely. Copies between two remote hosts are permitted. If a file or directory already exists on a destination node, the destination node's copy will be overwritten with no prompting. The cmsync command is not suited for large files or large numbers of files and may result in a heavy load on the command and Serviceguard daemons. Other tools such as ccp should be considered for these purposes. Options And Arguments -r Recursively copy entire directories. -v Verbose output will be displayed. -n node_name Serviceguard node to copy file to. If no -n options are specified, default is to copy to all nodes within the configured clus- ter. src_node Serviceguard node to retrieve the file from. Defaults to the local node. src_file Path to source file on src_node.RETURN VALUEcmsync returns the following values: 0 Successful completion. 1 Command failed.EXAMPLESCopy the local file /etc/hosts to remote nodes node1 and node2 cmsync -n node1 -n node2 /etc/hosts Distribute the remote file /etc/passwd to all nodes in the cluster. cmsync node1:/etc/passwdAUTHORcmsync was developed by HP.SEE ALSOccp(1m), cmcp(1m), cmexec(1m), cmdo(1m), cmquerycl(1m), cmviewcl(1m) Requires Optional Serviceguard Software cmsync(1m)
Related Man Pages |
---|
cmcp(1m) - hpux |
cmdeleteconf(1m) - hpux |
cmexec(1m) - hpux |
cmrunpkg(1m) - hpux |
sgmgr(1m) - hpux |
Similar Topics in the Unix Linux Community |
---|
Managing nodes??? |
Copy a file to multiple hosts |
Copy Compress as one command |
Help with find and source directories |
Copy Specific Files Recursively |