ClusterPack Tutorial

% rcp host1:/etc/checklist checklist.1
% vi checklist.0 checklist.1
%
rcp checklist.0 host0:/etc/checklist
% rcp checklist.1 host1:/etc/checklist
3. The following is an example if log files are needed:
%
clcp %h:/usr/spool/mqueue/syslog %h/syslog.%Y%M%
D.%T
This would save the files in directories (which are the host names) with file
names of the form: YYMMDD.TT:TT. The above might map to:
%
rcp host0:/usr/spool/mqueue/syslog
host0/syslog.921013.14:43
% rcp host1:/usr/spool/mqueue/syslog
host1/syslog.921013.14:43
4. Like rcp, clcp can copy many files to the cluster. This is done by:
% clcp src1 src2 src3 %h:
or
%
clcp src1 src2 src3 cluster-group:
For more details on the usage of clcp, invoke the command:
% man clcp
Back to Top
3.1.7 cluptime - Works like ruptime, only for all the nodes in the cluster.
The cluptime program reports on the status (similar to uptime) of all the hosts in the cluster or
specified logical cluster.
cluptime is used as follows:
% cluptime [ [-C] cluster-group]
For more details on the usage of cluptime, invoke the command:
%
man cluptime