20 |
20 |
desired, the cluster state as show by the \fB-p\fR option to the other
|
21 |
21 |
tools.
|
22 |
22 |
|
23 |
|
For each cluster, two files named \fIcluster\fB.instances\fR and
|
24 |
|
\fIcluster\fB.nodes\fR will be generated holding the instance and node
|
25 |
|
data. These files can then be used in \fBhbal\fR(1) or \fBhspace\fR(1)
|
26 |
|
via the \fB-i\fR and \fB-n\fR options. In case the cluster name
|
27 |
|
contains slashes (as it can happen when the cluster is a
|
|
23 |
For each cluster, one file named \fIcluster\fB.data\ will be generated
|
|
24 |
holding the node and instance data. This file can then be used in
|
|
25 |
\fBhbal\fR(1) or \fBhspace\fR(1) via the \fB-t\fR option. In case the
|
|
26 |
cluster name contains slashes (as it can happen when the cluster is a
|
28 |
27 |
fully-specified URL), these will be replaced with underscores.
|
29 |
28 |
|
30 |
29 |
The one\(hyline output for each cluster will show the following:
|
... | ... | |
58 |
57 |
Free disk space in the cluster
|
59 |
58 |
.TP
|
60 |
59 |
.B Score
|
61 |
|
The score of the cluster, as would be reported by \fBhscan\fR(1) if
|
|
60 |
The score of the cluster, as would be reported by \fBhbal\fR(1) if
|
62 |
61 |
run on the generated data files.
|
63 |
62 |
|
64 |
63 |
.RE
|
... | ... | |
100 |
99 |
The program does not check its input data for consistency, and aborts
|
101 |
100 |
with cryptic errors messages in this case.
|
102 |
101 |
|
103 |
|
The RAPI collection doesn't deal with non\(hy\fBdrbd\fR instances, and
|
104 |
|
chokes on input data which has such instances.
|
105 |
|
|
106 |
102 |
.SH EXAMPLE
|
107 |
103 |
|
108 |
104 |
.in +4n
|
... | ... | |
110 |
106 |
.RB "$ " "hscan cluster1"
|
111 |
107 |
Name Nodes Inst BNode BInst t_mem f_mem t_disk f_disk Score
|
112 |
108 |
cluster1 2 2 0 0 1008 652 255 253 0.24404762
|
113 |
|
.RB "$ " "ls -l cluster1.*"
|
114 |
|
\-rw\-r\-\-r\-\- 1 root root 163 2009\-03\-23 07:26 cluster1.instances
|
115 |
|
\-rw\-r\-\-r\-\- 1 root root 90 2009\-03\-23 07:26 cluster1.nodes
|
|
109 |
.RB "$ " "ls -l cluster1.data"
|
|
110 |
\-rw\-r\-\-r\-\- 1 root root 364 2009\-03\-23 07:26 cluster1.data
|
116 |
111 |
.fi
|
117 |
112 |
.in
|
118 |
113 |
|