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/
Home Products Support Community News


Re: [Xen-users] Difference between xm create and xm new / xm start

To: Ian Murray <murrayie@xxxxxxxxxxx>
Subject: Re: [Xen-users] Difference between xm create and xm new / xm start
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 18 Aug 2009 10:50:35 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 Aug 2009 20:51:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <298543.58190.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <298543.58190.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Aug 18, 2009 at 8:28 AM, Ian Murray<murrayie@xxxxxxxxxxx> wrote:
> Hi,
> As far as I can see, there is something different between using 'xm create' 
> and 'xm new' followed by 'xm start'. It's something to do with data being 
> stored in XenStore. I couldn't suspend the one started with 'xm create'. 
> Could someone please explain the effective difference between the two and 
> when 'create' should be used instead of 'new' and vice-versa.

xm create -> domU configuration is NOT managed by xend. Usually using
config files on /etc/xen. This is the easiest method to use for
beginners, as you have a config file that you can edit manually. The
default on RHEL5 (which uses Xen 3.1+).

"xm new" and "xm start" -> domU configuration is managed by xend. You
change values using commands like "xm block-attach", which can modify
settings online. No config file to edit manually. The default on
current versions of Xen.

Personally I use config files and "xm create", even on Xen 3.4 boxes.
It's easier to manage that way.


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>