WARNING - OLD ARCHIVES

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

xen-users

Re: [Xen-users] Xen version 3.3 and config file

To: jonr@xxxxxxxxxx
Subject: Re: [Xen-users] Xen version 3.3 and config file
From: "Paras pradhan" <pradhanparas@xxxxxxxxx>
Date: Thu, 4 Dec 2008 10:59:40 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 04 Dec 2008 09:00:29 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=fofPH3obow9b7PQ36XMRYybgoQJtkcoWGQztDawskWs=; b=ZhKU23X/YVALBIum9ABMh3+Wxcxk4lPDr20kHniTx3K5irwjz6S74SSR7CwmKCh8TO LE7UGGyt1jH+BgTX2LrdDZldrp78u+MzMQwK79McYN3iKdFwkIXNjgC90qIfJ4vkrouR O9Xwo0RUpzOROY0taSYwG1Rhz1YyGdbhH3mkE=
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:content-transfer-encoding:content-disposition :references; b=G5GNvDfE41rIgQ8Rstawd/GOYs937tFUjKo7C7B6+HwpZBYfJre+weFzYjTDF+gK83 V0prZ5xL928pJLUChakxv21D6+9Cv35DtCMmnEAH9DEjBxGyOeweWu+JWQSzgSv/K2g3 +Z9OTWNd+Crw80rwsiviav4bQNoPNZQ24wk8w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081203201537.b6sinv0t34w0gc48@xxxxxxxxxxxxxx>
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: <8b711df40812031350g132bd5b9qa9912cf5ec23b5b7@xxxxxxxxxxxxxx> <20081203174734.gii05wg80g0wckkg@xxxxxxxxxxxxxx> <8b711df40812032047t2a3680eav6fd3483df4ada161@xxxxxxxxxxxxxx> <20081203201537.b6sinv0t34w0gc48@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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,
>>>
>>> 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@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users