HP 1032 ClusterPack V2.4 Tutorial - Page 133

cluptime - Works like ruptime, only for all the nodes in the cluster.

Page 133 highlights

Make necessary changes. % clcp checklist.%c %h:/etc/checklist which maps to: % rcp host0:/etc/checklist checklist.0 % 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.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173

Make necessary changes.
%
clcp checklist.%c %h:/etc/checklist
which maps to:
%
rcp host0:/etc/checklist checklist.0
%
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.