Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

improve monitoring of sync service #3

Open
jas4711 opened this issue Feb 11, 2013 · 3 comments
Open

improve monitoring of sync service #3

jas4711 opened this issue Feb 11, 2013 · 3 comments

Comments

@jas4711
Copy link
Contributor

jas4711 commented Feb 11, 2013

It would be nice to monitor how syncing works -- whether two servers are fully in sync or not.

@dainnilsson
Copy link
Member

We currently have two utilities for checking sync: ykval-checksum-clients and ykval-checksum-deactivated.
These generate a checksum over different parts of the database: the clients, and the yubikeys (where active = false) tables.

We could add a ykval-checksum-activated which does the same but for active keys. This command could be used to compare the state of different servers. The problem being that the state can change rather quickly, and synchronization between servers is usually delayed by several seconds, so getting something meaningful out of this might be difficult as I can image under large scale use two servers are hardly ever fully in sync.

@klali
Copy link
Member

klali commented Feb 18, 2013

I don't think we want to reuse the same system of checksumming for monitoring sync, it's to common that it isn't exactly in sync. The simplest approach is probably to just monitor queue size, though some errors can slip past that, so we might want to think up something more clever..

@jas4711
Copy link
Contributor Author

jas4711 commented Jun 26, 2014

We thought about this problem and believe that we should have some software running on each api server to monitor this in real-time. Not working on this now...

@klali klali changed the title improve monitorring of sync service improve monitoring of sync service Sep 24, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants