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
5d4f9eed
Commit
5d4f9eed
authored
15 years ago
by
Iustin Pop
Browse files
Options
Downloads
Patches
Plain Diff
Update hspace manpage with tiered allocation info
Also fixes some other small issues in man pages.
parent
76354e11
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hbal.1
+1
-1
1 addition, 1 deletion
hbal.1
hspace.1
+61
-6
61 additions, 6 deletions
hspace.1
with
62 additions
and
7 deletions
hbal.1
+
1
−
1
View file @
5d4f9eed
...
...
@@ -470,7 +470,7 @@ the algorithm fatally failed (e.g. wrong node or instance data).
If the variables \fBHTOOLS_NODES\fR and \fBHTOOLS_INSTANCES\fR are
present in the environment, they will override the default names for
the nodes and instances files. These will have of course no effect
when RAPI
is
used.
when
the
RAPI
or Luxi backends are
used.
.SH BUGS
...
...
This diff is collapsed.
Click to expand it.
hspace.1
+
61
−
6
View file @
5d4f9eed
...
...
@@ -15,12 +15,14 @@ hspace \- Cluster space analyzer for Ganeti
.TP
Backend options:
.BI "
[
-m " cluster
" ]"
.BI " -m " cluster
|
.BI "
[
-L[" path "]
]
"
.BI " -L[" path "]"
|
.BI "[ -n " nodes-file " ]"
.BI "[ -i " instances-file " ]"
.BI " -n " nodes-file
.BI " -i " instances-file
|
.BI " --simulate " spec
.TP
Algorithm options:
...
...
@@ -34,6 +36,7 @@ Request options:
.BI "[--disk " disk "]"
.BI "[--req-nodes " req-nodes "]"
.BI "[--vcpus " vcpus "]"
.BI "[--tiered-alloc " spec "]"
.SH DESCRIPTION
...
...
@@ -130,6 +133,17 @@ size that can be still created on the cluster.
.I INI_MNODE_DSK_AVAIL, FIN_MNODE_DSK_AVAIL
Like the above but for disk.
.TP
.I TSPEC
If the tiered allocation mode has been enabled, this parameter holds
the pairs of specifications and counts of instances that can be
created in this mode. The value of the key is a space-separated list
of values; each value is of the form \fImemory,disk,vcpu=count\fR
where the memory, disk and vcpu are the values for the current spec,
and count is how many instances of this spec can be created. A
complete value for this variable could be: \fB4096,102400,2=225
2560,102400,2=20 512,102400,2=21\fR.
.TP
.I ALLOC_USAGE
The current usage represented as initial number of instances divided
...
...
@@ -161,6 +175,12 @@ having value "1". If this key is not present in the output it means
that the computation failed and any values present should not be
relied upon.
.PP
If the tiered allocation mode is enabled, then many of the INI_/FIN_
metrics will be also displayed with a TRL_ prefix, and denote the
cluster status at the end of the tiered allocation run.
.SH OPTIONS
The options that can be passed to the program are as follows:
...
...
@@ -314,7 +334,7 @@ used by ganeti when installed with "--localstatedir=/var" is used.
.TP
.BI "--simulate " description
Instead of using actual data, build an empty cluster given a node
description. The \fIdescription\fR parameter must be a comma-separate
description. The \fIdescription\fR parameter must be a comma-separate
d
list of four elements, describing in order:
.RS
...
...
@@ -341,6 +361,41 @@ currently.
.RE
.TP
.BI "--tiered-alloc " spec
Beside the standard, fixed-size allocation, also do a tiered
allocation scheme where the algorithm starts from the given
specification and allocates until there is no more space; then it
decreases the specification and tries the allocation again. The
decrease is done on the matric that last failed during allocation. The
specification given is similar to the "--simulate" option and it
holds:
.RS
.RS
.TP
the disk size of the instance
.TP
the memory size of the instance
.TP
the vcpu count for the insance
.RE
An example description would be \fB10240,8192,2\fR describing an
initial starting specification of 10GiB of disk space, 4GiB of memory
and 2 VCPUs.
Also note that the normal allocation and the tiered allocation are
independent, and both start from the initial cluster state; as such,
the instance count for these two modes are not related one to another.
.RE
.TP
.B -v, --verbose
Increase the output verbosity. Each usage of this option will increase
...
...
@@ -378,7 +433,7 @@ taking into consideration the impact on future placements.
If the variables \fBHTOOLS_NODES\fR and \fBHTOOLS_INSTANCES\fR are
present in the environment, they will override the default names for
the nodes and instances files. These will have of course no effect
when RAPI
is
used.
when
the
RAPI
or Luxi backends are
used.
.SH SEE ALSO
.BR hbal "(1), " hscan "(1), " ganeti "(7), " gnt-instance "(8), "
...
...
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