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

[Xen-users] Clock jumps during live migration

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Clock jumps during live migration
From: Nick Dyer <nick.dyer@xxxxxxxxxxx>
Date: Thu, 24 Jan 2008 15:29:29 +0000
Delivery-date: Thu, 24 Jan 2008 07:45:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
Hi. I've got a strange problem with xen migration under Ubuntu Gutsy 7.10.

I have two machines set up with a DRBD 8.2.4 partition shared between them. This uses the new block-drbd feature where you can set a disk partition using something like this

disk        = [ 'drbd:storm,sda1,w' ]

in the .cfg file.

This allows me to do live migration now.

However, I've noticed that when a machine is migrated, the clock seems to jump 3 hours. For example:

root@storm:~# while :; do date; sleep 1; done
Thu Jan 24 15:22:18 UTC 2008
Thu Jan 24 15:22:19 UTC 2008
Thu Jan 24 15:22:20 UTC 2008
Thu Jan 24 13:16:55 UTC 2008
Thu Jan 24 13:16:56 UTC 2008
Thu Jan 24 13:16:57 UTC 2008

(the clock changes as the migration happens).

In this case, the domU ended up in the past!

Both dom0 machines have their clocks set correctly, of course.

The only oddity of the system is that I've had to set the domUs to use the jiffies clocksource rather than the xen clocksource because of this ubuntu bug

https://bugs.launchpad.net/xen/+bug/146924

although setting the clocksource back to xen doesn't seem to help with this new bug.

Any thoughts?

cheers

Nick Dyer


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Clock jumps during live migration, Nick Dyer <=