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.
--dry-run asks what either form would do and changes nothing. The forced form answers the node it would seat and the members it would drop, or the refusal the recovery would give.
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 -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: "prod", or "default" on an estate with no licence and no trial; $SHC_ENVIRONMENT and shc ctx -e override it, and the "master" tenant is always "default") --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:~$