Hi, I have persistent journal, but 'journalctl -b -1' was empty in this case, so it might not be optimally configured. And centralized logging is on the todo list
btw. about the fencing, I have set ' HandlePowerKey=ignore' in /etc/systemd/logind.conf (for this hardware, I can find no bios settings on how to react to power key being pressed, so can not be set to instant-off) Now when a node is fenced it goes down more quickly, and its only journal output is: Jan 18 09:33:19 kvm03-node03 systemd-logind[4354]: Power key pressed. Jan 18 09:33:24 kvm03-node03 systemd-logind[4354]: Power key pressed. So it seems it needs to be pressed twice with 5 sec delay, and by looking at the hardware console, the system does not reboot before about 09.33.27 ( 8 secs totally) When the node is back online, 'journalctl -b -1' only reports the first Jan 18 09:33:19 kvm03-node03 systemd-logind[4354]: Power key pressed. The second line was never written to persistent journal On Mon, Jan 18, 2021 at 8:49 AM Ulrich Windl <[email protected]> wrote: > > >>> Steffen Vinther Sørensen <[email protected]> schrieb am 16.01.2021 um > 19:28 in > Nachricht > <CALhdMBho79Kd7XjV2BvD+-J5i+94vKejnJYB5UEjG=w_hg1...@mail.gmail.com>: > > Hi and thank you for the insights > > Hi! > ... > > > I just did a test after the latest adjustments with colocations etc. > > trying to standby node02, ends up with node02 being fenced before > > migrations complete. Unfortunately logs from node02 was lost > > Don't you have a persistent journal on node2? Maybe it's a good idea to make > all nodes log to an external syslog server, at least until your problems are > fixed. That would also have the benefit that you get a better global insight > of > the sequence of events... > > ... > > Regards, > Ulrich > > _______________________________________________ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
