1069 Commits (7925a3f42c5fa56dd87624bafd4866332885b039)

Author SHA1 Message Date
Digimer 9a37f66468 * Decided to abandon using apache security and to integrate it into Striker itself. This will allow for layers of access, easier account sync'ing, etc. Further, there is no proper way to handle logging out on apache, and they use md5 * 1000 iterations (with a salt, to be fair) for security... Not exactly the strongest. 7 years ago
Digimer de333704b5 * Created System->change_apache_password() to update (and enable) Striker's apache user. For now, it simply enables it in httpd.conf, it doesn't actually set/update the password. 7 years ago
Digimer b8bb781c5e * Added the new tools/anvil-cycle-vm-nics, which is the updated version for m2's cycle-vm-nics.pl. 7 years ago
Digimer 5f06752167 * Finished updating tools/anvil-prep-database to inject the new, local database entry into anvil.conf. This tool works again. 7 years ago
Digimer a89fb24adf * Changed the Storage->copy() 'target' parameter to 'target_file' to avoid confusion with the often-used 'target' parameter for connecting to remote machines. 7 years ago
Digimer eafd4fd3f7 * Fixed a couple bugs to get System->change_shell_user_password() working. 7 years ago
Digimer b42d4a6fea * Tested that the new remote Storage->read_file() works and removed some test code. 7 years ago
Digimer 188cab5ec0 * Fixed a few bugs with how rsync is handled, specifically in the rsync wrapper script. 7 years ago
Digimer ea43896fca * Created the new Remote module, and in it, moved System->remote_call to Remote->call() and created the new add_target_to_known_hosts() method (and two private helper methods). These are adapted from the m2 code. 7 years ago
Digimer a294c6c4fa * Updated the database components to use the name 'anvil' and the user 'admin'. The 'database::user' and 'database::name' variables are still supported, but now hidden. 7 years ago
Digimer e4f7bcf661 * Created Storage->backup() that makes a backup of the given file under the Anvil! backup directory with a time-stamped suffix and preserving the original directory path. 7 years ago
Digimer c88cbf4531 * Got tools/anvil-configure-network writing the first network config file body. 7 years ago
Digimer d6846841a2 * Added the 'job_status' column to the 'jobs' table where progress to be shown to users is stored. 7 years ago
Digimer d86750ba01 * Created System->hostname() to get and optionally set the hostname (static and pretty). 7 years ago
Digimer 217dfaedc7 * Created System->pids() to read in all process data and, optionally, return an array reference of PIDs matching a string (program name). 7 years ago
Digimer b53f688048 * Got tools/anvil-configure-network to the point where it loads the job details. 7 years ago
Digimer 7694847160 * Fixed a bug in Database->insert_or_update_jobs(). 7 years ago
Digimer e38bc826dd * Fixed a bug in resync_databases where undefined column values weren't being handled properly. 7 years ago
Digimer 0370d6acef * Fixed a bug in the network_interfaces SQL procedure that broke how data was recorded in the history schema. 7 years ago
Digimer c21b326f1a * Changed all methods to take a 'debug' argument for setting log level on calls. 7 years ago
Digimer f52d8196f6 * Migration is now sort of working. There is still an issue to sort out with enabling drbd dual-primary, but server can move is some cases now. 7 years ago
Digimer 81534cddbc * Moved ocf:alteeve:server along... It now can properly check and report the server's status on a monitor call. 7 years ago
Digimer 636cef0564 * Barring some testing, the fence_pacemaker fence handler is done. 7 years ago
Digimer 6405483fea * Added a check to fence_pacemaker that exits with 7 if the target node is already out of the pacemaker cluster. 7 years ago
Digimer 26f956e429 * Much more work done on the fence handler. How able to sanity check most of the pacemaker side of things and have the framing done for sanity checking DRBD. 7 years ago
Digimer ced92139b1 * Added the new (and still very much in progress) 'fence_pacemaker' fence handler for power-fencing via DRBD. 7 years ago
Digimer fe4a1d5a1c * Working on timing for DB connections. 7 years ago
Digimer 2170c00add * Added the 'debug' parameter to System->check_alert_sent. Also updated it to use 'alert_sent_uuid'. 7 years ago
Digimer 4e30f2024c * Changed tabs to white-spaces in the SQL source to make copy/pasting easier. 7 years ago
Digimer f1bd4b99ca * Fixed more issues with anvil-prep-database. 7 years ago
Digimer d864bd6dac * Moved words.xml to /usr/share/anvil/ 7 years ago
Digimer d03213b860 * Fixed some string and path issues from the 'anvil' merger. 7 years ago
Digimer 5976e7ea32 * Adding a new Database->insert_or_update_jobs() method and associated database tables. 7 years ago
Digimer 9648e8ba43 * Create tools/anvil-jobs and units/anvil-jobs.service, which is a new daemon that will handle jobs that can take some time to finish. 7 years ago
Digimer bb48c090a7 * Created Get->md5sum() to return the md5sum of the specified file. 7 years ago
Digimer 8e5e5b07d3 * Moved the buffer disable up the script. 7 years ago
Digimer 9e4414613b * Added a check to exit if no DBs were available in tools/anvil-update-states. 7 years ago
Digimer 1c3b3c2c9e * Fixed a bug in calling ethtool in tools/anvil-update-states and added conditionals to reading the data files. 7 years ago
Digimer 2b9c6c26dc * Fixed a couple remaining issues from the recent merger. Specifically, '$$anvil' was fixed from a bad regex and the path/names of our tools were fixed. 7 years ago
Digimer 1cb42080c3 ** Major Changes ** 7 years ago
Digimer eed06bdb22 * Created a dedicated loop for processes that need to run each time tools/scancore-daemon loops. 7 years ago
Digimer 886331c756 * Created the new System->get_ips method which records IP addresses, subnet masks and MAC addresses of interfaces as reported by 'ip addr'. 7 years ago
Digimer 3d385a5731 * Updated the configuration step 2 to properly show interface link changes again (had to add the network status XML generator back), and added displaying the 'up order', which tells the order that interfaces last cycles. This allows a user to unplug and plug the network cables in without watching the screen and be able to determine which interfaces cycled in a given order. This makes it easier to map MAC addresses to desired roles. 7 years ago
Digimer fa11459543 * Updated Log->entry to use the new Log::Journald method, which improved writing to log speed at high log levels dramatically (ie: 33 seconds -> 1 seconds). 7 years ago
Digimer 1e7fe44c23 * Updated Get->host_uuid to record the UUID to a cache file when run with root privs, but read from the cache when an unpriv user. 7 years ago
Digimer 96670756ab * Created Database->insert_or_update_network_interfaces to handle pushing data into update_network_interfaces. 7 years ago
Digimer 13352bad6d * Moved most of 'scancore-database' into the new Database->configure_pgsql() method. I had renamed that script, but now it will be removed soon. 8 years ago
Digimer edf85511f4 * Did more work on Tools.t tests. 8 years ago
Digimer 648af130cd * Finished scancore-database. It now setups/repairs postgresql database config, user and scancore database. 8 years ago
Digimer 632f677f04 * Added two new modules; Convert.pm for converting data types and Database.pm for managing all things related to databases. 8 years ago