It's my fault. I find I  made a mistake.
Thanks very much for your help!

2009/9/21 Andreas Kurz <[email protected]>

> hello,
>
> fengyandong wrote:
> > heartbeat version is 2.1.4
> >
> > two node active passive mode, one hostname is mds146, one hostname is
> mds148
> >
> > crm_mon -1  output:
> >
> > ============
> > Last updated: Mon Sep 21 10:55:53 2009
> > Current DC: mds146 (60f1e69c-7c1b-423b-bcc4-c8ad522b6ba3)
> > 2 Nodes configured.
> > 7 Resources configured.
> > ============
> >
> > Node: mds148 (3cdeb3a0-6da3-4394-8cec-6918cd2f3a07): online
> > Node: mds146 (60f1e69c-7c1b-423b-bcc4-c8ad522b6ba3): online
> >
> > Resource Group: group_1
> >     bwfsmmd_1_eb4a891e-c8e5-4403-b346-a4085cd3eaee
> > (ocf::heartbeat:bwfsmmd):       Started mds148
> >     bwfs_2_fs   (ocf::heartbeat:bwfs):  Started mds148
> >     IPaddr_10_10_99_166 (ocf::heartbeat:IPaddr):        Started mds148
> > Clone Set: automount
> >     automount-client_11:0       (lsb:automount-client): Started mds148
> >     automount-client_11:1       (lsb:automount-client): Started mds146
> > Clone Set: smb
> >     smb_21:0    (lsb:smb):      Started mds148
> >     smb_21:1    (lsb:smb):      Started mds146
> > IPaddr2_7_10_10_99_167  (ocf::heartbeat:IPaddr2):       Started mds146
> > IPaddr2_8_10_10_99_168  (ocf::heartbeat:IPaddr2):       Started mds148
> > stonith_9_mds148        (stonith:external/ipmi):        Started mds146
> > stonith_10_mds146       (stonith:external/ipmi):        Started mds148
> >
> > Then mds148  reboots,  mds146 does not takeover resources.
> >
> > the attachment is cib.xml and ha-log
>
> from your cib:
>
> <rsc_location id="cli-standby-group_1" rsc="group_1">
>         <rule id="cli-standby-rule-group_1" score="-INFINITY">
>           <expression id="cli-standby-expr-group_1" attribute="#uname"
> operation="eq" value="mds146" type="string"/>
>         </rule>
> </rsc_location>
>
> ... a leftover from a resource migration ... forgot doing an unmigrate?
> group_1 will never be started on mds146 unless you remove this constraint.
>
> Regards,
> Andreas
>
> >
> > Thanks for any help!
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
>
> --
> : Andreas Kurz
> : LINBIT | Your Way to High Availability
> : Tel +43-1-8178292-64, Fax +43-1-8178292-82
> :
> : http://www.linbit.com
>
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
>
> This e-mail is solely for use by the intended recipient(s). Information
> contained in this e-mail and its attachments may be confidential,
> privileged or copyrighted. If you are not the intended recipient you are
> hereby formally notified that any use, copying, disclosure or
> distribution of the contents of this e-mail, in whole or in part, is
> prohibited. Also please notify immediately the sender by return e-mail
> and delete this e-mail from your system. Thank you for your co-operation.
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to