Commit Graph

21 Commits (096e0583c9d5d789475dae930292fadeb1e6e221)

Author SHA1 Message Date
Eric Loyd 096e0583c9 This is the working code from VMs testing for Princeton 3 years ago
Eric Loyd 6434c592f6 Finally getting the right combination to skip CSS headers 3 years ago
Eric Loyd b5256e83ea Update failover/failover.sh
Removed header.css code, added code to skip the sync if the sync file doesn't exist, and sleep for 2 seconds before trying to start Nagios.
4 years ago
Eric Loyd 3e0c08db72 failover.sh can now request that rsync continue without syncing, just to activate Nagios 4 years ago
Eric Loyd 475e5e83a8 Use rsync instead of cp to copy header files 4 years ago
Eric Loyd 1dd87e1c39 header.css work is now performed in failover.sh instead of rsync, since sometimes you just want to activate failover 4 years ago
Eric Loyd b137eb990f Updated failover to fix key file permission and save program URL 4 years ago
Eric Loyd e694728e99 Slight redesign so that secondary box only runs script manually when someone wants it to take over 5 years ago
Eric Loyd cf00fbedec Logic implmeented to delete old sync files as well as only run on secondary if primary is not available (this avoids overwriting running configs) 5 years ago
Eric Loyd 7bc985e573 Don't stop Nagios on the secondary at this time. 5 years ago
Eric Loyd 028953010b Minor non-code changes, removed restore_xi.sh 5 years ago
Eric Loyd 2ef08250d3 new version for 2021 5 years ago
Eric Loyd 7527af17cf Scan nagios.cfg for non-standard directories and include them. Properly deal with retention.dat. Confirmed working to failover to newly installed box. 6 years ago
Eric Loyd e6fcff099e Failover seems to work without root 6 years ago
Eric Loyd c5d35bacde Update error codes and delete source file if its successfuly restored 6 years ago
Eric Loyd 34d701c7d5 Minor updates to client/server sides 6 years ago
Eric Loyd faf9fdd312 Failover looking much better with proper rsync 6 years ago
Eric Loyd e275b99757 Tweak 6 years ago
Eric Loyd 9c192d6030 First attempt at doing failover 6 years ago
Eric Loyd d322efa083 Ready to test secondary 6 years ago
Eric Loyd 42cb02e387 First stage of failovers 6 years ago