Anvil-safe-stop

From Alteeve Wiki
Revision as of 02:55, 16 August 2024 by Digimer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 Alteeve Wiki :: Man Pages :: Anvil-safe-stop

NAME

anvil-safe-stop - This program safely stop a subnode in an Anvil! node, and DR hosts

SYNOPSIS

anvil-safe-stop <command> [options]

DESCRIPTION

This program will safely withdraw a subnode from an Anvil! node, and safely stops DR hosts. Optionally, it can also power off the machine.

OPTIONS

-?, -h, --help
Show this man page.
--log-secure
When logging, record sensitive data, like passwords.
-v, -vv, -vvv
Set the log level to 1, 2 or 3 respectively. Be aware that level 3 generates a significant amount of log data.

Commands:

--no-db
This tells this program to run without connecting to the Striker databases. This should only be used if the Strikers are not available (either they're off, or they've been updated and this host hasn't been, and can't use them until this host is also updated).
Note: This is generally only used by 'striker-update-cluster'.
--poweroff, --power-off
By default, the host will remain powered on when this program exits. Using this switch will have the host power off once the host is safely stopped.
--stop-reason <user, power, thermal>
Optionally used to set 'system::stop_reason' reason for this host. Valid values are 'user' (default), 'power' and 'thermal'. If set to 'user', ScanCore will not turn this host back on. If 'power', then ScanCore will reboot the host once the power under the host looks safe again. If thermal, then ScanCore will reboot the host once temperatures are back into safe levels.
--stop-servers
By default, on Anvil! sub-nodes, any servers running on this host will be migrated to the peer subnode. If the peer isn't available, this will refuse to stop. Using this switch will instead tell the system to stop all servers running on this host.
NOTE: On DR hosts, any running servers are always stopped.

AUTHOR

Written by Madison Kelly, Alteeve staff and the Anvil! project contributors.

REPORTING BUGS

Report bugs to users@clusterlabs.org

 

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Enterprise Support:
Alteeve Support
Community Support
© Alteeve's Niche! Inc. 1997-2024   Anvil! "Intelligent Availability®" Platform
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.