103 Commits (997c501d6a88a3780812149d988addc58b622e04)

Author SHA1 Message Date
Digimer 14bf323627 * Fixed an issue with ocf:alteeve:server where, after a migration, the target host would invoke the RA as if it was trying to migrate, instead of verifying the server (resource) was OK post migration. 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 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 cc1e0e2f77 * Updated ocf:alteeve:server to properly report a server's status when a monitor action is called. 4 years ago
Digimer 6eeb4e48c7 * Added 'timeout' and 'wfc-timeout' to drbd'd global-common.conf in DRBD->update_global_common(). 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 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. 4 years ago
Digimer dcd1fd1492 * Created Cluster->check_node_status() that checks the status of a node (in pacemaker). 4 years ago
Digimer 726a4374d1 * Renamed the database table 'host_keys' to 'ssh_keys' to better represent what it stores. 4 years ago
Digimer 934c9b1286 * Updated logging to now log anything with 'priority' set to a new 'anvil.alert.log' file (while still also logging as normal to anvil.log). This should make it easier to watch for alert messages. 5 years ago
Digimer 7cdd2f60e9 * Created Network->download() to handle downloading a file on the local system. Created ->bridge_info() to parse 'bridge' output. Created ->load_ips() to load IP address information from the database (as opposed to ->get_ips() which queries a system). 5 years ago
Digimer 3a86bed694 * Fixed tools/striker-initialize-host so that it set the hostname on the target, not locally. 5 years ago
Digimer bc341809ca * Finished (for now) ocf:alteeve:server! It can boot, migrate and stop a server cleanly. It still checks to see if DRBD needs to be started and does so when needed, but it won't stop it anymore. 5 years ago
Digimer 8a2c86d088 * Renamed striker-configure-host (back) to anvil-configure-host, and started updating it to work on any machine type. 5 years ago
Digimer c0dd34334e * Fixed another bug in making ocf:alteeve:server work in pacemaker. 5 years ago
Digimer ed2e83a1a4 * Fixed a few more bugs in 'ocf:alteeve:anvil', but it's still failing when invoked by pacemaker. 5 years ago
Digimer f5caec52dc * Made DRBD->allow_two_primaries() smarter about finding the 'target_node_id' when it wasn't passed. 5 years ago
Digimer 113a44ecc6 * Got 'migrate_to' working in ocf:alteeve:server. 'migrate_from' still needs work. 5 years ago
Digimer 7db542b9b0 * Fixed a bug where definition files that used '<source file='X'/>' instead of '<source dev='X'/>' for the backing block device for disks. 5 years ago
Digimer 873ed3e2b0 * Fixed some typo bugs. 5 years ago
Digimer dff74102db * Create (but not yet tested) Server->shutdown() to, well, shutdown servers. 5 years ago
Digimer d224be9344 * Created DRBD->manage_resource() that allows for up/down/primary/secondary'ing a resource on a local or remote system. 5 years ago
Digimer b1ddf945e2 * Got ocf:alteeve:server working again to boot servers. It's now smarter, knowing when the server is running locally already (success), running on the other node (hard error) and running on DR (fatal error). 5 years ago
Digimer 324ef351fe * Updated DRBD->get_devices() to properly identify the peer node, when run on an actual node in the cluster (not DR or Striker). 5 years ago
Digimer 16f79ca244 * Created System->get_bridges() that gets a list of bridges (and connected interfaces, and data). Also created ->get_free_memory() that returns the amount of available RAM. 5 years ago
Digimer 4a93682447 * Started rebuilding ocf:alteeve:server using the new module methods. 5 years ago
Digimer 7a7e3db0c1 * Created DRBD->get_devices() that finds and maps the /dev/drbdX devices to their resources and backing LVs. 5 years ago
Digimer 312c949648 * Actually added the new Anvil::Tools::DRBD module, as well as a new ::Server module that will handle anything related to the virtual servers. 5 years ago
Digimer 0f873c45b5 * Created the new Anvil::Tools::DRBD moduke to hold all DRBD related stuff. Started working of ->get_status, still very much a work in progress. 5 years ago
Digimer f294d48777 * Updated notes with working pcs config example (enable, disable and migrate all work!) 5 years ago
Digimer a5761df894 * Got migration (push and pull) working. 5 years ago
Digimer 0dc2e5d2e9 * Fixed up an issue with down'ing resources under a server after it's shut down. 5 years ago
Digimer 3cf1ad2ff8 * Fairly heavy rework of ocf:alteeve:server to update how it handles storage during server start. It now properly handles the new "one resource, multiple volumes" and "start resource, not daemon" approach. 5 years ago
Digimer 7e4a170382 * Fixed a bug where Tools.pm->_anvil_version() and Get->host_uuid() were storing values in the wrong $anvil hash. 5 years ago
Digimer b56fbf923c * Finished the initial convertion of ocf:alteeve:server to use Anvil::Tools. 5 years ago
Digimer c0220c9635 * Continues work on migrating ocf:alteeve:server to use Anvil::Tools. 5 years ago
Digimer 9c0f6b8f79 * Added automatic 'echo return_code:$?' to System->call and Remote->call which is parsed out and returned automatically on all calls. 5 years ago
Digimer eafd4fd3f7 * Fixed a couple bugs to get System->change_shell_user_password() working. 7 years ago
Digimer c21b326f1a * Changed all methods to take a 'debug' argument for setting log level on calls. 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