[Pacemaker] Question about new migration

Andrew Beekhof andrew at beekhof.net
Wed Jan 15 04:42:23 EST 2014


On 15 Jan 2014, at 7:12 pm, Kazunori INOUE <kazunori.inoue3 at gmail.com> wrote:

> Hi David,
> 
> With new migration logic, when VM was migrated by 'node standby',
> start was performed in migrate_target. (migrate_from was not performed.)
> 
> Is this the designed behavior?
> 
> 
> # crm_mon -rf1
> Stack: corosync
> Current DC: bl460g1n6 (3232261592) - partition with quorum
> Version: 1.1.11-0.27.b48276b.git.el6-b48276b
> 2 Nodes configured
> 3 Resources configured
> 
> Online: [ bl460g1n6 bl460g1n7 ]
> 
> Full list of resources:
> 
> prmVM2  (ocf::heartbeat:VirtualDomain): Started bl460g1n6
> Clone Set: clnPing [prmPing]
>     Started: [ bl460g1n6 bl460g1n7 ]
> 
> Node Attributes:
> * Node bl460g1n6:
>    + default_ping_set                  : 100
> * Node bl460g1n7:
>    + default_ping_set                  : 100
> 
> # crm node standby bl460g1n6
> # egrep "do_lrm_rsc_op:|process_lrm_event:" ha-log | grep prmVM2
> Jan 15 15:39:22 bl460g1n6 crmd[30795]:     info: do_lrm_rsc_op:
> Performing key=11:5:0:be72ea63-75a9-4de4-a591-e716f960743b
> op=prmVM2_migrate_to_0
> Jan 15 15:39:28 bl460g1n6 crmd[30795]:   notice: process_lrm_event:
> LRM operation prmVM2_migrate_to_0 (call=16, rc=0, cib-update=66,
> confirmed=true) ok
> Jan 15 15:39:30 bl460g1n6 crmd[30795]:     info: do_lrm_rsc_op:
> Performing key=7:6:0:be72ea63-75a9-4de4-a591-e716f960743b
> op=prmVM2_stop_0


Looks like the transition was aborted (5) and another (6) calculated.

Compare action:transition:expected_rc:uuid 

> key=11:5:0:be72ea63-75a9-4de4-a591-e716f960743b

and

> key=7:6:0:be72ea63-75a9-4de4-a591-e716f960743b



> Jan 15 15:39:30 bl460g1n6 crmd[30795]:   notice: process_lrm_event:
> LRM operation prmVM2_stop_0 (call=19, rc=0, cib-update=68,
> confirmed=true) ok
> 
> Jan 15 15:39:30 bl460g1n7 crmd[29923]:     info: do_lrm_rsc_op:
> Performing key=8:6:0:be72ea63-75a9-4de4-a591-e716f960743b
> op=prmVM2_start_0
> Jan 15 15:39:30 bl460g1n7 crmd[29923]:   notice: process_lrm_event:
> LRM operation prmVM2_start_0 (call=13, rc=0, cib-update=17,
> confirmed=true) ok
> 
> 
> Best Regards,
> Kazunori INOUE
> <pcmk-Wed-15-Jan-2014.tar.bz2>_______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140115/a9ecbc63/attachment-0003.sig>


More information about the Pacemaker mailing list