[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Help on upgrade Xen3 in CentOS5.4 to Xen3.4.2


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.