Any ideas?

Maybe my question could be rephrased as:

How do I convert my /etc/xen configuration files to virsh XML files?


 - ask


Begin forwarded message:

From: Ask Bjørn Hansen <[EMAIL PROTECTED]>
Date: February 10, 2008 1:24:10 AM PST
To: [email protected]
Subject: [Fedora-xen] Custom bridge script; upgrade from Fedora 6 to Fedora 8

Hi,

Since upgrading from Fedora 6 to Fedora 8 my custom bridge script stopped working. I need to have both eth0 and eth1 bridged into each XM. My xen machines are just defined in old-style /etc/xen/ foo configuration files, like

vif = [ 'mac=00:16:3e:42:08:1d, bridge=xenbr0', 'mac=00:16:3e: 42:08:1e, bridge=xenbr1' ]

I've changed that to

vif = [ 'mac=00:16:3e:42:08:1d, bridge=eth0', 'mac=00:16:3e: 42:08:1e, bridge=eth1' ]

but when I do a "xm create foo" I still end up with the new interfaces on the wrong bridge!

# brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.0030488c8a26       no              peth0
eth1            8000.0030488c8a27       no              peth1
xenbr0          8000.feffffffffff       no              vif1.0
xenbr1          8000.feffffffffff       no              vif1.1

If I manually move the vifX.X interfaces to the eth0/eth1 bridges then everything works.

This is my custom bridge script:

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" netdev=eth1 bridge=eth1
"$dir/network-bridge" "$@" netdev=eth0 bridge=eth0

Any ideas?


- ask

--
http://develooper.com/ - http://askask.com/


--
Fedora-xen mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-xen



--
http://develooper.com/ - http://askask.com/



--
Fedora-xen mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-xen

Reply via email to