[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] VM configuration file when created with VMM or Virt-install


  • To: "John Haxby" <john.haxby@xxxxxxxxxx>
  • From: "Henok Mikre" <henokmikre@xxxxxxxxx>
  • Date: Tue, 3 Jun 2008 08:48:19 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx, "Kumar, Venkat" <Venkat.Kumar@xxxxxxx>
  • Delivery-date: Tue, 03 Jun 2008 05:48:54 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=PUNXDXjcqfOfP2+mPX3HeHk8+YNiW/l0fAdtXpT81bAovI3Ci7OL/9n8GJghoLz+4d2DvpxF1oB/WiINNddpRIKIu7eJC22WGLSHhjgDnlrVQKIzZyR+W1srHIWZ1qKd/2mhCNw6cev9zmJ+QBcpviP/KKHPGoZL7UvHvSJLAkA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Also, once you have installed using virt-install, you can dump the xml file of the basic configuration to a file...

virsh dumpxml <domain id> > myconf.xml

From the on you can start the vm through CLI by doing ...

virsh create myconf.xml

On Tue, Jun 3, 2008 at 8:01 AM, John Haxby <john.haxby@xxxxxxxxxx> wrote:
Kumar, Venkat wrote:

When a VM is created with VMM GUI tool or Virt-install command line tool, where will the domain configuration file be stored?

 
It depends ...

However, a general technique may help you:

  touch /tmp/stamp
  virt-install ...
  find / -xdev -newer /tmp/stamp

That will find all the files that were touched by the virt-install.  The "-xdev" stops find wandering off into /proc and /sys; if you suspect files are being created on some other file system you may wish to add its mount point to the list of directories to search.

jch

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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.