hi I am running xen 3.3 in cenos 5.2. I got th rpms from http://www.gitco.de/repo/xen3.3.0. Then I used virt-install to install centos52 guest. All went fine and I can run my guest using : xm start guestname. But I am not able to find the domain configuration file of my guest. It should be in /etc/xen/ (?) but this time where does the virt-install stores the config file. Thanks Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting Paras pradhan <pradhanparas@gmail.com>:> hi > > I am running xen 3.3 in cenos 5.2. I got th rpms from > http://www.gitco.de/repo/xen3.3.0. Then I used virt-install to install > centos52 guest. All went fine and I can run my guest using : xm start > guestname. But I am not able to find the domain configuration file of > my guest. It should be in /etc/xen/ (?) but this time where does the > virt-install stores the config file. > > > Thanks > Paras.Hello Paras, I asked the same question awhile back. The ugly truth is that it doesn''t create the file any longer. You can view the xml output by using ''virsh dumpxml <domuName>''. Hope that helps, Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Dec 3, 2008 at 8:47 PM, <jonr@destar.net> wrote:> Quoting Paras pradhan <pradhanparas@gmail.com>: > >> hi >> >> I am running xen 3.3 in cenos 5.2. I got th rpms from >> http://www.gitco.de/repo/xen3.3.0. Then I used virt-install to install >> centos52 guest. All went fine and I can run my guest using : xm start >> guestname. But I am not able to find the domain configuration file of >> my guest. It should be in /etc/xen/ (?) but this time where does the >> virt-install stores the config file. >> >> >> Thanks >> Paras. > > Hello Paras, > > I asked the same question awhile back. The ugly truth is that it doesn''t > create the file any longer. You can view the xml output by using ''virsh > dumpxml <domuName>''. > > Hope that helps, > > Jon > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >And how do I change the parameters.. like changing memory, disks etc. Thanks Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting Paras pradhan <pradhanparas@gmail.com>:> On Wed, Dec 3, 2008 at 8:47 PM, <jonr@destar.net> wrote: >> Quoting Paras pradhan <pradhanparas@gmail.com>: >> >>> hi >>> >>> I am running xen 3.3 in cenos 5.2. I got th rpms from >>> http://www.gitco.de/repo/xen3.3.0. Then I used virt-install to install >>> centos52 guest. All went fine and I can run my guest using : xm start >>> guestname. But I am not able to find the domain configuration file of >>> my guest. It should be in /etc/xen/ (?) but this time where does the >>> virt-install stores the config file. >>> >>> >>> Thanks >>> Paras. >> >> Hello Paras, >> >> I asked the same question awhile back. The ugly truth is that it doesn''t >> create the file any longer. You can view the xml output by using ''virsh >> dumpxml <domuName>''. >> >> Hope that helps, >> >> Jon >> > > > And how do I change the parameters.. like changing memory, disks etc. > > > Thanks > Paras.Use ''virsh''. As root type vish on the command line, this will drop you into the virsh shell. From there you can do a ''memset <domid> <meminkb>''. Use ''man virsh'' to figure out how to use all of the commands. No Problem, Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Dec 3, 2008 at 11:15 PM, <jonr@destar.net> wrote:> Quoting Paras pradhan <pradhanparas@gmail.com>: > >> On Wed, Dec 3, 2008 at 8:47 PM, <jonr@destar.net> wrote: >>> >>> Quoting Paras pradhan <pradhanparas@gmail.com>: >>> >>>> hi >>>> >>>> I am running xen 3.3 in cenos 5.2. I got th rpms from >>>> http://www.gitco.de/repo/xen3.3.0. Then I used virt-install to install >>>> centos52 guest. All went fine and I can run my guest using : xm start >>>> guestname. But I am not able to find the domain configuration file of >>>> my guest. It should be in /etc/xen/ (?) but this time where does the >>>> virt-install stores the config file. >>>> >>>> >>>> Thanks >>>> Paras. >>> >>> Hello Paras, >>> >>> I asked the same question awhile back. The ugly truth is that it doesn''t >>> create the file any longer. You can view the xml output by using ''virsh >>> dumpxml <domuName>''. >>> >>> Hope that helps, >>> >>> Jon >>> >> >> >> And how do I change the parameters.. like changing memory, disks etc. >> >> >> Thanks >> Paras. > > Use ''virsh''. As root type vish on the command line, this will drop you into > the virsh shell. From there you can do a ''memset <domid> <meminkb>''. Use > ''man virsh'' to figure out how to use all of the commands. > > No Problem, > Jon > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >For memset and few other options it is file. But there may be lots of other cases in which the domain config file should be tweaked. As an example: I need to change disk phy:/dev/drbd1 to disk drbd:myresourcedisk Thanks Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting Paras pradhan <pradhanparas@gmail.com>:> On Wed, Dec 3, 2008 at 11:15 PM, <jonr@destar.net> wrote: >> Quoting Paras pradhan <pradhanparas@gmail.com>: >> >>> On Wed, Dec 3, 2008 at 8:47 PM, <jonr@destar.net> wrote: >>>> >>>> Quoting Paras pradhan <pradhanparas@gmail.com>: >>>> >>>>> hi >>>>> >>>>> I am running xen 3.3 in cenos 5.2. I got th rpms from >>>>> http://www.gitco.de/repo/xen3.3.0. Then I used virt-install to install >>>>> centos52 guest. All went fine and I can run my guest using : xm start >>>>> guestname. But I am not able to find the domain configuration file of >>>>> my guest. It should be in /etc/xen/ (?) but this time where does the >>>>> virt-install stores the config file. >>>>> >>>>> >>>>> Thanks >>>>> Paras. >>>> >>>> Hello Paras, >>>> >>>> I asked the same question awhile back. The ugly truth is that it doesn''t >>>> create the file any longer. You can view the xml output by using ''virsh >>>> dumpxml <domuName>''. >>>> >>>> Hope that helps, >>>> >>>> Jon >>>> >>> >>> >>> And how do I change the parameters.. like changing memory, disks etc. >>> >>> >>> Thanks >>> Paras. >> >> Use ''virsh''. As root type vish on the command line, this will drop you into >> the virsh shell. From there you can do a ''memset <domid> <meminkb>''. Use >> ''man virsh'' to figure out how to use all of the commands. >> >> No Problem, >> Jon >> >> >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > For memset and few other options it is file. But there may be lots of > other cases in which the domain config file should be tweaked. As an > example: I need to change > > disk phy:/dev/drbd1 > to > disk drbd:myresourcedisk > > > Thanks > Paras.So what you would do is dump the domu to a xml file and edit the file then restart the domain. Like so: virsh dump fc10 > fc10.xml vi fc10.xml edit the disk section in fc10.xml file and restart the domain Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users