* Updated DRBD->get_status() to take the new 'host' paramter to allow the caller to define the hash key string used in the stored data. * Updated Get->anvil_version() (and a few other places) to use the new 'striker-ui-api' shell user, replacing the 'apache' user. * Updated Remote->test_access() to take the new 'close' parameter to close the SSH session used when testing access to the target. * Fixed a logging bug in anvil-manage-power. * Updated anvil-update-system to take the '--no-reboot' and 'clear-cache' command line switches. Signed-off-by: digimer <mkelly@alteeve.ca>main
parent
d56b7f9a84
commit
3016fb875b
16 changed files with 1217 additions and 346 deletions
@ -0,0 +1,45 @@ |
||||
.\" Manpage for the Anvil! power management tool |
||||
.\" Contact mkelly@alteeve.com to report issues, concerns or suggestions. |
||||
.TH anvil-manage-power "8" "July 11 2023" "Anvil! Intelligent Availability™ Platform" |
||||
.SH NAME |
||||
anvil-manage-power \- This program can power off, reboot, or set a flag indicating one of these actions are required. |
||||
.SH SYNOPSIS |
||||
.B anvil-manage-power |
||||
\fI\,<command> \/\fR[\fI\,options\/\fR] |
||||
.SH DESCRIPTION |
||||
This program can mark a machine as needing to be powered off or rebooted, or perform those actions directly or as a job. |
||||
.TP |
||||
\-?, \-h, \fB\-\-help\fR |
||||
Show this man page. |
||||
.TP |
||||
\fB\-\-log-secure\fR |
||||
When logging, record sensitive data, like passwords. |
||||
.TP |
||||
\-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. |
||||
.SS "Commands:" |
||||
.TP |
||||
\fB\-\-no-wait\fR |
||||
.TP |
||||
Normally, this program will not reboot a machine until the uptime is over five minutes. This is done to provide a chance for someone to log in and disable anvil-daemon in the case of a reboot loop. This switch prevents waiting for that 5 minute delay. |
||||
.TP |
||||
\fB\-\-poweroff\fR, \fB\-\-power\-off\fR |
||||
.TP |
||||
This powers off the host. |
||||
.TP |
||||
\fB\-\-reboot\fR |
||||
.TP |
||||
This reboots the host. |
||||
.TP |
||||
\fB\-\-reboot\-needed\fR [0,1] |
||||
.TP |
||||
This sets (1) or clears (0) the 'reboot needed' flag for the host system. |
||||
.TP |
||||
\fB\-\-y\fR, \fB\-\-yes\fR |
||||
.TP |
||||
If passed, requests to reboot or power off won't ask for confirmation. |
||||
.IP |
||||
.SH AUTHOR |
||||
Written by Madison Kelly, Alteeve staff and the Anvil! project contributors. |
||||
.SH "REPORTING BUGS" |
||||
Report bugs to users@clusterlabs.org |
@ -0,0 +1,39 @@ |
||||
.\" Manpage for the Anvil! cluster update tool. |
||||
.\" Contact mkelly@alteeve.com to report issues, concerns or suggestions. |
||||
.TH anvil-update-system "8" "July 14 2023" "Anvil! Intelligent Availability™ Platform" |
||||
.SH NAME |
||||
anvil-update-system \- This program updates the local operting system |
||||
.SH SYNOPSIS |
||||
.B anvil-update-system |
||||
\fI\,<command> \/\fR[\fI\,options\/\fR] |
||||
.SH DESCRIPTION |
||||
This program updates the local operating system. If the kernel is updated, a reboot will be performed. |
||||
.TP |
||||
.B Note: |
||||
.TP |
||||
If the host is an Anvil! subnode, the subnode will be removed from the Anvil! node (and servers migrated off, or, shut down if the peer subnode is offline). |
||||
.TP |
||||
.SH OPTIONS |
||||
.TP |
||||
\-?, \-h, \fB\-\-help\fR |
||||
Show this man page. |
||||
.TP |
||||
\fB\-\-log-secure\fR |
||||
When logging, record sensitive data, like passwords. |
||||
.TP |
||||
\-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. |
||||
.SS "Commands:" |
||||
.TP |
||||
\fB\-\-clear\-cache\fR |
||||
.TP |
||||
This will force the dnf cache to be cleared before the OS update is started. This slows the update down a bit, but ensures the latest updates are installed. |
||||
.TP |
||||
\fB\-\-no\-reboot\fR |
||||
.TP |
||||
If the kernel is updated, the system will normally be rebooted. This switch prevents the reboot from occuring. |
||||
.IP |
||||
.SH AUTHOR |
||||
Written by Madison Kelly, Alteeve staff and the Anvil! project contributors. |
||||
.SH "REPORTING BUGS" |
||||
Report bugs to users@clusterlabs.org |
@ -0,0 +1,53 @@ |
||||
.\" Manpage for the Anvil! cluster update tool. |
||||
.\" Contact mkelly@alteeve.com to report issues, concerns or suggestions. |
||||
.TH striker-update-cluster "8" "July 11 2023" "Anvil! Intelligent Availability™ Platform" |
||||
.SH NAME |
||||
striker-update-cluster \- This program updates all physical machines in an Anvil! cluster |
||||
.SH SYNOPSIS |
||||
.B striker-update-cluster |
||||
\fI\,<command> \/\fR[\fI\,options\/\fR] |
||||
.SH DESCRIPTION |
||||
This program sequentially updates Striker dashboards, DR hosts and Anvil! nodes (the paired sub-nodes). It does this without needing to take hosted servers offline. |
||||
.TP |
||||
.B Note: |
||||
.TP |
||||
This program requires all machines be online, and Anvil! nodes being paired and sync'ed. When nodes are updated, the inactive subnode will be removed from the node, updated, rebooted if necessary, and then rejoined to the node. Then hosted servers will migrate to the now-updated subnode, and the process repeated for the other subnode. Anvil! nodes are updated sequentially, so the process can take some time to complete, but should not require a maintenance window. |
||||
.TP |
||||
The upgrade process will live-migrate all hosted servers! If any hosted server is either under heavy load, or the replication link (the BCN or MN) is relatively lower bandwidth, this could cause performance concerns. As such, it's ideal to run the upgrades at a time less sensitive to performance impacts. |
||||
.TP |
||||
.SH OPTIONS |
||||
.TP |
||||
\-?, \-h, \fB\-\-help\fR |
||||
Show this man page. |
||||
.TP |
||||
\fB\-\-log-secure\fR |
||||
When logging, record sensitive data, like passwords. |
||||
.TP |
||||
\-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. |
||||
.SS "Commands:" |
||||
.TP |
||||
\fB\-\-clear\-cache\fR |
||||
.TP |
||||
This will force the dnf cache to be cleared before the OS update is started. This slows the update down a bit, but ensures the latest updates are installed. |
||||
.TP |
||||
\fB\-\-force\fR |
||||
.TP |
||||
If any Striker dashboards or DR hosts are unavailable, or if an entire node (paired subnodes) is offline, this switch will allow you to force the upgrade attempt. |
||||
.TP |
||||
\fB\-y\fR, \fB\-\-yes\fR |
||||
.TP |
||||
Automatically continue with the upgrade without prompting for confirmation. |
||||
.TP |
||||
\fB\-\-no\-reboot\fR |
||||
.TP |
||||
If the kernel is updated on a remote system, the system will normally be rebooted. This switch prevents the reboot from occuring. |
||||
.TP |
||||
\fB\-\-reboot\-self\fR |
||||
.TP |
||||
By default, if the local system needs to be updated, a message is printed but the local system is NOT rebooted. This switch will instead cause this host to reboot at the end of the cluster update. |
||||
.IP |
||||
.SH AUTHOR |
||||
Written by Madison Kelly, Alteeve staff and the Anvil! project contributors. |
||||
.SH "REPORTING BUGS" |
||||
Report bugs to users@clusterlabs.org |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue