IKANOW / Aleph2

The IKANOW v2 meta-database and analytics platform
Apache License 2.0
2 stars 1 forks source link

Aleph2 import/analytics maintenance mode #63

Open Alex-Ikanow opened 8 years ago

Alex-Ikanow commented 8 years ago

The idea is to stop all harvesters and all analytic engine triggering when invoked

So a clean cluster shutdown would look like:

Then once the maintenance is complete, unflag the maintenance mode (and restart the API), and it restarts all the harvester jobs, which for all correctly written harvesters (*) should

For v1.5 clusters, there'd also be the following 3 steps:

(And the reverse when restarting)

(*) note obviously any passive streaming harvesters would not work, eg if you're sat on UDP syslog. If the node is getting rebooted then there's not much you can do there (I suppose for rolling restarts you could be duplicating data across 2 instances of the harvester, which then used ZK to decide which actually did anything with the data. So there are potential workarounds, but in the short term at least requiring "zero loss" scenarios to use file based transport seems better)

Alex-Ikanow commented 8 years ago

@robgil mentioned for thoughts

robgil commented 8 years ago

This sounds great. A couple minor thoughts..