Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Digimer
fb0836f912
* THe get_cpu endpoint was completed.
...
* The get_mmeory endpoint was completed.
* The get_replicated_storage endpoint was completed, though it requires testing and likely has issues.
To prepare for the get_status endpoint work, I needed to update ScanCore and modules to track the host_status. This commit contains the work needed for this.
* Updated ScanCore->post_scan_analysis_striker() to use configured fence devices (except PDUs) to check if a target host is off or on, in there is no host_ipmi interface. In all cases, if a machine can be confirmed on or off, the host_status is now updated.
* To support the above fence based power checks, updated scan-cluster to store the on-disk CIB in the new scan_cluster -> scan_cluster_cib colume.
* Updated ScanCore->parse_cib() to map stonith primitive IDs to fence agents. Updated ->parse_crm_mon() to not call if the executable doesn't exist to avoid unhelpful error messages in the logs when called from a Striker.
* Update DRBD->gather_data() to get the size data from /sys/block/drbd<minor>/size' x '/sys/block/drbd<minor>/queue/logical_block_size so it works when a device is Secondary (and can't be promoted).
* Updated Database->get_hosts_info() to record the short host name as well as the stored host name. Created ->update_host_status() as a wrapper to ->insert_or_update_hosts() that only updates the host status.
* Updated anvil-join-anvil to disabled ksm and ksmtuned daemons.
* Updated scancore and anvil-daemon to set the host_status to 'online' on startup.
Signed-off-by: Digimer <digimer@alteeve.ca>
4 years ago
..
Makefile.am
build: move striker-auto-initialize-all to proper location
4 years ago
anvil-change-password
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-check-memory
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-configure-host
* Bumped logging for striker-auto-initialize-all debugging.
4 years ago
anvil-cycle-vm-nics
* Updated System->check_firewall to use firewall-cmd and the contents of iptables-save is not available/reliable under RHEL8.
6 years ago
anvil-daemon
* THe get_cpu endpoint was completed.
4 years ago
anvil-delete-server
* Updated DRBD->delete_resource() to return a success if asked to delete a non-existent resource (as can happen when partial anvil-delete-server runs are re-run).
4 years ago
anvil-download-file
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-file-details
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-join-anvil
* THe get_cpu endpoint was completed.
4 years ago
anvil-maintenance-mode
* Improved infinite loop handling in Log->entry, but broke the Striker UI in the process. To be fixed next...
6 years ago
anvil-manage-files
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-manage-firewall
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-manage-keys
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-manage-power
* THe get_cpu endpoint was completed.
4 years ago
anvil-migrate-server
* Updated Tools->_anvil_version() and Get->anvil_version() to now pick up a SchemaVersion from anvil.sql. This will change only when the schema changes and is used when Database->connect() is checking compatibility with other anvil database hosts. This will make it only break connection when there is a reason to do so. The anvil_version still remains as an informational version that will help when supporting users later.
4 years ago
anvil-parse-fence-agents
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-provision-server
* THe get_cpu endpoint was completed.
4 years ago
anvil-scan-network
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-sync-shared
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
anvil-update-issue
* Updated kickstart to write the basic tools/anvil-update-issue to a freshly installed machine and run it from cron.
5 years ago
anvil-update-states
Merge branch 'master' into anvil-daemon-debugging
4 years ago
anvil-update-system
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
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.
4 years ago
fence_pacemaker
* Created Cluster->delete_server(), which deletes a server resource from pacemaker (stopping it first, if needed).
4 years ago
scancore
* THe get_cpu endpoint was completed.
4 years ago
striker-auto-initialize-all
* Bumped logging for striker-auto-initialize-all debugging.
4 years ago
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.
4 years ago
striker-get-peer-data
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
striker-initialize-host
* Fixed a bug that caused striker-initialize-host to not compile / run.
4 years ago
striker-manage-install-target
* The work on PXE / UEFI support is broken, and will be set aside for the time being. The commit here is working to getting things fixed, but it's taking too much time away from more pressing issues.
4 years ago
striker-manage-peers
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
striker-parse-os-list
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
striker-parse-oui
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
striker-prep-database
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
striker-purge-host
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
striker-scan-network
* Cleaned up a lot of logging in anvil-daemon and tools it calls.
4 years ago
watch_drbd
* Added a really simple DRBD monitoring tool to the repo, will likely remove later.
4 years ago