[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-API] xe vm-list on slave server hang after unplugging master server network cable


  • To: 'Anthony Xu' <anthony@xxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
  • Date: Thu, 4 Feb 2010 12:34:46 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc:
  • Delivery-date: Thu, 04 Feb 2010 04:34:44 -0800
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: AcqlM5m0v9/pyH9+R76wY1wKTXsu5QAYna6g
  • Thread-topic: [Xen-API] xe vm-list on slave server hang after unplugging master server network cable

Hi Anthony,

Those are the right commands to use to manually specify a new master.

On the new master type:
  Xe pool-emergency-transition-to-master
On the slaves type:
  Xe pool-emergency-reset-master

Currently XCP doesn't have automatic master failover. There is an interface for 
talking to an external host-liveness / liveset / quorum - managing daemon. If 
that interface is implemented then automatic master failover would work. 
However that is quite a lot of work to get right.

Cheers,
Dave

> -----Original Message-----
> From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Anthony Xu
> Sent: 04 February 2010 00:47
> To: xen-api@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-API] xe vm-list on slave server hang after unplugging
> master server network cable
> 
> I found those commands,
> xe pool-emergen-cy-reset-master and xe
> pool-emergency-transition-to-master
> 
> will the pool select new master automatically after the original master
> can't be connected?
> 
> - Anthony
> 
> 
> On Wed, 2010-02-03 at 16:25 -0800, Anthony Xu wrote:
> > Is there any way to specify a new master manually?
> >
> >
> > Anthony
> >
> >
> >
> > On Wed, 2010-02-03 at 10:27 -0800, Anthony Xu wrote:
> > > I have a pool which only have two servers, I unplug master server
> > > network cable, and execute xe vm-list on slave server, it hangs.
> > >
> > > How long does it cost for slave server to take over control?
> > >
> > >
> > > - Anthony
> 
> 
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.