Hi All, Debian Lenny, Xen 3.2.1 I''ve setup DRBD resources from a domU I had, and it has synced up correctly. If I shut the machine down on node1, I can successfully start it on node2 and all is well. However if I live migrate the domain, it successfully transfers the domain across and is running on the other node, but will stay in the suspended "migrating-domain" on the first node. The log seems to be paused at the following: [2010-06-03 11:06:53 3289] DEBUG (DevController:151) Waiting for devices vtpm. I don''t use vtpm, it''s not enabled in my config, is it normal to show when migrating if not in use? If I destroy the domain that is suspended it drops of the xm list and is still happily running on the node it was live migrated to. Has anyone seen this before and got around it in some way? Best Regards, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Adams wrote:> However if I live migrate the domain, it successfully transfers the > domain across and is running on the other node, but will stay in the > suspended "migrating-domain" on the first node. The log seems to be > paused at the following: > >have you enabled "allow-two-primaries" in your DRBD config file? see: http://www.drbd.org/users-guide-emb/ch-xen.html -- In theory, there is no difference between theory and practice. In<fnord> practice, there is. .... Yogi Berra _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yea I''ve got that as follows; net { allow-two-primaries; after-sb-0pri discard-zero-changes; after-sb-1pri discard-secondary; } It all migrates correctly, it just won''t destroy the original host correctly! On Thu, Jun 03, 2010 at 08:58:55AM -0400, Miles Fidelman wrote:> Mark Adams wrote: >> However if I live migrate the domain, it successfully transfers the >> domain across and is running on the other node, but will stay in the >> suspended "migrating-domain" on the first node. The log seems to be >> paused at the following: >> >> > have you enabled "allow-two-primaries" in your DRBD config file? > > see: > http://www.drbd.org/users-guide-emb/ch-xen.html > > -- > In theory, there is no difference between theory and practice. > In<fnord> practice, there is. .... Yogi Berra > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Does anyone have any ideas about this or suggestions to test? Best Regards, Mark On Thu, Jun 03, 2010 at 02:50:34PM +0100, Mark Adams wrote:> Yea I''ve got that as follows; > > net { > allow-two-primaries; > after-sb-0pri discard-zero-changes; > after-sb-1pri discard-secondary; > } > > It all migrates correctly, it just won''t destroy the original host > correctly! > > On Thu, Jun 03, 2010 at 08:58:55AM -0400, Miles Fidelman wrote: > > Mark Adams wrote: > >> However if I live migrate the domain, it successfully transfers the > >> domain across and is running on the other node, but will stay in the > >> suspended "migrating-domain" on the first node. The log seems to be > >> paused at the following: > >> > >> > > have you enabled "allow-two-primaries" in your DRBD config file? > > > > see: > > http://www.drbd.org/users-guide-emb/ch-xen.html > > > > -- > > In theory, there is no difference between theory and practice. > > In<fnord> practice, there is. .... Yogi Berra > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
It''s worth noting that if I do a normal migrate it works correctly. On Fri, Jun 04, 2010 at 02:42:55PM +0100, Mark Adams wrote:> Does anyone have any ideas about this or suggestions to test? > > Best Regards, > Mark > > On Thu, Jun 03, 2010 at 02:50:34PM +0100, Mark Adams wrote: > > Yea I''ve got that as follows; > > > > net { > > allow-two-primaries; > > after-sb-0pri discard-zero-changes; > > after-sb-1pri discard-secondary; > > } > > > > It all migrates correctly, it just won''t destroy the original host > > correctly! > > > > On Thu, Jun 03, 2010 at 08:58:55AM -0400, Miles Fidelman wrote: > > > Mark Adams wrote: > > >> However if I live migrate the domain, it successfully transfers the > > >> domain across and is running on the other node, but will stay in the > > >> suspended "migrating-domain" on the first node. The log seems to be > > >> paused at the following: > > >> > > >> > > > have you enabled "allow-two-primaries" in your DRBD config file? > > > > > > see: > > > http://www.drbd.org/users-guide-emb/ch-xen.html > > > > > > -- > > > In theory, there is no difference between theory and practice. > > > In<fnord> practice, there is. .... Yogi Berra > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You could try the alternative DRBD transfer scripts here: http://www.antibozo.net/xen/qemu-dm.drbd I had a similar issues and they fixed it. They work for HVM too. PVM have issues when more than one hard disk is specified in the config file. Rob -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Mark Adams Sent: 04 June 2010 14:49 To: Miles Fidelman Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] Live migrate using DRBD It''s worth noting that if I do a normal migrate it works correctly. On Fri, Jun 04, 2010 at 02:42:55PM +0100, Mark Adams wrote:> Does anyone have any ideas about this or suggestions to test? > > Best Regards, > Mark > > On Thu, Jun 03, 2010 at 02:50:34PM +0100, Mark Adams wrote: > > Yea I''ve got that as follows; > > > > net { > > allow-two-primaries; > > after-sb-0pri discard-zero-changes; > > after-sb-1pri discard-secondary; > > } > > > > It all migrates correctly, it just won''t destroy the original host > > correctly! > > > > On Thu, Jun 03, 2010 at 08:58:55AM -0400, Miles Fidelman wrote: > > > Mark Adams wrote: > > >> However if I live migrate the domain, it successfully transfersthe> > >> domain across and is running on the other node, but will stay inthe> > >> suspended "migrating-domain" on the first node. The log seems tobe> > >> paused at the following: > > >> > > >> > > > have you enabled "allow-two-primaries" in your DRBD config file? > > > > > > see: > > > http://www.drbd.org/users-guide-emb/ch-xen.html > > > > > > -- > > > In theory, there is no difference between theory and practice. > > > In<fnord> practice, there is. .... Yogi Berra > > > > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users The SAQ Group Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ SAQ is the trading name of SEMTEC Limited. Registered in England & Wales Company Number: 06481952 http://www.saqnet.co.uk AS29219 SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business. Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support. ISPA Member _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robert is right, if I drop the swap disk out of the config the live migration works correctly (only 1 disk). In terms of using this replacement disk, has anyone done this on Debian lenny? I can''t seem to locate pygrub. Just incase... Has anyone else got PVM''s using DRBD with more than 1 disk live migrating on Debian Lenny? On Fri, Jun 04, 2010 at 03:00:39PM +0100, Robert Dunkley wrote:> You could try the alternative DRBD transfer scripts here: > http://www.antibozo.net/xen/qemu-dm.drbd > > I had a similar issues and they fixed it. They work for HVM too. PVM > have issues when more than one hard disk is specified in the config > file. > > Rob > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Mark Adams > Sent: 04 June 2010 14:49 > To: Miles Fidelman > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] Live migrate using DRBD > > It''s worth noting that if I do a normal migrate it works correctly. > > On Fri, Jun 04, 2010 at 02:42:55PM +0100, Mark Adams wrote: > > Does anyone have any ideas about this or suggestions to test? > > > > Best Regards, > > Mark > > > > On Thu, Jun 03, 2010 at 02:50:34PM +0100, Mark Adams wrote: > > > Yea I''ve got that as follows; > > > > > > net { > > > allow-two-primaries; > > > after-sb-0pri discard-zero-changes; > > > after-sb-1pri discard-secondary; > > > } > > > > > > It all migrates correctly, it just won''t destroy the original host > > > correctly! > > > > > > On Thu, Jun 03, 2010 at 08:58:55AM -0400, Miles Fidelman wrote: > > > > Mark Adams wrote: > > > >> However if I live migrate the domain, it successfully transfers > the > > > >> domain across and is running on the other node, but will stay in > the > > > >> suspended "migrating-domain" on the first node. The log seems to > be > > > >> paused at the following: > > > >> > > > >> > > > > have you enabled "allow-two-primaries" in your DRBD config file? > > > > > > > > see: > > > > http://www.drbd.org/users-guide-emb/ch-xen.html > > > > > > > > -- > > > > In theory, there is no difference between theory and practice. > > > > In<fnord> practice, there is. .... Yogi Berra > > > > > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > The SAQ Group > > Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ > SAQ is the trading name of SEMTEC Limited. Registered in England & Wales > Company Number: 06481952 > > http://www.saqnet.co.uk AS29219 > > SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business. > > Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support. > > ISPA Member > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Edit: In terms of using this replacement *script*.... On Fri, Jun 04, 2010 at 05:01:01PM +0100, Mark Adams wrote:> Robert is right, if I drop the swap disk out of the config the live > migration works correctly (only 1 disk). > > In terms of using this replacement disk, has anyone done this on Debian > lenny? I can''t seem to locate pygrub. > > Just incase... Has anyone else got PVM''s using DRBD with more than 1 > disk live migrating on Debian Lenny? > > > On Fri, Jun 04, 2010 at 03:00:39PM +0100, Robert Dunkley wrote: > > You could try the alternative DRBD transfer scripts here: > > http://www.antibozo.net/xen/qemu-dm.drbd > > > > I had a similar issues and they fixed it. They work for HVM too. PVM > > have issues when more than one hard disk is specified in the config > > file. > > > > Rob > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Mark Adams > > Sent: 04 June 2010 14:49 > > To: Miles Fidelman > > Cc: xen-users@lists.xensource.com > > Subject: Re: [Xen-users] Live migrate using DRBD > > > > It''s worth noting that if I do a normal migrate it works correctly. > > > > On Fri, Jun 04, 2010 at 02:42:55PM +0100, Mark Adams wrote: > > > Does anyone have any ideas about this or suggestions to test? > > > > > > Best Regards, > > > Mark > > > > > > On Thu, Jun 03, 2010 at 02:50:34PM +0100, Mark Adams wrote: > > > > Yea I''ve got that as follows; > > > > > > > > net { > > > > allow-two-primaries; > > > > after-sb-0pri discard-zero-changes; > > > > after-sb-1pri discard-secondary; > > > > } > > > > > > > > It all migrates correctly, it just won''t destroy the original host > > > > correctly! > > > > > > > > On Thu, Jun 03, 2010 at 08:58:55AM -0400, Miles Fidelman wrote: > > > > > Mark Adams wrote: > > > > >> However if I live migrate the domain, it successfully transfers > > the > > > > >> domain across and is running on the other node, but will stay in > > the > > > > >> suspended "migrating-domain" on the first node. The log seems to > > be > > > > >> paused at the following: > > > > >> > > > > >> > > > > > have you enabled "allow-two-primaries" in your DRBD config file? > > > > > > > > > > see: > > > > > http://www.drbd.org/users-guide-emb/ch-xen.html > > > > > > > > > > -- > > > > > In theory, there is no difference between theory and practice. > > > > > In<fnord> practice, there is. .... Yogi Berra > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > The SAQ Group > > > > Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ > > SAQ is the trading name of SEMTEC Limited. Registered in England & Wales > > Company Number: 06481952 > > > > http://www.saqnet.co.uk AS29219 > > > > SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business. > > > > Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support. > > > > ISPA Member > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
EDIT: I''ve located pygrub and will test the other scripts, Still just incase... Has anyone else got PVM''s using DRBD with more than 1 disk live migrating on Debian Lenny with the default drbd scripts? On Fri, Jun 04, 2010 at 05:04:08PM +0100, Mark Adams wrote:> Edit: > > In terms of using this replacement *script*.... > > On Fri, Jun 04, 2010 at 05:01:01PM +0100, Mark Adams wrote: > > Robert is right, if I drop the swap disk out of the config the live > > migration works correctly (only 1 disk). > > > > In terms of using this replacement disk, has anyone done this on Debian > > lenny? I can''t seem to locate pygrub. > > > > Just incase... Has anyone else got PVM''s using DRBD with more than 1 > > disk live migrating on Debian Lenny? > > > > > > On Fri, Jun 04, 2010 at 03:00:39PM +0100, Robert Dunkley wrote: > > > You could try the alternative DRBD transfer scripts here: > > > http://www.antibozo.net/xen/qemu-dm.drbd > > > > > > I had a similar issues and they fixed it. They work for HVM too. PVM > > > have issues when more than one hard disk is specified in the config > > > file. > > > > > > Rob > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Mark Adams > > > Sent: 04 June 2010 14:49 > > > To: Miles Fidelman > > > Cc: xen-users@lists.xensource.com > > > Subject: Re: [Xen-users] Live migrate using DRBD > > > > > > It''s worth noting that if I do a normal migrate it works correctly. > > > > > > On Fri, Jun 04, 2010 at 02:42:55PM +0100, Mark Adams wrote: > > > > Does anyone have any ideas about this or suggestions to test? > > > > > > > > Best Regards, > > > > Mark > > > > > > > > On Thu, Jun 03, 2010 at 02:50:34PM +0100, Mark Adams wrote: > > > > > Yea I''ve got that as follows; > > > > > > > > > > net { > > > > > allow-two-primaries; > > > > > after-sb-0pri discard-zero-changes; > > > > > after-sb-1pri discard-secondary; > > > > > } > > > > > > > > > > It all migrates correctly, it just won''t destroy the original host > > > > > correctly! > > > > > > > > > > On Thu, Jun 03, 2010 at 08:58:55AM -0400, Miles Fidelman wrote: > > > > > > Mark Adams wrote: > > > > > >> However if I live migrate the domain, it successfully transfers > > > the > > > > > >> domain across and is running on the other node, but will stay in > > > the > > > > > >> suspended "migrating-domain" on the first node. The log seems to > > > be > > > > > >> paused at the following: > > > > > >> > > > > > >> > > > > > > have you enabled "allow-two-primaries" in your DRBD config file? > > > > > > > > > > > > see: > > > > > > http://www.drbd.org/users-guide-emb/ch-xen.html > > > > > > > > > > > > -- > > > > > > In theory, there is no difference between theory and practice. > > > > > > In<fnord> practice, there is. .... Yogi Berra > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > Xen-users mailing list > > > > > > Xen-users@lists.xensource.com > > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > The SAQ Group > > > > > > Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ > > > SAQ is the trading name of SEMTEC Limited. Registered in England & Wales > > > Company Number: 06481952 > > > > > > http://www.saqnet.co.uk AS29219 > > > > > > SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business. > > > > > > Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support. > > > > > > ISPA Member > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Mark Adams Technical Manager mark@campbell-lange.net . Campbell-Lange Workshop www.campbell-lange.net 0207 6311 555 3 Tottenham Street London W1T 2AF Registered in England No. 04551928 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Jun 4, 2010 at 11:06 PM, Mark Adams <mark@campbell-lange.net> wrote:> EDIT: I''ve located pygrub and will test the other scripts, > > Still just incase... Has anyone else got PVM''s using DRBD with more than > 1 disk live migrating on Debian Lenny with the default drbd scripts?It works fine on RHEL/Centos5, drbd83, Xen 3.4. You didn''t mention how you use the disk. In my experience it''s easier to simply use phy:/dev/drbd/by-res/ symlinks (which is available since drbd 8.3, I think) compared to using drbd:/ (which I never got to work) or phy:/dev/drbd* (which is not informative). If it still fails, you might want to try newer version of drbd and Xen. AFAIK Lenny''s version is pretty old. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Jun 05, 2010 at 05:37:49AM +0700, Fajar A. Nugraha wrote:> On Fri, Jun 4, 2010 at 11:06 PM, Mark Adams <mark@campbell-lange.net> wrote: > > EDIT: I''ve located pygrub and will test the other scripts, > > > > Still just incase... Has anyone else got PVM''s using DRBD with more than > > 1 disk live migrating on Debian Lenny with the default drbd scripts?The scripts don''t work well on my setup. It won''t run paravirt hosts at all, and migrating hvm hosts doesnt work.> > It works fine on RHEL/Centos5, drbd83, Xen 3.4. > You didn''t mention how you use the disk. In my experience it''s easier > to simply use phy:/dev/drbd/by-res/ symlinks (which is available since > drbd 8.3, I think) compared to using drbd:/ (which I never got to > work) or phy:/dev/drbd* (which is not informative).I''m using the drbd: resources because they have the built in scripts to make the hosts primary/secondary etc as required with the live migration. Does this still work when using the phy:/ or do you need to do this yourself?> > If it still fails, you might want to try newer version of drbd and > Xen. AFAIK Lenny''s version is pretty old. > > -- > Fajar_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jun 7, 2010 at 6:07 PM, Mark Adams <mark@campbell-lange.net> wrote:>> You didn''t mention how you use the disk. In my experience it''s easier >> to simply use phy:/dev/drbd/by-res/ symlinks (which is available since >> drbd 8.3, I think) compared to using drbd:/ (which I never got to >> work) or phy:/dev/drbd* (which is not informative). > > I''m using the drbd: resources because they have the built in scripts to > make the hosts primary/secondary etc as required with the live > migration. Does this still work when using the phy:/ or do you need to > do this yourself?I never did got those script to work. What I did is set both resource to act as primary all the time. While this has the POSSIBILITY of introduing corruption (due to simultaneus write to both nodes), it''s no more dangerous than mapping an external SCSI LUN to two hosts. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Adams wrote:> On Sat, Jun 05, 2010 at 05:37:49AM +0700, Fajar A. Nugraha wrote: > >> On Fri, Jun 4, 2010 at 11:06 PM, Mark Adams<mark@campbell-lange.net> wrote: >> >>> EDIT: I''ve located pygrub and will test the other scripts, >>> >>> Still just incase... Has anyone else got PVM''s using DRBD with more than >>> 1 disk live migrating on Debian Lenny with the default drbd scripts? >>> > The scripts don''t work well on my setup. It won''t run paravirt hosts at > all, and migrating hvm hosts doesnt work. > >Yes. xm migrate --live seems to work just fine for me on Debian Lenny. What DOESN''T work for me is live migrate under heartbeat control. Using the Xen OCF resource with a basic configuration, all works fine: crm_resource --migrate takes down the resource on one node, brings it up on the specified node; taking down a node yields an automatic startup on the failover node. On the other hand, setting allow_migrate to true (allowing for live migrate), results in failures whenever crm_resource --migrate is invoked. Never did track this down (since my primary use is failover, I don''t really care about live migration). Miles -- In theory, there is no difference between theory and practice. In<fnord> practice, there is. .... Yogi Berra _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Yes. xm migrate --live seems to work just fine for me on Debian Lenny. > > What DOESN''T work for me is live migrate under heartbeat control. Using > the Xen OCF resource with a basic configuration, all works fine: > crm_resource --migrate takes down the resource on one node, brings it up > on the specified node; taking down a node yields an automatic startup on > the failover node. On the other hand, setting allow_migrate to true > (allowing for live migrate), results in failures whenever crm_resource > --migrate is invoked. Never did track this down (since my primary use > is failover, I don''t really care about live migration).Hi Miles, Do your PV guests have more than 1 device being exported in your disk setting?> > > Miles > > -- > In theory, there is no difference between theory and practice. > In<fnord> practice, there is. .... Yogi Berra > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Adams wrote:>> Yes. xm migrate --live seems to work just fine for me on Debian Lenny. >> >> What DOESN''T work for me is live migrate under heartbeat control. Using >> the Xen OCF resource with a basic configuration, all works fine: >> crm_resource --migrate takes down the resource on one node, brings it up >> on the specified node; taking down a node yields an automatic startup on >> the failover node. On the other hand, setting allow_migrate to true >> (allowing for live migrate), results in failures whenever crm_resource >> --migrate is invoked. Never did track this down (since my primary use >> is failover, I don''t really care about live migration). >> > > Do your PV guests have more than 1 device being exported in your disk > setting? >Exported (as in NFS), no. Imported as in this excerpt for the DomU .cfg file for my test configuration: ----- disk = [ ''drbd:test2-root,xvda1,w'', ''drbd:test2-swap,xvda2,w'', ] root = ''/dev/xvda1 ro'' ----- ... obviously, yes. Miles -- In theory, there is no difference between theory and practice. In<fnord> practice, there is. .... Yogi Berra _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Imported as in this excerpt for the DomU .cfg file for my test > configuration: > ----- > disk = [ > ''drbd:test2-root,xvda1,w'', > ''drbd:test2-swap,xvda2,w'', > ] > root = ''/dev/xvda1 ro'' > ----- > ... obviously, yes.And your running Debian Lenny with xen 3.2.1? I''m just trying to ascertain if this is a bug in the current stable lenny version or with my setup. Cheers, Mark> > Miles >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Adams wrote:>> Imported as in this excerpt for the DomU .cfg file for my test >> configuration: >> ----- >> disk = [ >> ''drbd:test2-root,xvda1,w'', >> ''drbd:test2-swap,xvda2,w'', >> ] >> root = ''/dev/xvda1 ro'' >> ----- >> ... obviously, yes. >> > And your running Debian Lenny with xen 3.2.1? > > I''m just trying to ascertain if this is a bug in the current stable > lenny version or with my setup. > >I installed the xen packages for Lenny, I think they''re at xen 3.2.1. Since xm migrate --live works, but crm_resource --migrate doesn''t work right, I have the feeling this is not a xen bug, but a heartbeat2 or ocf xen cluster agent issue. I''m currently in the process of upgrading my ancient heartbeat install to pacemaker. Miles -- In theory, there is no difference between theory and practice. In<fnord> practice, there is. .... Yogi Berra _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jun 09, 2010 at 12:34:39PM -0400, Miles Fidelman wrote:> Mark Adams wrote: >>> Imported as in this excerpt for the DomU .cfg file for my test >>> configuration: >>> ----- >>> disk = [ >>> ''drbd:test2-root,xvda1,w'', >>> ''drbd:test2-swap,xvda2,w'', >>> ] >>> root = ''/dev/xvda1 ro'' >>> ----- >>> ... obviously, yes. >>> >> And your running Debian Lenny with xen 3.2.1? >> >> I''m just trying to ascertain if this is a bug in the current stable >> lenny version or with my setup. >> >>Hi All, (for google) In my instance the issue was my clocksource causing suspend issues. Setting clocksource=jiffies in my domu.cfg file sorted the problem out. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Adams wrote:> (for google) In my instance the issue was my clocksource causing suspend > issues. Setting clocksource=jiffies in my domu.cfg file sorted the > problem out. >ah yes... there are some very important best practices listed on http://wiki.debian.org/Xen - I got bit by the "time runs backwards" problem until I discovered the advice on the wiki I''ve found it critical to run NTP inside each domU as well -- In theory, there is no difference between theory and practice. In<fnord> practice, there is. .... Yogi Berra _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users