>>> Reid Wahl <nw...@redhat.com> schrieb am 26.03.2021 um 23:28 in Nachricht <CAPiuu9-+UzofbQ=TD2MS4AVjbir-EPU=bos-7a8o9pxgixz...@mail.gmail.com>:
... >> So, that would be an extra parameter to the resource definition in >> cluster.cib? >> >> Change: >> >> primitive Asterisk asterisk meta migration-threshold=3 op monitor >> interval=5 >> timeout=30 on-fail=restart failure-timeout=10s >> >> to: >> >> primitive Asterisk asterisk meta migration-threshold=3 op monitor >> interval=5 >> timeout=30 on-fail=restart failure-timeout=10s trace_ra=1 >> >> ? IMHO it does not make sense to have failure-timeout smaller than the monitoring interval; I'd say use at least two monitor intervals; otherwise you are basically disabling the monitoring. Usually reasonable values are probably hours or days, depending on the stability of your cluster. >> > > It's an instance attribute, not a meta attribute. I'm not familiar with > crmsh syntax but trace_ra=1 would go wherever you would configure a Syntax is very easy (says the manual): Example: trace fs start trace webserver trace webserver probe trace fs monitor 0 > "normal" option, like `ip=x.x.x.x` for an IPaddr2 resource. It will save a > shell trace of each operation to a file in > /var/lib/heartbeat/trace_ra/asterisk. You would then wait for an operation > to fail, find the file containing that operation's trace, and see what it > tells you about the error. > > You might already have some more detail about the error in > /var/log/messages and/or /var/log/pacemaker/pacemaker.log. Look in > /var/log/messages around Fri Mar 26 13:37:08 2021 on the node where the > failure occurred. See if there are any additional messages from the > resource agent, or any stdout or stderr logged by lrmd/pacemaker-execd for > the Asterisk resource. > > >> >> Antony. >> >> -- >> "It is easy to be blinded to the essential uselessness of them by the >> sense of >> achievement you get from getting them to work at all. In other words - and >> this is the rock solid principle on which the whole of the Corporation's >> Galaxy-wide success is founded - their fundamental design flaws are >> completely >> hidden by their superficial design flaws." >> >> - Douglas Noel Adams >> >> Please reply to the >> list; >> please *don't* CC >> me. >> _______________________________________________ >> Manage your subscription: >> https://lists.clusterlabs.org/mailman/listinfo/users >> >> ClusterLabs home: https://www.clusterlabs.org/ >> >> > > -- > Regards, > > Reid Wahl, RHCA > Senior Software Maintenance Engineer, Red Hat > CEE - Platform Support Delivery - ClusterHA _______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/