849 Commits (510af7e4b142b8dc2ed3167f9be763ae75b0cdae)

Author SHA1 Message Date
digimer 1a217d21cf * Updated anvil-manage-dr to provide the ability to link anvil nodes to dr hosts. Also began work on making it work with the new DR links system. 2 years ago
digimer 16fc4e131c * Fixed a bug where, if a specific request to do a DB resync was made but the active_uuid wasn't matching the host, it wouldn't resync. This broke peering Strikers when the peer source was not the active_uuid. 2 years ago
digimer 985338a064 Fixed typo that broke compilation. 2 years ago
digimer 17863404e3 * Updated Database->_age_out_data() to only run once per day, unless explicitely called with --age-out-database. 2 years ago
digimer 3d6f71f27e * Updated Database->connect to clean up duplicates on setting the read UUID and database handle. 2 years ago
digimer 26a1fe1491 * Updated Database->connect() to allow local reads on strikers, regardless of the active DB. 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 5fcbb1643c * Updated Database->connect() to set an 'active_uuid', and the host with that UUID will be the only one to do resyncs. This might help with frequent resyncs, which could be caused by simultaneous resyncs happening on both nodes stepping on each other. This should help with issue #276 2 years ago
digimer 6ca0e0da90 * Updated Database->connect() to only try to load from dump files if 2+ databases are configured in striker. 2 years ago
digimer ff69916a85 * Applied typo fixed from PR #286 (thanks, Deezzir!). Also moved all the raw prints into words.xml. 2 years ago
digimer 9d2f9c4d88 * Fixed a string key name typo. 2 years ago
digimer 383a6df7c5 Updated Convert->bytes_to_human_readable() to accept already human-readable sizes and return that. 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 c5fbf20615 * This inverts the --live logic on migrations in Server->migrate_virsh() to default to live. 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 a5cee52153 * Fixed a bug in DRBD->get_devices() where old test host UUIDs were left hard-coded. 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
Deezzir fa71148537 fix: improved validatation for ram_reserved in anvil.conf 2 years ago
Deezzir 9e8d10a025 feat: check if anvil_resources::<anvil_uuid>:🐏:allocated overridenfrom anvil.conf 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 eae2ab4d9f * Undid the #!no_value!# -> !!no_value!! change as it broke language processing. 2 years ago
Digimer 33b4516dea Fix a variable quoting bug in Database->locking(). 2 years ago
Digimer 4528f07508 * Fixed a bug where fence-handler was repeatedly added by scan-drbd. 2 years ago
Digimer 7504978af7 Increased the size change detection wait to to reduce the risk of premature addition to the DB if there's a network hiccup. 2 years ago
Digimer f6cbe7d1d2 * Fixed a bug in System->collect_ipmi_data() where double-quoted passwords were preventing reading of the sensor data. 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
Tsu-ba-me c413e62798 fix(striker-ui-api): pass Remote->test_access() user to Cluster->get_primary_host_uuid() 2 years ago
Digimer 622fb84652 * Renamed the 'notifications' table to 'alert-override', better reflecting what it does. 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 a6cd5c6604 * Starting work in the new anvil-manage-alerts, which will (when done), allow for management of mail servers, alert recipients, notification over-rides and to trigger test alerts. 2 years ago
Digimer 76f95d8e53 * Added a check to ignore IPMI sensors reporting "No Reading" in scan-ipmitool. 2 years ago
Digimer bde0b2e7ec * Fixed a bug where deleting ports from a fence device in an Install Manifest would not cause the fence methods to be removed from the associated cluster. 2 years ago
Digimer 93427a7a38 * Updated Get->switches() to always support job-uuid. 2 years ago
Digimer 13b0f5bdcc Bumped 'Exhaust Temp' jump threshold to 30c in scan-ipmitool. 2 years ago
Digimer a4ef93404c * Fixed a bug in DRBD->gather_data() to remove trailing commas for existing TCP ports. 2 years ago
Digimer 3b721b849c * Fixed a bug in anvil-configure-host where if the same MAC address was assigned to two interfaces, it would cause an endless reboot loop. 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 e90dae96f7 * In Server->shutdown_virsh(), disabled trying to resume a paused VM. Also updated the logging around not waiting for a VM to stop. 2 years ago
Digimer d271ffec26 * Updated Cluster->parse_crm_mon() to record the role of stonith resources. 2 years ago
Digimer 89121a2b3b * Fixed a bug in Alert->check_condition_age() where not setting a host_uuid caused the returned age to always be 0. 2 years ago
Digimer 99a6593fe6 * Fixed a bug when connecting to databases when one DB has no variable entries, making it seem like a DB was disabled. 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 9675ebf986 * Added --remove support to anvil-manage-dr, completing all the features for this tool. 2 years ago
Digimer 93e6a59841 * Added 'vnc-server' to the list of firewall services enabled on strikers. 2 years ago
Digimer 29a28ee97a * Fixed a bug with anvil-provision-server where running the command line menu from a Striker would not assign the job to the target Anvil!. 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