[ClusterLabs] How to stop removed resources when replacing cib.xml via cibadmin or crm_shadow

2020-09-30 Thread Igor Tverdovskiy
Hi All, I have a necessity to apply the whole cib.xml instead of using command line tools like > crm configure ... I have generated proper XML according to predefined templates and apply it via > cibadmin --replace --xml-file cib.xml However I have encountered an issue when resources (in

Re: [ClusterLabs] VirtualDomain stop operation traced - but nothing appears in /var/lib/heartbeat/trace_ra/

2020-09-30 Thread Vladislav Bogdanov
Hi Try to enable trace_ra for start op. On September 28, 2020 10:50:19 PM "Lentes, Bernd" wrote: Hi, currently i have a VirtualDomains resource which sometimes fails to stop. To investigate further i'm tracing the stop operation of this resource. But although i stopped it already now

[ClusterLabs] Antw: [EXT] VirtualDomain stop operation traced - but nothing appears in /var/lib/heartbeat/trace_ra/

2020-09-30 Thread Ulrich Windl
Hi! Just two notes: 1) SLES12 SP5 (pacemaker-1.1.23) ist current. 2) There isn't very much debug logging in /usr/lib/ocf/resource.d/heartbeat/VirtualDomain Maybe add a "set -x" at the second line of the RA, or call ocf-tester for the resource (while the cluster isn't managing it, of course)