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
46f1a05789
* Got the code in scan-server to the point where it _should_ now gracefully and automatically detect changes to a server's definition originatin from the database (via Striker), directly editing the on-disk definition file, or editing via libvirt tools (like virt-manager). Still needs to be tested though.
...
* Updated Server->migrate_virsh() to set 'servers' -> 'server_state' to 'migrating' and clear it again once the migation completes. Also added support for cold (frozen) versus live migrations.
* Updated Cluster->parse_cib() to check if a server with the server_state set to 'migrating' isn't actually migrating anymore and, if not, to clear that state. This is needed as scan-server will blindly ignore/skip any migrating server, and if a migration call is interrupted, the state could get stuck.
* Updated the 'servers' database table (and associated Database methods) to add columns for;
** server_ram_in_use - tracking RAM used by a running server
** server_configured_ram - RAM allocated to a running server (used with the above to alert a user and track _currently_ available RAM)
** server_updated_by_user - To be set by Striker tools to indicate when the user made a change that needs to push out to nodes / running server.
** server_boot_time - Tracks the unixtime when the server booted (to track uptime even if the server migrates across nodes).
* Created Get->anvil_name_from_uuid() to easily convert an Anvil! UUID into a name. Also created ->host_uuid_from_name() to translate a host name into a host UUID.
* Created Server->get_runtime() that translates a server name into a process ID and then uses that to determine how long (in seconds) it has been running. This is used when a server transitions from 'shut off' to 'running' to determine exactly when the server booted (current time - runtime).
* Renamed all 'Server->parse_definition' calls that used 'from_memory' to 'from_virsh' to clarify the data source.
* Made scan-hardware smarter about RAM change alerts.
* Updated scancore to load agent strings on startup so that processing pending alerts works properly.
Signed-off-by: Digimer <digimer@alteeve.ca>
4 years ago
..
anvil-change-password
* Fixed a bug where $anvil->nice_exit() was being passed 'exit' instead of 'exit_code' as a parameter.
5 years ago
anvil-check-memory
* Fixed tools/anvil-update-states so that it properly removed ip_addresses no longer assigned to a host. Also merged 'network::interfaces::by_name::${interface}' with 'network::local::interface::${interface}' for storing discovered interfaces.'
5 years ago
anvil-configure-host
* Moved the '_host_name', '_short_host_name', and '_domain_name' private methods in Tools.pm over to Get.pm (removing the leading '_' in the method names).
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
* Created Cluster->get_anvil_uuid() that returns the 'anvil_uuid' of a given 'host_uuid'.
4 years ago
anvil-download-file
* Renamed all Validate->is_X to Validate->X. Also created Validate->ipv6() to validate IPv6 addresses using Data::Validate::IP (and added it as a requirement to the .spec base RPM).
5 years ago
anvil-file-details
* Created anvil-file-details that is (meant to be) called by anvil-file-details on a remote machine.
6 years ago
anvil-jobs
* Fixed a bug where $anvil->nice_exit() was being passed 'exit' instead of 'exit_code' as a parameter.
5 years ago
anvil-join-anvil
* Moved the '_host_name', '_short_host_name', and '_domain_name' private methods in Tools.pm over to Get.pm (removing the leading '_' in the method names).
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
* Moved the '_host_name', '_short_host_name', and '_domain_name' private methods in Tools.pm over to Get.pm (removing the leading '_' in the method names).
4 years ago
anvil-manage-firewall
* Moved the '_host_name', '_short_host_name', and '_domain_name' private methods in Tools.pm over to Get.pm (removing the leading '_' in the method names).
4 years ago
anvil-manage-keys
* Renamed the ScanCore unit file to scancore.
4 years ago
anvil-manage-power
* Fixed a bug in Job->clear() where it was not doing it's one job right.
5 years ago
anvil-parse-fence-agents
* Renamed striker-parse-fence-agents to anvil-parse-fence-agents and changed anvil-daemon to run it on all machines.
4 years ago
anvil-scan-network
* Improved infinite loop handling in Log->entry, but broke the Striker UI in the process. To be fixed next...
6 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
* Moved the '_host_name', '_short_host_name', and '_domain_name' private methods in Tools.pm over to Get.pm (removing the leading '_' in the method names).
4 years ago
anvil-update-system
* Fixed a bug where $anvil->nice_exit() was being passed 'exit' instead of 'exit_code' as a parameter.
5 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
* Got server migration working using ocf:alteeve:server in a test environment!
4 years ago
firewall.txt
* Added automatic 'echo return_code:$?' to System->call and Remote->call which is parsed out and returned automatically on all calls.
6 years ago
scancore
* Got the code in scan-server to the point where it _should_ now gracefully and automatically detect changes to a server's definition originatin from the database (via Striker), directly editing the on-disk definition file, or editing via libvirt tools (like virt-manager). Still needs to be tested though.
4 years ago
scancore.README
* Created Database->insert_or_update_recipients() (and did general cleanup of the database module).
5 years ago
striker-get-peer-data
* Renamed all Validate->is_X to Validate->X. Also created Validate->ipv6() to validate IPv6 addresses using Data::Validate::IP (and added it as a requirement to the .spec base RPM).
5 years ago
striker-initialize-host
* Moved the '_host_name', '_short_host_name', and '_domain_name' private methods in Tools.pm over to Get.pm (removing the leading '_' in the method names).
4 years ago
striker-manage-install-target
* Moved the '_host_name', '_short_host_name', and '_domain_name' private methods in Tools.pm over to Get.pm (removing the leading '_' in the method names).
4 years ago
striker-manage-peers
* Moved the '_host_name', '_short_host_name', and '_domain_name' private methods in Tools.pm over to Get.pm (removing the leading '_' in the method names).
4 years ago
striker-parse-oui
* OK, this time CentOS is actually supported. For reals.
5 years ago
striker-prep-database
* Fixed a bug where $anvil->nice_exit() was being passed 'exit' instead of 'exit_code' as a parameter.
5 years ago
striker-purge-host
* Fixed a bug where $anvil->nice_exit() was being passed 'exit' instead of 'exit_code' as a parameter.
5 years ago
striker-scan-network
* Renamed all Validate->is_X to Validate->X. Also created Validate->ipv6() to validate IPv6 addresses using Data::Validate::IP (and added it as a requirement to the .spec base RPM).
5 years ago
test.pl
* Got the code in scan-server to the point where it _should_ now gracefully and automatically detect changes to a server's definition originatin from the database (via Striker), directly editing the on-disk definition file, or editing via libvirt tools (like virt-manager). Still needs to be tested though.
4 years ago