236 Commits (54a437d9a31dd98c05b0511559c4869369ced417)

Author SHA1 Message Date
digimer 68521cdab7 Updated striker-get-screenshots to set permissions properly. 1 year ago
digimer c039c58128 * This commit moves taking screenshots of hosted servers onto the strikers using the Sys::Virt module. This was needed because the screenshots were being taken by scan-server, and that was causing it to take a long time to run. It should never have been handled by the scan agent anyway. This update requires a WebUI fix to use the new screenshot tool. This tool also adds holding multiple screenshots to allow users to "scrub" through screenshots up to 10 hours in the past. 1 year ago
digimer 3c9086d1f3 Fixed bugs related to running jobs. 1 year ago
digimer cc71df686b Added a pcs wrapper to serialize pcs constraint calls. 1 year ago
digimer 59ade94124 * Added PID logging as an option, and enabled it in ocf:alteeve:server 1 year ago
Fabio M. Di Nitto 824e3e07e3 virsh: add wrapper to serialize calls to virsh list 1 year ago
Tsu-ba-me 9163cf4513 chore: remove anvil-manage-tunnel 1 year ago
Tsu-ba-me 25f5c38ade chore: rename striker-manage-vnc-pipes->anvil-manage-vnc-pipe 1 year ago
Tsu-ba-me ea345a0476 fix: add ss, websockify paths to Tools.pm 1 year ago
Tsu-ba-me 711cb5b696 refactor: rename striker-open-ssh-tunnel->anvil-manage-tunnel 1 year ago
Tsu-ba-me 7f9b418de1 fix: add signal INT, TERM hooks to Tools.pm 1 year ago
digimer 7bd76c10dc Major thing in this commit is reworking striker-update-cluster to work without expecting anvil-daemon to be running on target machines. Similarly, they had to be able to work when the Striker DBs were not available. This is to account for cases where the Striker dashboards have updated, and the schema has changed, preventing the not-yet-updated DR hosts and subnodes from being able to use the DB. To do this, anvil-safe-stop, anvil-update-system, and anvil-shutdown-server had to be updated to use the new --no-db switch, which tells then to run without the database being available. 1 year ago
Tsu-ba-me d2a61da663 chore: remove anvil-manage-tunnel 1 year ago
Tsu-ba-me f08319f41b chore: rename striker-manage-vnc-pipes->anvil-manage-vnc-pipe 1 year ago
Tsu-ba-me 87c9cc92e9 fix: add ss, websockify paths to Tools.pm 1 year ago
Tsu-ba-me 3e5fde0e2d refactor: rename striker-open-ssh-tunnel->anvil-manage-tunnel 1 year ago
Tsu-ba-me 962bf52225 fix: add signal INT, TERM hooks to Tools.pm 1 year ago
digimer 3016fb875b * Reworded striker-update-cluster to use anvil-update-system for on-system OS updates. 1 year ago
Tsu-ba-me 3cce3c39b8 fix: add Server subroutine to extract server VM info from qemu-kvm process(es) 1 year ago
digimer d56b7f9a84 * Created (but not finished!) the new striker-update-cluster tool. 1 year ago
digimer a7ebe45f76 This adds the new 'striker-collect-debug' tool that collects all potentially useful debug info into a single tarball. 1 year ago
digimer 1b8b0bc493 * Created the new 'anvil-manage-server-storage' with the first role of reload a DRBD resource. 2 years ago
digimer e0316da88b * Got anvil-manage-server-storage working enough to grow existing disk's hard drive sizes, and to insert/eject optical disks. 2 years ago
digimer 1d12fb32b4 * Completed the new anvil-watch-drbd which replaces watch_drbd. 2 years ago
digimer 156a0ca201 Updated anvil-daemon's new job launching logic to allow the restart of a running job that failed out early. 2 years ago
digimer fea10e5bb1 * Prefixed all 'virsh' calls with 'setsid --wait' to help prevent future hangs if the call happens without a shell. 2 years ago
digimer 98c3868870 * Updated fence_pacemaker to no longer use stonith_admin and instead use pcs. This should resolve the main part of issue #279 2 years ago
digimer a3988cc3e5 * Added System->configure_logind() to ensure that nodes are configured to ignore ACPI power button events so that IPMI-based fences work immediately. 2 years ago
digimer dfa93a1837 * Added 'setsid' to all 'virsh' calls as nested calls (ie: crm_resource -> ocf:alteeve:server -> virsh) would fail because virsh couldn't connect to a terminal. See: 2 years ago
Digimer 6d59399c73 * Updated the short OS list. 2 years ago
Digimer 9194eb3d09 * Updated System->check_if_configured() to record that a host is configured in /etc/anvil to make the system auto-mark as configured if the host is removed from the DB (or, more specifically, variables -> system::configured is lost). 2 years ago
Digimer f9ca6fb170 * This adds the new anvil-version-change tool which anvil-daemon will call on startup to handle checks for changes made over releases/updates. 2 years ago
Digimer 4fa8d7a446 * This completes the rework of DRBD triggered fencing to use / clear location constraints instead of triggering a power fence. 2 years ago
Digimer 4ba1982183 This is the start of a set of changes needed to rework how we handle DRBD fence requests, so that they create location constraints instead of triggering a full stonith fence. 2 years ago
Tsu-ba-me e5fc75f306 fix(tools): fetch and send server screenshot from node to striker that made the request 2 years ago
Tsu-ba-me e14b1fc93e fix(tools): use absolute paths in anvil-get-server-screenshot 2 years ago
Digimer 35cf0c37fb * Updated System->check_ram_use() to set the maximum RAM based on the host type, and set those values in _set_default() so that the user can override if they want. 2 years ago
Digimer 2fab7bc1b7 This adds support (testing needed) for "Long-Throw" DR; which is a wrapper for using 'drbd-proxy' to provide larger transmit buffers so slow/high-latency DR hosts. 2 years ago
Digimer b8bb7cc423 * Changed the default trigger of live migrations to require a health score difference of 2 or higher. This can be user-adjusted using the new 'feature::scancore::threshold::preventative-live-migration' anvil.conf option. 2 years ago
Digimer 4ecc6097d3 * Cleaned up some old 'die' calls with better nice_exit() calls to help avoid dangling db_in_use flags. 2 years ago
Digimer e7cf8ac789 * Got more work done on anvil-manage-files. It now picks up new files on nodes/dr hosts in an Anvil! and downloads them if needed. 2 years ago
Digimer 508e278359 Added the new 'anvil-network-profiler' tool. 2 years ago
Digimer bce9e2caaf This is the first attempt at enabling firewalld completely. There is a decent chance that problems exist, so it won't be a surprise if a few more commits are needed to this branch before things work. 3 years ago
Digimer b2ea4f9adc * Moved System->manage_firewall() to Network->manage_firewall(). Started working on actually implementing it, which involves basically fully rewritting it. 3 years ago
Digimer 3fd0db15bf * This rather heavily reworks how database shutdowns works. It adds much more intelligent shutdown, tracking who is using the database, being able to mark a database as "offline" and waiting for users of the database to disconnect before it shuts down. 3 years ago
Digimer a633ab7f63 Added a periodic check to ensure all users can ping. This fixes a bug where a local striker dashboard whose DB was stopped wouldn't work. 3 years ago
Digimer 3346d31194 * Created Get->kernel_release() that returns the current kernel release (version) in use on the host or on a remote system. 3 years ago
Digimer 72b17ff1f9 * Reworked how databases are stopped, now being handled in anvil-daemon. This way, initial starts will still do traditional resyncs, then shut down. This should allow the best of both worlds, where data is not lost on striker start/stop loss/recovery, but operate normally otherwise without delays. 3 years ago
Madison Kelly 922899ea78 * WIP: Working on a new method of failing over between which Striker is the active database, instead of running N-number of databases all the time. 3 years ago
Digimer 9edf698c37 Updated Database->get_storage_group_data() to determine when a node or DR host needs to be removed from a Storage group, or when a member of an Anvil! needs to be added to a storage group. 3 years ago