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] Help on upgrade Xen3 in CentOS5.4 to Xen3.4.2

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Help on upgrade Xen3 in CentOS5.4 to Xen3.4.2
From: KC LO <kclo2000@xxxxxxxxx>
Date: Sat, 20 Feb 2010 01:04:43 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 19 Feb 2010 09:05:57 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=toGJj5kgkOG8untpg/hLskUJbE+8O0/ak84IH4EhhQM=; b=U7vMQ7Z/qhN7+drZHfT/iGGtYY9uItAVGu/KMto1C4D1mkjFD0qgyaJKbnoYonLeMv pP429/D11WCuhevGUhD/OmZ+UvRR/nXzr4mGu91FrK4WVsIyA/MdicaCgHsroW9s8qd7 kif9YSTVDJLnnJjE3i8+UCZG3zNrLiO09JNZs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=s6/r/gh064V+4O9sWfABbfmmPxOQha30oqIkW+j+SDPc2SmVhiR4M6WRRRrj7LYQip wHa/hgq+mH4s1Itc6UnNvEzuLoGss/nXHhGv5pL7U1SQkoB0qyg+YCzNfmK5XbgS96mw BjJTnMLSV+n0d//YKCQXShyxOFZFrBp2FGdnM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f1002190434k1252ed6fs8497643eeb5e221c@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: <65a0d6ca1002190310w3f39233cr303ab3318c708e15@xxxxxxxxxxxxxx> <7207d96f1002190434k1252ed6fs8497643eeb5e221c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Fajar,

Thanks for your help and advise.

For the config file, it is in sxp format, How can I convert it back to
old xen3.0 format.

KC

On 19 February 2010 20:34, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Fri, Feb 19, 2010 at 6:10 PM, KC LO <kclo2000@xxxxxxxxx> wrote:
>> After upgrade, I got several problems : -
>> 1) In past Xen3.0, I can use script to create xenbr0 and additional
>> xenbr1-5 for my six NICs.  I can then use the config file to assign
>> different xenbr[x] to different DomU.  However, I can't find xenbr0
>> under ifconfig now.
>
> I think the default bridge name is eth0 under Xen 3.4.x
>
>>  How can I add additional xenbr[1-5].  I have
>> followed the link of xen.org to create the my_network_script script
>>
>>  more my_network_script
>> #!/bin/sh
>> dir=$(dirname "$0")
>> "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
>>
>> and run my_network_script start.  However, no output display and still
>> can't find xenbr0
>
> Perhaps that's because the bridge is already created? See "brctl show".
> Try using that script on xend-config.sxp, and reboot.
>
> Personally I gave up using the bundled network-bridge script a long
> time ago. I simply create bridges manually using RHEL's config files
> (/etc/sysconfig/network-scripts/ifcfg-*) and comment-out
> network-script entry on xend-config.sxp.
>
>>
>> 2) I have used virt-install to create several DomU guest linux through
>> http install.  In previous Xen3.0, it will generate
>> the configuration file under /etc/xen.  But I can't find the
>> configuration file now.  After I shutdown the guest DomU, it still
>> appears under xm list without ID.  I want to get the configuration
>> file back so that I can perform modification.
>
> newer version have config files managed by xend. You're only supposed
> to change them using commands like "xm mem-set", "xm block-attach",
> and so on (or from frontends like virt-manager).
>
> You could however work around that by:
> - find the appropriate config under
> /var/lib/xend/domains/*/config.sxp. You can find the appropriate uuid
> using the command "virsh domuuid your-domU-name"
> - copy that file to /etc/xen/your-domU-name.sxp
> - shutdown domU
> - "xm delete your-domU-name"
> - edit the sxp config file as needed. Note that this is sxp-style config file.
> - "xm new -F /etc/xen/your-domU-name.sxp"
> - "xm start your-domU-name"
>
> --
> Fajar
>

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