Anvil-shutdown-server: Difference between revisions
Jump to navigation
Jump to search
Line 35: | Line 35: | ||
: This is the name of the server to shut down. Optionally, this can be 'all' to shut down all servers on this host. | : This is the name of the server to shut down. Optionally, this can be 'all' to shut down all servers on this host. | ||
; '''--server-uuid''' <uuid> | ; '''--server-uuid''' <uuid> | ||
: This is the server UUID of the server to shut down. | : This is the server UUID of the server to shut down. | ||
:; '''Note:''' | |||
::This can not be used with '''--no-db'''. | |||
; '''--wait''' | ; '''--wait''' | ||
: This tells the program to wait for the server(s) to stop before returning. By default, when ''''--server all'''' is used,, the shutdown will NOT wait. This makes the shutdowns sequential. | : This tells the program to wait for the server(s) to stop before returning. By default, when ''''--server all'''' is used,, the shutdown will NOT wait. This makes the shutdowns sequential. |
Latest revision as of 01:55, 2 November 2024
Alteeve Wiki :: Man Pages :: Anvil-shutdown-server |
NAME
anvil-shutdown-server - This program shuts down servers hosted on the Anvil! cluster.
SYNOPSIS
anvil-shutdown-server <command> [options]
DESCRIPTION
This program shuts down a server that is running on an Anvil! node or DR host. It can optionally stop all servers.
- -?, -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:
- --confirm
- When not running as a job, you will be asked to confirm the shutdown. Using this switch tells the shutdown to proceed without asking first.
- --immediate
- This causes the server to be forced off, equivalent to pulling the power cord out of a traditional server. This doesn't work with '--server all', a specific server must be specified.
- --no-db
- This tells the program to run without connecting to any databases. This is used mainly when the host is being taken down as part of a cluster-wise upgrade.
- --no-wait
- This tells the program to call the shut down, but not wait for the server to actually stop. By default, when shutting down one specific server, this program will wait for the server to be off before it returns.
- Note:
- Any server that has to boot before another will not shut down until those servers are stopped. This is the reverse order of the boot up sequence. For example, if server B boots after C has started, C will not shut down until B is off. The 'no-wait' still applies once the request to shut down is sent, however. See 'anvil-manage-server's man page for boot order details.
- --server {<name>,all}
- This is the name of the server to shut down. Optionally, this can be 'all' to shut down all servers on this host.
- --server-uuid <uuid>
- This is the server UUID of the server to shut down.
- Note:
- This can not be used with --no-db.
- --wait
- This tells the program to wait for the server(s) to stop before returning. By default, when '--server all' is used,, the shutdown will NOT wait. This makes the shutdowns sequential.
- Note: When --immediate is used, --wait is ignored.
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! | Alteeve Enterprise Support | Community Support | |
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025 | |||
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. |