|
| Ganeti.HTools.Program.Hbal |
|
|
| Description |
| Cluster rebalancer.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| Options list and functions.
|
|
|
| :: Table | The starting table
| | -> Int | Remaining length
| | -> Bool | Allow disk moves
| | -> Bool | Allow instance moves
| | -> Int | Max node name len
| | -> Int | Max instance name len
| | -> [MoveJob] | Current command list
| | -> Bool | Whether to be silent
| | -> Score | Score at which to stop
| | -> Score | Min gain limit
| | -> Score | Min score gain
| | -> Bool | Enable evacuation mode
| | -> IO (Table, [MoveJob]) | The resulting table
and commands
| | Start computing the solution at the given depth and recurse until
we find a valid solution or we exceed the maximum depth.
|
|
|
| formatOneline :: Double -> Int -> Double -> String | Source |
|
| Formats the solution for the oneline display.
|
|
|
| Polls a set of jobs at a fixed interval until all are finished
one way or another.
|
|
|
| Check that a set of job statuses is all success.
|
|
|
| Wrapper over execJobSet checking for early termination.
|
|
|
| Execute an entire jobset.
|
|
| hangleSigInt :: IORef Int -> IO () | Source |
|
| Signal handler for graceful termination.
|
|
| hangleSigTerm :: IORef Int -> IO () | Source |
|
| Signal handler for immediate termination.
|
|
|
| Runs a job set with handling of signals.
|
|
|
| Main function.
|
|
| Produced by Haddock version 2.6.0 |