I’ve spent some time wrecking havoc on a op5 installation today while trying to setup a load balanced cluster with a couple of servers. The Scalable Monitoring documentation was straightforward but I have a lot of tweaking to do before it works as we want it. Using a existing setup is always harder than installing from scratch, I guess.
The strangest thing from the instructions was the official way of pushing configuration with their clustered setup.
mon restart ; sleep 3 ; mon oconf push
Why would you use
mon restart;sleep 3 instead of stopping the monitor service, pushing the conf and starting when you’re done? And why is the sleep exactly 3 seconds? I can’t leave this be…
There has to be some sort of underlying story that made them add a 3 seconds sleep to the official documentation.