88 Commits (e0b640f24cb1e82dc5b76908e024233189b96753)

Author SHA1 Message Date
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. 6 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. 6 years ago
Digimer f294d48777 * Updated notes with working pcs config example (enable, disable and migrate all work!) 6 years ago
Digimer a5761df894 * Got migration (push and pull) working. 6 years ago
Digimer 0dc2e5d2e9 * Fixed up an issue with down'ing resources under a server after it's shut down. 6 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. 6 years ago
Digimer 7e4a170382 * Fixed a bug where Tools.pm->_anvil_version() and Get->host_uuid() were storing values in the wrong $anvil hash. 6 years ago
Digimer b56fbf923c * Finished the initial convertion of ocf:alteeve:server to use Anvil::Tools. 6 years ago
Digimer c0220c9635 * Continues work on migrating ocf:alteeve:server to use Anvil::Tools. 6 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. 6 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
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