Hi Anthony,
You're right: 'xe pool-recover-slaves' will try to do that for you. The only
snag is that it might not get all the slaves, due to transient errors. It's a
safe to repeat the command a few times though, if it doesn't work straight away.
Cheers,
Dave
> -----Original Message-----
> From: Anthony Xu [mailto:anthony@xxxxxxxxx]
> Sent: 04 February 2010 18:21
> To: Dave Scott
> Cc: xen-api@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-API] xe vm-list on slave server hang after unplugging
> master server network cable
>
>
> 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
|