HCHECK(1)

πŸ“¦
version 3.1.0~rc2 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute

hcheck(1) πŸ’– the cluster checker bestie

okay so you found the manual for hcheck, version 3.1.0~rc2, and honestly? she's an icon, she's a legend, and she's about to tell you everything about your cluster's health. no cap. 🩺✨


✨ NAME ✨

hcheck β€” Cluster checker 🌸


✨ SYNOPSIS ✨

hcheck {backend options...} [algorithm options...]  [reporting
options...]

hcheck --version

Backend options:

{ -m cluster | -L[ path ] |-t** data-file | -I path }

Algorithm options:

[ --no-simulation ] [ --max-cpu *cpu-ratio* ] [ --min-disk *disk-ratio*
] [ -l *limit* ] [ -e *score* ] [ -g *delta* ] [ --min-gain-limit
*threshold* ] [ -O *name...* ] [ --no-disk-moves ] [ --no-instance-moves
] [ -U *util-file* ] [ --ignore-dynu ] [ --ignore-soft-errors ] [
--evac-mode ] [ --select-instances *inst...* ] [ --exclude-instances
*inst...* ] [ --no-capacity-checks ]

Reporting options:

[--machine-readable[=*CHOICE*] ] [ -p[ *fields* ] ] [ --print-instances
] [ -v...  | -q ]

like, look at all those options. she has range. πŸ’…


✨ DESCRIPTION ✨

hcheck is the cluster checker. she prints out info about your cluster's health and checks whether a rebalance done with hbal would actually help. she's basically the friend who looks at your situation and goes "bestie… we need to talk." 😭

this info can be shown in both human-readable and machine-readable ways. choose your vibe. 🌈

important: she does not take any action. she only performs a rebalance simulation if necessary. she's all talk, no touch. 🫢

for more deets about the algorithm details, go check hbal(1). iykyk. πŸ“–

additionally, hcheck also checks if the cluster is globally N+1 redundant. that means: for every node, it checks if β€” after failing over the DRBD instances β€” all instances on that node that with disks externally stored can be restarted on some other node. yes, that sentence is a lot. read it twice. she's thorough. πŸ’€


✨ OPTIONS ✨

  • --no-simulation β€” only perform checks based on the current cluster state, without trying to simulate rebalancing. no daydreaming, just facts. πŸŽ€
  • --no-capacity-checks β€” do not check for global N+1 redundancy, i.e., do not warn if the shared-storage instances of one node cannot be moved to the others should that node fail. turning this off is a choice and we respect it (kind of). πŸ™ˆ

for a detailed description about the options listed above, have a look at htools(1), hspace(1) and hbal(1). they're the extended universe. 🌌


✨ REPORTING BUGS ✨

found a bug? 😭 report it to the project's issue tracker, or contact the developers using the Ganeti mailing list. they don't bite. 🫢


✨ SEE ALSO ✨

Ganeti overview and specifications:

Ganeti commands:

Ganeti daemons:

Ganeti htools:


Copyright (C) 2006-2015 Google Inc. All rights reserved.

redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

and that's the whole page bestie πŸ’– this one came from the Ganeti source, version 3.1.0~rc2 of hcheck(1) β€” go forth and check those clusters, you absolute legend πŸ‘‘βœ¨πŸ¦‹

πŸ“¦ where this page comes from