I have a running MongoDb replicaset consisting of 2 replicas and 1 master nodes. Recently I noticed that my master gone and automatic failover took action and changed master, however I wasn't aware of this. Furthermore, consequently backups are missing for a few days as the mongo service was doen on master and backup was set up only on master.
Obviously this isn't a best practice as I have nor alerts neither proper backups.
I would like to ask couple of things regarding this.
Is it fine to set up backups script on all 3 nodes with plain
How usually alerting is done in this kind of situations when I have to know status of MongoDB (or any other service generally) based on some events like termination or high load?
FYI I leverage MongoDB on AWS EC2 Ubuntu instances.
Thanks in advance!