281 Commits (0ca80d059946e97813fb2a626efd5a9dc3345eec)
 

Author SHA1 Message Date
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 527848de97 * Added logging to a plain file to aid in debugging. We will revert to journald logging before first release. 7 years ago
Digimer c21b326f1a * Changed all methods to take a 'debug' argument for setting log level on calls. 7 years ago
Digimer 2d65e55baa Merge branch 'master' of github.com:digimer/m3 7 years ago
Digimer 6f4df4ed22 * Changed 'database::X::ping_before_connect' to 'database::X::ping' and made the value be the actual timeout to wait for pings when trying to connect to a database. 7 years ago
Digimer 92a1e29082 * The new resource agent works! 7 years ago
Digimer 3b0659c5bf * Looks like the RA is done, though more testing is needed. 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 4e5dc9f1c2 * Started work on migration handling. 7 years ago
Digimer f2079da183 * The agent can now boot and stop a server. Migration is up next. 7 years ago
Digimer e755a708dd * The resource agent now properly checks (and starts, if needed) the DRBD resources under the server being asked to start. It probably needs optimization still, but the logic is in place. 7 years ago
Digimer 36c0d3b921 * Started parsing drbdsetup JSON data. 7 years ago
Digimer bb4b5b1778 * Got the RA to the point where it identifies the local DRBD devices and backing LVs. 7 years ago
Digimer fe65718811 * Finished validating optical media. 7 years ago
Digimer dd0bdec839 * Broke up the validation steps into their own functions. 7 years ago
Digimer 8aa2d28103 * Got the server start function to the point where all data that we need to sanity check is gathered. It already verifies that the emulator exists, that there is enough RAM and that the server's name matches the name we expect. 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 4dcaa524c5 * Made Get->switches take a bare word as a valid switch. 7 years ago
Digimer 14763136f2 * Added what will (might?) become the resource agent for managing Anvil!-hosted servers on m3. 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 806b452d10 Merge branch 'master' of github.com:digimer/m3 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 f72d8e0f70 * Added a version file and Tools->_anvil_version() which reports the version in it. 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 665f2217d9 * Added 'jobs' to the core tables list. 7 years ago
Digimer 5d78ca6624 * Finished (but still need to test) Database->insert_or_update_jobs(); 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 db8632ca1b * Fixed a couple problems with 'home' from the namespace update. 7 years ago