Local modifications to ClusterLabs/Anvil by Alteeve
Go to file
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>
2021-04-09 20:51:29 -04:00
Anvil * THe get_cpu endpoint was completed. 2021-04-09 20:51:29 -04:00
cgi-bin * THe get_cpu endpoint was completed. 2021-04-09 20:51:29 -04:00
html * 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. 2021-02-16 17:32:43 -05:00
journald.conf.d [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
m4 [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
make [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
man [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
ocf [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
pxe [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
scancore-agents * THe get_cpu endpoint was completed. 2021-04-09 20:51:29 -04:00
scripts * 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. 2021-02-16 17:32:43 -05:00
share * THe get_cpu endpoint was completed. 2021-04-09 20:51:29 -04:00
tools * THe get_cpu endpoint was completed. 2021-04-09 20:51:29 -04:00
units [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
.gitignore [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
anvil.conf * Support for OS type selection was missing in tools/anvil-provision-server, this commit adds support for this, as well as some infrastructure to support it. This includes a new 'sys::servers::os_short_list' variable that contains a CSV of main OSes to show in a "short" list (the full list is massive). This variable can be set by the user in anvil.conf. Also added job progress calls that were missing through the storage config. 2021-01-16 03:30:51 -05:00
anvil.spec.in anvil-daemon: fix Requires: 2021-03-14 05:15:55 +01:00
anvil.version.in [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
autogen.sh [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
configure.ac [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
Makefile.am [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
notes * THe get_cpu endpoint was completed. 2021-04-09 20:51:29 -04:00
README.md * Created Job->running() to return '1' when one or more jobs are in progress on the host. 2019-01-31 23:26:55 -05:00
scancore.README * Created Cluster->delete_server(), which deletes a server resource from pacemaker (stopping it first, if needed). 2021-01-25 01:00:55 -05:00
watch_logs ** Major Changes ** 2017-10-20 00:19:32 -04:00

This will be the repository for the third generation of the Anvil! Intelligent Availability™ platform.

Major components;

  • The "ScanCore" decision engine and scan agents.
  • The "Striker" Web interface
  • Tools for Striker dashboards, Anvil! nodes and DR targets

This project is being designed for RHEL 8, Pacemaker 2, DRBD v9, Corosync 3 and Kronosnet 1.