Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-ganeti
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
snf-ganeti
Commits
d1f5d461
Commit
d1f5d461
authored
15 years ago
by
Iustin Pop
Browse files
Options
Downloads
Patches
Plain Diff
Update hbal manpage with details about dynutil
parent
ee9724b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hbal.1
+33
-1
33 additions, 1 deletion
hbal.1
with
33 additions
and
1 deletion
hbal.1
+
33
−
1
View file @
d1f5d461
...
...
@@ -28,6 +28,7 @@ Algorithm options:
.BI "[ -e " score " ]"
.BI "[ -O " name... " ]"
.B "[ --no-disk-moves ]"
.BI "[ -U " util-file " ]"
.TP
Reporting options:
...
...
@@ -113,6 +114,10 @@ offline nodes
\(em
coefficent of variance of the ratio of virtual-to-physical cpus (for
primary instaces of the node)
.TP
\(em
coefficients of variance of the dynamic load on the nodes, for cpus,
memory, disk and network
.RE
The free memory and free disk values help ensure that all nodes are
...
...
@@ -142,6 +147,20 @@ instances away from offline nodes. This, coupled with the restriction
on placement given by offline nodes, will cause evacuation of such
nodes.
The dynamic load values need to be read from an external file (Ganeti
doesn't supply them), and are computed for each node as: sum of
primary instance cpu load, sum of primary instance memory load, sum of
primary and secondary instance disk load (as DRBD generates write load
on secondary nodes too in normal case and in degraded scenarios also
read load), and sum of primary instance network load. An example of
how to generate these values for input to hbal would be to track "xm
list" for instance over a day and by computing the delta of the cpu
values, and feed that via the \fI-U\fR option for all instances (and
keep the other metrics as zero). For the algorithm to work, all that
is needed is that the values are consistent for a metric across all
instances (e.g. all instances use cpu% to report cpu usage, but they
could represent network bandwith in Gbps).
On a perfectly balanced cluster (all nodes the same size, all
instances the same size and spread across the nodes equally), all
values would be zero. This doesn't happen too often in practice :)
...
...
@@ -337,11 +356,24 @@ empirically).
.TP
.BI "--no-disk-moves"
This parameter prevent hbal from using disk move (i.e. "gnt-instance
This parameter prevent
s
hbal from using disk move (i.e. "gnt-instance
replace-disks") operations. This will result in a much quicker
balancing, but of course the improvements are limited. It is up to the
user to decide when to use one or another.
.TP
.BI "-U" util-file
This parameter specifies a file holding instance dynamic utilisation
information that will be used to tweak the balancing algorithm to
equalise load on the nodes (as opposed to static resource usage). The
file is in the format "instance_name cpu_util mem_util disk_util
net_util" where the "_util" parameters are interpreted as numbers and
the instance name must match exactly the instance as read from
Ganeti. In case of unknown instance names, the program will abort.
If not given, the default values are zero for all metrics and thus
dynamic utilisation has no effect on the balancing algorithm.
.TP
.BI "-n" nodefile ", --nodes=" nodefile
The name of the file holding node information (if not collecting via
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment