Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
The Tor Project
TPA
Wiki Replica
Commits
b287aae4
Unverified
Commit
b287aae4
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
oops, rebalancing is automatic, nevermind
parent
1573c6c8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsa/howto/ganeti.mdwn
+10
-4
10 additions, 4 deletions
tsa/howto/ganeti.mdwn
with
10 additions
and
4 deletions
tsa/howto/ganeti.mdwn
+
10
−
4
View file @
b287aae4
...
...
@@ -174,15 +174,21 @@ session, and takes over 15 minutes to complete right now, but depends
on the size of the cluster (in terms of core memory usage).
Once the reboot is completed, all instances might end up on a single
machine, and the cluster might need to be rebalanced, see below.
machine, and the cluster might need to be rebalanced. This is
automatically scheduled by the `ganeti-reboot-cluster` script and will
be done within 30 minutes of the reboot.
## Rebalancing a cluster
After a reboot or a downtime, all nodes might end up on the same
machine. This can be easily corrected with this command, which will
spread instances around the cluster to balance it:
machine. This is normally handled by the reboot script, but it might
be desirable to do this by hand if there was a crash or another
special condition.
hbal -L -X
This can be easily corrected with this command, which will spread
instances around the cluster to balance it:
hbal -L -C -v -X
This will automatically move the instances around and rebalance the
cluster. Here's an example run on a small cluster:
...
...
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