anvil/tools
Digimer 44864ce321 * Updated Database->resync_databases() to set a default schema of 'public'. Also fixed a bug where, when the difference in record numbers between two line was > 999, it would not trigger a resync.
* Updated the scan agent timeout to 60 seconds. Also made the scan agent exit code log entries more helpful.
* Updated System->collect_ipmi_data() to now better handle duplicate sensor names. Now, instead of simply appending an integer, we find the hex address and use that in the sensor name when duplicates exist. This solves the problem of the sensor names not being consistently shown in order.
* Fixed message bugs (bad variable insertions) in scan-apc-pdu and scan-apc-ups.
* Fixed schema procedure bugs in the 'temperature' and 'ip_address' tables where the columns were in bad order, causing constanty updates.

Incomplete work;
* Create the shell of 'anvil-manage-storage', but virtually no logic exists in it yet.
* Started work on anvil-safe-start to deal with an issue where DRBD resources don't start when a server is running on a peer.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-05-13 23:27:38 -04:00
..
anvil-boot-server * Finished anvil-migrate-server and anvil-safe-start! Lots of testing still needed for both though, and 'anvil-safe-start' does run as a job yet, but the logic is all there. 2021-04-19 00:32:13 -04:00
anvil-change-password * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-check-memory * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-configure-host * Bumped logging for striker-auto-initialize-all debugging. 2021-03-22 15:22:46 -04:00
anvil-cycle-vm-nics * Updated System->check_firewall to use firewall-cmd and the contents of iptables-save is not available/reliable under RHEL8. 2019-01-23 19:54:01 -05:00
anvil-daemon * Updated Convert->time() to silently return if the given time was '--'. 2021-05-04 12:33:31 -04:00
anvil-delete-server * To address issues with scancore debugging, we needed a tool to purge old anvils and hosts from the database. The 'test.pl' in this commit contains the new logic that will be merged into tools/striker-purge-host shortly. 2021-05-08 02:02:46 -04:00
anvil-download-file * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-file-details * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-join-anvil * Got anvil-safe-start to the point where is starts the cluster stack. Need to create the 'anvil-boot-server' and 'anvil-shutdown-server' before it can be completed, so those files have been added. 2021-04-14 00:26:06 -04:00
anvil-maintenance-mode * Improved infinite loop handling in Log->entry, but broke the Striker UI in the process. To be fixed next... 2019-01-18 03:19:36 -05:00
anvil-manage-files * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-manage-firewall * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-manage-keys * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-manage-power * THe get_cpu endpoint was completed. 2021-04-09 20:51:29 -04:00
anvil-manage-storage * Updated Database->resync_databases() to set a default schema of 'public'. Also fixed a bug where, when the difference in record numbers between two line was > 999, it would not trigger a resync. 2021-05-13 23:27:38 -04:00
anvil-migrate-server * Made good progress on anvil-safe-stop. It will now stop or migrate servers (testing needed). 2021-04-23 00:04:20 -04:00
anvil-parse-fence-agents * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-provision-server * To address issues with scancore debugging, we needed a tool to purge old anvils and hosts from the database. The 'test.pl' in this commit contains the new logic that will be merged into tools/striker-purge-host shortly. 2021-05-08 02:02:46 -04:00
anvil-rename-server * Finished anvil-rename-server! 2021-04-22 13:29:50 -04:00
anvil-safe-start * Updated Database->resync_databases() to set a default schema of 'public'. Also fixed a bug where, when the difference in record numbers between two line was > 999, it would not trigger a resync. 2021-05-13 23:27:38 -04:00
anvil-safe-stop * To address issues with scancore debugging, we needed a tool to purge old anvils and hosts from the database. The 'test.pl' in this commit contains the new logic that will be merged into tools/striker-purge-host shortly. 2021-05-08 02:02:46 -04:00
anvil-scan-network * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-shutdown-server * Finished anvil-migrate-server and anvil-safe-start! Lots of testing still needed for both though, and 'anvil-safe-start' does run as a job yet, but the logic is all there. 2021-04-19 00:32:13 -04:00
anvil-sync-shared * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
anvil-update-issue * Updated kickstart to write the basic tools/anvil-update-issue to a freshly installed machine and run it from cron. 2019-09-24 23:35:31 -04:00
anvil-update-states * Updated Database->resync_databases() to set a default schema of 'public'. Also fixed a bug where, when the difference in record numbers between two line was > 999, it would not trigger a resync. 2021-05-13 23:27:38 -04:00
anvil-update-system * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
fence_delay * Added 'fence_delay' fence agent to handle the corner cases where an IPMI BMC had crashed until a power cycle, and PDU fencing was effected, but failed to report as such. 2020-07-30 00:23:47 -04:00
fence_pacemaker * Created Cluster->delete_server(), which deletes a server resource from pacemaker (stopping it first, if needed). 2021-01-25 01:00:55 -05:00
Makefile.am * Updated Database->resync_databases() to set a default schema of 'public'. Also fixed a bug where, when the difference in record numbers between two line was > 999, it would not trigger a resync. 2021-05-13 23:27:38 -04:00
scancore * Updated Convert->time() to silently return if the given time was '--'. 2021-05-04 12:33:31 -04:00
striker-auto-initialize-all * Bumped logging for striker-auto-initialize-all debugging. 2021-03-22 15:22:46 -04:00
striker-auto-initialize-all.example * Added a check to Database->get_ip_addresses() to check is a hash is set before using it, to help avoid unitialized variable messages. 2021-03-10 20:35:05 -05:00
striker-boot-machine * Created tools/striker-boot-machine to, well, boot machines. It uses host_ipmi or, failing that, other fence methods when available to boot a node. 2021-05-01 19:49:27 -04:00
striker-get-peer-data * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
striker-initialize-host * Fixed a bug that caused striker-initialize-host to not compile / run. 2021-04-01 11:35:44 -04:00
striker-manage-install-target Update to kmod-drbd91 2021-04-28 06:17:15 +02:00
striker-manage-peers * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
striker-parse-os-list * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
striker-parse-oui * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
striker-prep-database * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
striker-purge-target * Renamed tools/striker-purge-host to tools/striker-purge-target and moved the code from test.pl over to it. No longer provides interactive selection, but now does work with Anvil! systems as well as hosts. 2021-05-11 14:14:00 -04:00
striker-scan-network * Cleaned up a lot of logging in anvil-daemon and tools it calls. 2021-02-08 13:39:34 -05:00
watch_drbd * Added a really simple DRBD monitoring tool to the repo, will likely remove later. 2020-12-06 22:56:53 -05:00