Kumar, Venkat
2008-Jun-03 11:44 UTC
[Xen-users] VM configuration file when created with VMM or Virt-install
When a VM is created with VMM GUI tool or Virt-install command line tool, where will the domain configuration file be stored? =============================== Venkata Kumar Duvvuru, Software Engineer II, LSI Engenio, Adv. Development, Bangalore. Mob: +91-9880318542 Off : +91-80-41978700 ( Extn : 3544 ) =============================== _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John Haxby
2008-Jun-03 12:01 UTC
Re: [Xen-users] VM configuration file when created with VMM or Virt-install
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@lists.xensource.com http://lists.xensource.com/xen-users
Henok Mikre
2008-Jun-03 12:48 UTC
Re: [Xen-users] VM configuration file when created with VMM or Virt-install
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@oracle.com> 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jim burns
2008-Jun-04 02:25 UTC
Re: [Xen-users] VM configuration file when created with VMM or Virt-install
On Tuesday June 03 2008 07:44:40 am 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?Try looking in /var/lib/xend/domains/2ad289f4-d096-da85-1397-2cef5d876bee/config.sxp (substitute your uuid, or search them all). _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users