[ClusterLabs] cofigured trace for Virtual Domains - automatic restart ?

Ken Gaillot kgaillot at redhat.com
Fri Sep 17 15:13:19 EDT 2021


On Fri, 2021-09-17 at 15:54 +0200, Lentes, Bernd wrote:
> Hi,
> 
> today i configured tracing for some VirtualDomains:
> 
> ha-idg-2:~ # crm resource trace vm_documents-oo migrate_from
> INFO: Trace for vm_documents-oo:migrate_from is written to
> /var/lib/heartbeat/trace_ra/
> INFO: Trace set, restart vm_documents-oo to trace the migrate_from
> operation
> 
> ha-idg-2:~ # crm resource trace vm_genetrap migrate_from
> INFO: Trace for vm_genetrap:migrate_from is written to
> /var/lib/heartbeat/trace_ra/
> INFO: Trace set, restart vm_genetrap to trace the migrate_from
> operation
> 
> I thought "Trace set, restart vm_genetrap to trace the migrate_from
> operation" is a hint to not forget the restart of the resource.
> But all resources i configured tracing for did an automatic restart. 
> Is that behaviour intended ?
> 
> Bernd

Tracing works by setting a special parameter, which to pacemaker looks
like a configuration change that requires a restart. With the new OCF
1.1 standard, the trace parameter could be marked reloadable, but the
agents need to be updated to do that.
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list