614 Commits (b86493fff403ea3ce845d58a071ed97b5faede05)

Author SHA1 Message Date
Digimer fe7cdb18fb * Updated all methods to add (or fix) logging the method entry. 4 years ago
Digimer 911523dfce * Got a lot of work done in generating emails. Doesn't work yet, but the code to generate emails for recipients using their preferred language and alert level is done (though limited testing so far). 4 years ago
Digimer f8a466a963 * Fixed a bug in Striker->load_manifest where when a single fence device or UPS was defined, the XML would fail to parse. 4 years ago
Digimer 49682a01d7 * Fixed a bug in Database->disconnect() where the database idenitification number wasn't being removed, so connecting again triggered the duplicate DB connection check. 4 years ago
Digimer 767148b538 * Updated Database->get_mail_servers() to clear old stored data, and to pull out the list of when a mail server was last used. 4 years ago
Digimer 14bf323627 * Fixed an issue with ocf:alteeve:server where, after a migration, the target host would invoke the RA as if it was trying to migrate, instead of verifying the server (resource) was OK post migration. 4 years ago
Digimer 1498e1b53c * Got server migration working using ocf:alteeve:server in a test environment! 4 years ago
Digimer 47203490a9 * Working on getting live migration to work with ocf:anvil:striker using the environment variables that pacemaker sets. Incomplete, but getting close. 4 years ago
Digimer cc1e0e2f77 * Updated ocf:alteeve:server to properly report a server's status when a monitor action is called. 4 years ago
Digimer e35800c413 * Fixed up (though more testing/work needed) to ocf:alteeve:server to get it working with DRBD resources referenced using '/dev/drbd/by-res/...'. 4 years ago
Digimer 39b4a912af * Remember in the last commit how I said that DRBD->update_global_common() was done? Well that was cute, 'cause it was quite broken. Now it's working. 4 years ago
Digimer d647014ad1 * Created (finished but not yet tested) DRBD->update_global_common() to update DRBD's global_common.conf file. 4 years ago
Digimer ef208fd3fb * Finished the logic for adding stonith devices and levels to pacemaker! More testing is needed though, bugs expected, but it adds them. 4 years ago
Digimer c27cc7507f * Renamed striker-parse-fence-agents to anvil-parse-fence-agents and changed anvil-daemon to run it on all machines. 4 years ago
Digimer d2d5d7b460 * Fixed a bug in Striker->load_manifest() where fences were parsed twice, the second time missing a hash reference. 4 years ago
Digimer 1bf71f8428 * Updated Database->get_hosts() to run host_ipmi the Log->is_secure if the string contains 'passw'. 4 years ago
Digimer ef70f90ba4 * Updated Log->entry() to set the log file handle to UTF-8 when opened. 4 years ago
Digimer dcfdf1127c * Got more work done on System->configure_ipmi(). It should now configure the IP address, subnet mask and default gateway using information from the manifest and anvil-join-anvil data. 4 years ago
Digimer 1fa63d2ea3 * Added 'anvil_uuid' as a set parameter in Database->get_hosts(). 4 years ago
Digimer 99afd2e936 * Fixed a bug in Database->manage_anvil_conf() where initializing a host set the DB information with the wrong DB port and password. 4 years ago
Digimer 01974d7efe * Finished (though testing is needed) the updated ocf:alteeve:server resource agent. It now handles starting and stopping libvirtd and drbd daemons on-demand. 5 years ago
Digimer dcd1fd1492 * Created Cluster->check_node_status() that checks the status of a node (in pacemaker). 5 years ago
Digimer 62d0a2aa39 * Created Cluster->parse_cib() that parses pacemaker's CIB (cluster information base) XML. This also switches to the XML::LibXML, starting the replacement of XML::Simple. It's far from finished, but parses out basic node data and fence data. 5 years ago
Digimer 597d9413a5 * Created the skeleton Cluster.pm. 5 years ago
Digimer 16157f7697 * Finished System->update_hosts(). 5 years ago
Digimer de43ea3ac1 * 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
digimer 42c9099033 * 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
Digimer 76b6550ac6 * Created Database->get_ip_addresses() that pulls the IPs out and stores them in a hash that allows for easy referencing to associated interfaces and networks. 5 years ago
Digimer aa2fdfb609 * Fixed a bug in Database->get_anvils() that was clearing the manifests hash. 5 years ago
Digimer 453f5c6223 * Fixed a bug where $anvil->nice_exit() was being passed 'exit' instead of 'exit_code' as a parameter. 5 years ago
Digimer bd9e74a7b1 * Added missing packages to the RPM spec and the RPMs to provide on Striker. 5 years ago
Digimer b076463b5f * Fixed a bug in multiple System daemon control methods where the return_code wasn't being returned properly. 5 years ago
Digimer 9ab03e1f17 * Added a check to verify that connections to multiple databases are not, in fact, going to the same host. 5 years ago
Digimer 7d907c15ff * Created the new tools/striker-purge-host tool which purges all data about a host from the database. 5 years ago
Digimer 726a4374d1 * Renamed the database table 'host_keys' to 'ssh_keys' to better represent what it stores. 5 years ago
Digimer 530fb31478 * Updated Jobs->get_job_details() to use --job-uuid switch or, failing that, look for an incomplete on this host with the same command as the calling program. 5 years ago
Digimer 613a7f0c58 * Created the new anvil-join-anvil tool that will run on nodes and the DR host to pick up the job to join an Anvil! system. 5 years ago
Digimer 22e7e8b03e * Finished the "run manifest" form / page. Actually saving / pushing the job to nodes is not yet done though. 5 years ago
Digimer e99bfac9be * Created Database->get_anvils() and ->insert_or_update_anvils(). 5 years ago
Digimer c5c75f1ddf * Created Database->get_manifests() that loads manifests into a hash but UUID and name. 5 years ago
Digimer f0f949bcf0 * Created Striker->load_manifest() to load (and parse) install manifests. 5 years ago
Digimer 099bc1401a * Finished the menus to save a new Install Manifest and got the create page showing the existing manifests. 5 years ago
Digimer 23c17dbb98 * Renamed Network->match_gateway() to ->is_ip_in_network(), and changed the parameters 'gateway -> ip' and 'ip_address -> network'. This is to clarify it's use as a general purpose "does this IP fall in the given network range?". 5 years ago
Digimer e54aaad807 * Added MTU, NTP and DNS fields to install manifest step 2. 5 years ago
Digimer 7edfd0cb2d * Added gateway support to install manigest creation step 2. 5 years ago
Digimer 5835e49ef4 * Got the install manifest form step 1 sanity checks done. Got the form for step 2 done. 5 years ago
Digimer 1351889b4d * Continued work on creating Install Manifests. Got the frame of step 1 done. 5 years ago
Digimer e66bc32693 * Added the ability to store, edit and delete UPSes 5 years ago
Digimer 1edf723ea5 * Finished adding support for deleting fence agents. 5 years ago
Digimer f49f3cd890 * Created Database->get_fences() to load existing fence devices into memory. 5 years ago