continued work from #32
this PR will support relaylog synching via remote SSH rather than orchestrator-agent.
I'm unsure at this time which of the two is the "better" way. orchestrator-agent requires further setup: installing and running an agent on each box. Remote SSH also has its own setup and security issues. Anyway at this time I'd like to see both running, and I'll follow up with tests.
remote SSH commands to read/apply relay logs
Merge branch 'master' into failover-correlate-relay-logs-ssh
Added -c align-via-relay-logs-ssh with initial SSH-based implementation
fixed get-relaylogs script
applying script on server
shipping contents file before applying script
using different file name for copied content file
refactoring copy file name
cleaning up temp files
Internal tests show this to be good and correct. Will proceed with internal automated testing setup to further validate logic.
remote SSH testing before applying relaylogs
align relay-logs respects --noop
I'm merging this for now, and will continue to iterate in future PRs.
The names of the command line commands are subject to change (this code is not released yet and not documented yet).
To clarify, the code in this PR is not called by the failover mechanism. That's exactly what the next iteration would do.