WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Subject: RE: [Xen-API] xe vm-list on slave server hang after unplugging master server network cable
From: Anthony Xu <anthony@xxxxxxxxx>
Date: Thu, 4 Feb 2010 10:21:21 -0800
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 04 Feb 2010 10:21:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <81A73678E76EA642801C8F2E4823AD2143E9223974@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Organization: VMOps
References: <1265221624.3022.7.camel@mobl-ant> <1265243112.3022.8.camel@mobl-ant> <1265244430.3022.12.camel@mobl-ant> <81A73678E76EA642801C8F2E4823AD2143E9223974@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Hi Dave,

Thanks for quick response,

Will typing xe pool-recover-slaves in the new master make other servers
slaves to this new master? 

Then we don't need to type Xe pool-emergency-reset-master on each slave.

Thanks,
Anthony


On Thu, 2010-02-04 at 04:34 -0800, Dave Scott wrote:
> 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