49 Commits (fe7cdb18fb0c4eac66e069edfc62db3a2a212c3e)

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 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 aad68b8ed0 * Got email reconfiguration when a mail queue is over ten minutes old (needs testing). 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 b2c7fd95fb * Renamed the ScanCore unit file to scancore. 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 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 61f4dcc41f * Updated Cluster->parse_cib() to pull out fencing (stonith) devices and levels. 4 years ago
Digimer 3c2f25a860 * 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
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 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 453f5c6223 * Fixed a bug where $anvil->nice_exit() was being passed 'exit' instead of 'exit_code' as a parameter. 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 0dbb07dfb7 * Fixed a bug where fence option values with double-quotes where not being stored correctly. 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 e54aaad807 * Added MTU, NTP and DNS fields to install manifest step 2. 5 years ago
Digimer e66bc32693 * Added the ability to store, edit and delete UPSes 5 years ago
Digimer b8c0577b54 * Fixed several issues with the fence configuration menu in striker. 5 years ago
Digimer 818ef23634 * Moved the fences_unified_metadata file from /tmp, which apache can not read, to /var/www/html/. 5 years ago
Digimer 4cf9d6215c * Removed the table host_mail_servers. 5 years ago
Digimer 9e16cdf504 * Created Validate->is_email() to validate email addresses, using Mail::RFC822::Address. 5 years ago
Digimer c3869a2ff6 * Started adding in front-end support for managing email servers and alert recipients. Added the new 'Email' module to (later) habdle all email-related tasks. 5 years ago
Digimer 974d3c3411 * Fixed the order or table creations in anvil.sql (as well as fixed a missing comma) 5 years ago
Digimer c34f56f2c8 * Disabled firewalld for now. 5 years ago
Digimer a16e86dc7c * Finished tools/anvil-configure-host! More notably, it can now update the network without a reboot, and it cleanly handles losing and reconnecting to dashboards. 5 years ago
Digimer 6d81e03fb2 * Created Network->match_gateway() to check if a gateway applies to a given network. 5 years ago
Digimer 530d379f59 * Started work on caching network state change in tools/anvil-update-states. 5 years ago
Digimer 90f5bf49d5 * Updated Network->load_interfces() to only assign a 'changed_order' to real interfaces. 5 years ago
Digimer 0dfd2ddbf0 * Renamed 'ip' to 'ip_address' in Striker->parse_all_status_json() and related functions. 5 years ago
Digimer 0b2439edc3 * Finished the jquery/css stuff for showing the list of hosts that can have their network configured. 5 years ago
Digimer c608ebb232 * Added bonds -> bond_bridge_uuid to track which bridge, if any, that a bond is connected to. Updated Network->load_interfces() to record this. 5 years ago
Digimer 0cf13b6387 * Worked out more of the logic in test.pl for displaying the JSON data. 5 years ago
Digimer 82bc25c78d * Adding the test.pl script. Even though it doesn't relate to the program, it's used to sort out logic and the code should be committed, until mainline development is done. 5 years ago