931 Commits (78b75c649a46898f438759d2c91944aba66730f2)

Author SHA1 Message Date
Digimer 76725e9160 * Fixed a bug in Database->insert_or_update_bonds() that caused unneeded UPDATE. 6 years ago
Digimer d600a635d4 * Made 'network_interface_bridge_uuid' allow NULL entries allow NULL entries. 6 years ago
Digimer 67c4f50bdc * Updated Database->insert_or_update_network_interfaces() to work like other similar methods. Also re-enabled NULL for 'network_interface_bond_uuid' as an empty string can't be used on a 'uuid' column type and it's not always set. 6 years ago
Digimer 870a2eb803 * Updated the SQL schema to convert all 'boolean' to 'integer' (using 0 for false). Also made all columns NOT NULL, given they should all always have an empty string. The logic behind this was to standardize the code and avoid bugs. 7 years ago
Digimer 39c06f364f * Got tools/anvil-configure-striker updating the system passwords now. 7 years ago
Digimer b0232c6180 * Made the sysfs directory references static. 7 years ago
Digimer d6c94e9d28 * Started working on Database->insert_or_update_bonds. 7 years ago
Digimer a6e50f15a9 * Updated System->get_ips() to determine which interface is the default gateway and set the gateway IP and active DNS servers. 7 years ago
Digimer 4e6f492c4f * Updated Log->variables to add dots when printing a variable/value pair per line so that variables line up vertically. 7 years ago
Digimer 2163739b93 * Created Storage->update_config that will update a variable in anvil.conf (locally or remotely). 7 years ago
Digimer 6f3537807a * Added Account->read_details to collect data on the given user name. 7 years ago
Digimer 59245a4f0b * Created Account->validate_password to test that a user name and password is valid. 7 years ago
Digimer 04cbec30a0 * Created Database->insert_or_update_users() to add/edit users. 7 years ago
Digimer d110bff224 * Created Account->encrypt_password() for creating encrypted hashes of passwords. Set the default algorithm to sha256, a ~16 byte random salt and 500,000 re-encryptions (which takes a total of about 0.7 seconds on an Intel i7-6820HQ CPU). 7 years ago
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