shc cluster repair
shc cluster repair
Section titled “shc cluster repair”repair cluster state
Synopsis
Section titled “Synopsis”Tidy cluster state by sweeping confirmed-dead nodes through the guarded removal funnel (the non-bypassable quorum floor still protects the cluster from a wedge).
With —force this becomes the DESTRUCTIVE unwedge: it rewrites raft membership to make this node the sole leader. Use it ONLY when quorum is lost and the other voters are truly dead.
shc cluster repair [flags]Options
Section titled “Options” --dry-run show what would be done without making changes --force DESTRUCTIVE quorum-loss recovery — rewrite raft membership to make this node sole leader -h, --help help for repair --remove-other-nodes with --force, also remove the other nodes from the cluster -v, --verbose show detailed repair actions -y, --yes skip confirmation promptOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win -d, --debug enable debug mode (default: $SHC_DEBUG) -e, --environment string environment name (default: $SHC_ENVIRONMENT) --exclude string comma-separated dotted paths to drop --fields string comma-separated columns/keys to show (and their order) --filter string comma-separated dotted paths to keep (drops everything else) -o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT) -s, --stack string stack name (default: $SHC_STACK) -t, --tenant string tenant name (default: $SHC_TENANT)SEE ALSO
Section titled “SEE ALSO”- shc cluster - manage cluster nodes and membership
shc@docs:~$