Hello Dominik,
> drbdadm -- --overwrite-data-of-peer primary all
> drbdadm -- --discard-my-data connect all
thank you a lot for the two commands. I wasn't aware of the first one
and wrote it down in my ha/drbd cheat sheet. But I monitor drbd using
nagios. So as soon as a node gets "Outdated" I receive a SMS. So the
first thing I am going to do is to resync the node. :-)
(postgres-02) [~] /usr/lib/nagios/plugins/check_drbd
DRBD OK: Device 0 Secondary Connected UpToDate
I also have the heartbeat stuff in nagios:
(postgres-01) [~] /usr/lib/nagios/plugins/check_heartbeat_link
Heartbeat Link OK: postgres-02:eth0.2:up postgres-02:eth1:up
I still miss a plugin for monitoring ressources, but I think that I
write one by myself that checks for the following:
- Stopped Ressources
- Failed Ressources
- Orphan Ressources
Thomas
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems