[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen version 3.3 and config file
Quoting Paras pradhan <pradhanparas@xxxxxxxxx>: On Wed, Dec 3, 2008 at 11:15 PM, <jonr@xxxxxxxxxx> wrote:Quoting Paras pradhan <pradhanparas@xxxxxxxxx>:On Wed, Dec 3, 2008 at 8:47 PM, <jonr@xxxxxxxxxx> wrote:Quoting Paras pradhan <pradhanparas@xxxxxxxxx>: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, JonAnd 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@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-usersFor 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@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |