[ClusterLabs] Antw: Question regarding logging during migration of a resource
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Wed Apr 22 13:56:00 UTC 2015
>>> Detlef Gossrau <detlef.gossrau at enghouse.com> schrieb am 22.04.2015 um 14:38 in
Nachricht <55379659.2010409 at enghouse.com>:
> Hi all !
>
> I have a question regarding differences in logging during migration of a
> resource from one node to the other and vice-versa.
>
> Following scenario:
>
> Resource tomcat (resTOMCAT) is running on node 1 (apas5x1). I migrate
> the resource to node 2 (apas5x2) using the following command:
>
> crm_resource -f -Q -M --lifetime=PT1M -r resTOMCAT -N apas5x2
>
> AFAIK for migration a constraint is set on the other node. But I didn't
> see this in the log (/var/log/messages) on the other node. Furthermore
> there are no messages logged regarding move of the resource. But
> nevertheless the migration is working.
>
> During migration of the resource back to node 1 messages are written in
> the log (/var/log/messages) regarding removing and adding a constraint
> and regarding move of the ressource:
[...]
> Where is my fault ? What could be the reason for the difference in
> logging ? Or is my understanding of the logging wrong ?
I guess you should find some messages from lrm about migration, but I found that crmd only is writing some migration messages (in addition to some RAs) like these (pacemaker-1.1.11):
crmd[6446]: notice: te_rsc_command: Initiating action 108: migrate_to prm_xen_v09_migrate_to_0 on h01 (local)
crmd[6446]: notice: process_lrm_event: LRM operation prm_xen_v09_migrate_to_0 (call=125, rc=0, cib-update=3180, confirmed=true) ok
You don't see similar?
>
> Test environment on both nodes:
>
> OS : Linux 2.6.32-504.8.1.el6.x86_64
> Cluster SW : pacemaker-cluster-libs-1.1.7-6.el6.x86_64
> pacemaker-libs-1.1.7-6.el6.x86_64
> pacemaker-cli-1.1.7-6.el6.x86_64
> pacemaker-1.1.7-6.el6.x86_64
> corosynclib-1.4.1-17.el6.x86_64
> corosync-1.4.1-17.el6.x86_64
>
> Thnx for any help !
>
> Regards
> Detlef
>
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
More information about the Users
mailing list