145 Commits (a3143ce1723c3cc0a132ed16468b4c2a02d19962)

Author SHA1 Message Date
Digimer 3fd0db15bf * This rather heavily reworks how database shutdowns works. It adds much more intelligent shutdown, tracking who is using the database, being able to mark a database as "offline" and waiting for users of the database to disconnect before it shuts down. 3 years ago
Digimer 763821a21d Fixed a variable substitution bug. 3 years ago
Digimer dc989f0950 Added more logging to track when and how reboots happen in systems. 3 years ago
Digimer 831abd1981 Updated Striker to allow the DR host to not have an IP assisned. 3 years ago
Digimer a633ab7f63 Added a periodic check to ensure all users can ping. This fixes a bug where a local striker dashboard whose DB was stopped wouldn't work. 3 years ago
Digimer 3811b9b2da Minor update to make the fence device name marked as a mandatory field. 3 years ago
Digimer 32f29861a4 * Fixed a bug (maybe) that was causing users to get immediately logged out of the WebUI 3 years ago
Digimer 80bdac8e34 * Updated the pacemaker server config to drop the stop timeout to 5 minutes and the migration timeout to 10 minutes. This will avoid blocking the entire cluster when a stop or migrate operation times out. Will update scan-server to clean these up when they happen. 3 years ago
Digimer daca6c887b * This contains a fairly major change to how time stamps are handled. All INSERT and UPDATE calls now generate a new timestamp via Database->refresh_timestamp, instead of using 'sys::database::timestamp'. This was done in responce to finding a bug where tables in a database differed in both counts of public and private schemas (ip_addresses table, specifically) that failed to resync because the timestamps were re-used too often. 3 years ago
Digimer e15c1651ed * Fixed a bug with deleting bad keys where jobs to delete keys on non-dashboard machine wasn't being assigned to the proper target machine. 3 years ago
Digimer 41cd1e0319 * Several bugs fixed and enhancements; 3 years ago
Digimer fc0954d0c8 * Started work on, but not at all finished, anvil-manage-server which will allow manipulation of a server's resources. 4 years ago
Digimer 798518ba5e * While working on the boot/shutdown server tools, ran into and fixed a bug where files uploaded before an Anvil! was added could not have those files sync'ed. This was fixed though the new Database->check_file_locations() method. 4 years ago
Digimer 0fb191c00f * Made more progress on tools/striker-auto-initialize-all, now to the point where it loads the variables needed to initialize Striker dashboard. 4 years ago
Digimer 68ea6da1d3 * Finished the web interface components of the Anvil! File Manager! Files can be purged, sync'ed or removed from specific Anvil! systems, renamed and their file types changed (and setting/removing the executable bits) as needed. 4 years ago
Digimer 6da2b3b17b * Got more work done on file management. A file name is now clickable and that loads a menu to rename, change the file type, purge (delete from everywhere) and select which Anvil! systems the file belongs on. Got the code done to purge a file, but it's not tested yet. 4 years ago
Digimer ea84ba68eb * Fixed a bug in tools/anvil-update-states that was causing deleted interfaces to update the network_interfaces every pass, growing the DB excessively. 4 years ago
Digimer 713f77bc78 * Finally finished scan-apc-ups! Proved way harder than anticipated... (over a solid week of work!) In M3, this agent is no longer host-bound, and the UPSes to scan based on entries in 'upses' using this scan agent. 4 years ago
Digimer 0f7267eae1 * 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
Digimer 925664762a * Created Database->check_for_schema() (not finished) that will check/add a schema for a scan agent. 4 years ago
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 82acb4e104 * Fixed a resync bug where bridges needed to sync before bonds 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 1498e1b53c * Got server migration working using ocf:alteeve:server in a test environment! 4 years ago
Madison Kelly 30f2b3fa8e * Switched all hash 'local' keys to be the host's short user name. Untested, likely bugs to be fixed in the next commit. 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 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. 4 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). 4 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). 4 years ago
Digimer 453f5c6223 * Fixed a bug where $anvil->nice_exit() was being passed 'exit' instead of 'exit_code' as a parameter. 4 years ago
Digimer 726a4374d1 * Renamed the database table 'host_keys' to 'ssh_keys' to better represent what it stores. 4 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. 4 years ago
Digimer 22e7e8b03e * Finished the "run manifest" form / page. Actually saving / pushing the job to nodes is not yet done though. 4 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 0dbb07dfb7 * Fixed a bug where fence option values with double-quotes where not being stored correctly. 5 years ago
Digimer 1e8982704e * Finished the ability to load an install manifest to edit it. 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 97bcab86d6 * Got the new Striker->generate_manifest() generating the manifest XML. 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
Digimer 1f17c9dcfe * Fixed a bug with the 'Back' button when going back from the fence configuration confirmation screen. 5 years ago