Hi,

On Tue, Jun 16, 2009 at 01:38:15PM -0700, c smith wrote:
> Dejan-
> 
> Attached is a hb_report.  I now notice resource fail to restart when the
> cluster eventually tries to. I'm wondering if this is a stonith issue (or
> lack of), a miss configuration on my part or a bug?  I've tried changing
> time-outs in the ops of the Xen resources but haven't been able to get the
> behavior I'd like.

You don't have stonith configured, which makes a two-node
configuration impossible.

Timeout of 10 seconds for a VM start is way too low.

You're running version 1.0.1, it would be good to upgrade to
1.0.4. Not sure if that would influence your issue, but there
seem to have been some fixes for migrations as well.

XP-Mail-Server has failcount of INFINITY on xen1 and can't be
started there. OpenSUSE is stopped (target-role).

Thanks,

Dejan


> 
> Thanks in advance
> 
> 
> On Mon, Jun 15, 2009 at 12:25 AM, Dejan Muhamedagic 
> <[email protected]>wrote:
> 
> > Hi,
> >
> > On Thu, Jun 11, 2009 at 12:22:35PM -0700, c smith wrote:
> > > Hi all-
> > >
> > > I'm configuring a Xen domU RA in Pacemaker with allow-migrate=true in a 2
> > > node cluster.  Migrations work just fine when two nodes are up and
> > running.
> > > Ideally, I'd like the VM to fail-over (non-live, obviously) to node2 if
> > > node1 goes down unexpecedly.  In my tests, this works OK but it takes
> > quite
> > > a while before Xen fires up the VM on the remaining node.  I've found it
> > > takes about a 1m to 1.5m before the RA boots up the VM on the remaining
> > > node.  It seems it's waiting on the live migration to timeout even though
> > > its not possible with 1 node?
> >
> > It should know better. Can you please make a hb_report of the
> > incident and post it here if it's not too large and otherwise
> > open a bugzilla.
> >
> > Thanks,
> >
> > Dejan
> >
> > > If I disable live migration, fail over works
> > > quickly.  I've found references to the migrate-to and migrate-from
> > timeouts
> > > but cannot seem to find any documentation on these.  Is it possible to
> > > manipulate these in a way that will ensure VMs are booted up quickly in
> > the
> > > event of node failure while insuring live migrations have enough time to
> > > complete when executed manually?
> > >
> > > Ive included an example of a resource I am using.  I found I needed to
> > > increase the start timeout to 90s or resources would timeout when
> > starting
> > > after failover.
> > >
> > > Thanks in advance
> > > C-SMITH
> > >
> > >   <primitive class="ocf" id="VM4" provider="heartbeat" type="Xen">
> > >       <instance_attributes id="VM4-i_a">
> > >             <nvpair id="vm4-attr-01" name="xmfile"
> > value="/xen/vm/vm4.cfg"/>
> > >             <nvpair id="vm4-attr-02" name="target-role" value="started"/>
> > >             <nvpair id="vm4-attrrr" name="allow-migrate" value="true"/>
> > >       </instance_attributes>
> > >       <operations id="vm4-ops">
> > >                           <op id="vm4-monitor-10s" interval="10s"
> > > name="monitor" timeout="60s"/>
> > >                           <op id="vm4-start-30s" name="start"
> > interval="0s"
> > > timeout="90s"/>
> > >                           <op id="vm4-stop-600s" name="stop"
> > interval="0s"
> > > timeout="300s"/>
> > >                           <op id="vm4-mig" name="migrate-to"
> > interval="0s"
> > > timeout="25s"/>
> > >       </operations>
> > >     </primitive>
> > > _______________________________________________
> > > 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
> >


> _______________________________________________
> 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