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

xen-users

[Top] [All Lists]

Re: [Xen-users] How to specify a VMID to resume in

To: "Jun OKAJIMA" <okajima@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How to specify a VMID to resume in
From: "Jayesh Salvi" <jayeshsalvi@xxxxxxxxx>
Date: Sat, 1 Apr 2006 09:51:28 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年4月01日 15:53:23 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=hRyAkqpfj63J1uf1pJovBM3yLFoQMIhVFFpsvYOfAofVqBedFg80R0wuueHSfDwAOlAZ7q1GS5iZft9B945jjwTc6mKyiTxotpujEC1EP9/mBH+g2GxSpxND0sYykbPVClU8wOmAV1PLAU06ita9hQrCWVG9SD4uZ3qFUkWSh1Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200604010108.AA00958@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <200604010108.AA00958@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

1. How to specify a VMID to resume in?
Can you specify which vmid to resume in?
For example, what I want to do is like this?
# xm save 1 debian.chk
# xm restore debian.chk 1 <- here you usually resume this in dom2,
not 1 as it used to be.
I want resume debian.chk in dom1!.


2. About Xen live migration where both PC have same disk image.
Assume PC_A and PC_B both have very same /XEN/Debian.img, but
inode num, type of FS, etc,,, are different.
I ask you that if I do live-migration fromm PC_A to PC_B,
can I resume the image without using iSCSI or NBD?
I mean, when the VM stays on PC_A, it mounts /XEN/Debian.img on PC_A's HDD,
and after it migrates to PC_B, it mounts /XEn/Debian.img on PC_B HDD.
Is this possible?

AFAIU, this is not possible. The file handles opened by the OS on PC_A correspond to inodes on the file system on PC_A. When the VM is migrated to PC_B, the inodes refered in the file handles are no longer found (or are wrong inodes). So the VM will hang or give some unpredictable behavior. It is necessary that the storage should be visible at the device node level on PC_A and PC_B, hence ISCSI or AOE or cluster FS will be needed.

3. How to fork "after resumed function" inside VMs?
Is this possible to do suspending from inside of DomU?
It is like this:
[Dom3]# /bin/suspend.sh
---------------------
suspend.sh:
#!/bin/sh
/usr/sbin/xm save /mnt/NFS/dom0/XEN/$DOM_NAME/suspend.img
[here suspends]
/etc/init.d/dhcpc restart
[After resumed, you get dhcp re-run automatically.]
---------------------



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



--
Jayesh
------------------------------------------------------------------------
Everything you can imagine is real
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] DNAT TCP checksum error , jean-luc.voisin
Next by Date: [Xen-users] "asm_offsets.h": No such file or directory (trying to boot a SATA device) , Íñigo Careaga
Previous by Thread: [Xen-users] How to specify a VMID to resume in , Jun OKAJIMA
Next by Thread: [Xen-users] Debian DomU no network and modprobe errors on xm create , Simon
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /