Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cmcp(1m) [hpux man page]

cmcp(1m)																  cmcp(1m)

NAME
cmcp - Copy files between Serviceguard nodes SYNOPSIS
cmcp [-rv] [src_node:]src_file [...] [dest_node:]dest_file DESCRIPTION
cmcp copies files and/or directories between Serviceguard nodes. cmcp is limited in several ways. cmcp 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. Paths may be relative to the current working directory or specified absolutely. The current working directory on a remote node is assumed to be the same as the local node's directory. Copies between two remote hosts are permitted. If a file or directory already exists on the destination node, the destination node's copy will be overwritten with no prompting. The cmcp 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. src_node Serviceguard node to retrieve the file from. Defaults to the local node. src_file Path to source file on src_node. dest_node Serviceguard node to copy file to. Defaults to the local node. dest_file Path to copy src_file to on the dest_node. RETURN VALUE
cmcp returns the following values: 0 Successful completion. 1 Command failed. EXAMPLES
Copy the local file /etc/hosts to remote node node1 cmcp /etc/hosts node1:/etc/hosts Copy the remote file /etc/passwd on node1 locally cmcp node1:/etc/passwd /tmp/passwd.poe Copy a local script directory to a remote node cmcp -r /etc/cmcluster/scripts node1:/etc/cmcluster AUTHOR
cmcp was developed by HP. SEE ALSO
rcp(1), scp(1), ccp(1m), cmsync(1m), cmexec(1m), cmdo(1m), cmquerycl(1m), cmviewcl(1m) Requires Optional Serviceguard Software cmcp(1m)

Check Out this Related Man Page

cmrunnode(1m)															     cmrunnode(1m)

NAME
cmrunnode - run a node in a high availability cluster SYNOPSIS
cmrunnode [-v] [node_name...] [-t | -w none] DESCRIPTION
cmrunnode causes a node to start its cluster daemon to join the existing cluster. This command verifies the network configuration before causing the node to start its cluster daemon. To start a cluster on one of its nodes, a user must either be superuser(UID=0), or have an access policy of FULL_ADMIN allowed in the clus- ter configuration file. See access policy in cmquerycl(1m). Starting a node will not cause any active packages to be moved to the new node. However, if a package is DOWN, has its switching enabled, and is able to run on the new node, that package will automatically run there. If node_name is not specified, the cluster daemon will be started on the local node and will join the existing cluster. Options cmrunnode supports the following options: -v Verbose output will be displayed. -t Test only. Provide an assessment of the package placement without affecting the current state of the nodes or packages. The -w option is not required with the -t option as -t does not validate network connectivity, but assumes that all the nodes can meet any external dependencies such as EMS resources, package subnets, and storage. node_name... Start the cluster daemon on the specified node(s). -w none By default network probing is performed to check that the network connectivity is the same as when the cluster was configured. Any anomalies are reported before the cluster daemons are started. The -w none option disables this probing. The option should only be used if this network configuration is known to be correct from a recent check. RETURN VALUE
cmrunnode returns the following value: 0 Successful completion. 1 Command failed. EXAMPLES
Run the cluster daemon on the current node: cmrunnode Run the cluster daemons on node1 and node2: cmrunnode node1 node2 AUTHOR
cmrunnode was developed by HP. SEE ALSO
cmquerycl(1m), cmhaltcl(1m), cmhaltnode(1m), cmruncl(1m), cmviewcl(1m), cmeval(1m). Requires Optional Serviceguard Software cmrunnode(1m)
Man Page