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

RE: [Xen-users] Dedicate NIC's to DomU's


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Hans Pfeil" <HPfeil@xxxxxxx>
  • Date: Tue, 10 Jun 2008 09:48:46 -0500
  • Delivery-date: Tue, 10 Jun 2008 07:49:25 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Yea,
It looks like your using a slightly older Xen than me. Thats correct...
So, start a guest or two :) What happens?

jlc


Morning Joe,  started up one of my guests.  I don't think it's working.  How do 
you tell if it's using a different NIC.  When I go to details of that guest 
server in the virt manager it shows eth0.  I'm trying to get it to use eth1.  
Here are some more outputs.


:~ # brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                        peth0
                                                        vif1.0
xenbr1          8000.feffffffffff       no              vif0.1
                                                        peth1
:~ #


Here is the config file for that guest server, /etc/xen/vm/name of server.  Is 
this the right one I should be modifying?


ostype="oes2l"
name="xxxxxxx"
memory=1024
vcpus=1
uuid="a1ee16a1-cd9b-2493-60cb-77aea298d8fa"
on_crash="destroy"
on_poweroff="destroy"
on_reboot="restart"
localtime=0
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda2:/boot/vmlinuz-xenpae,/boot/initrd-xenpae"
extra="TERM=xterm "
disk=[ 'file:/var/lib/xen/images/xxxxxxx/disk0,xvda,w', ]
vif=[ 'bridge=xenbr1, mac=00:16:3e:6f:e6:6a', ]  (I put bridge=xenbr1 here.  Is 
this correct?)
vfb=["type=vnc,vncunused=1"]



Here is the xml file in the same path location as the file above.  Do I need to 
do anything here?

<domain type="xen">
  <ostype>oes2l</ostype>  <name>xxxxxxx</name>
  <memory>1048576</memory>
  <maxmemory>16777216</maxmemory>
  <vcpu>1</vcpu>
  <uuid>a1ee16a1-cd9b-2493-60cb-77aea298d8fa</uuid>
  <on_crash>destroy</on_crash>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <localtime>0</localtime>  <os>
    <type>linux</type>
    <kernel>/tmp/kernel.w0ivGt</kernel>
    <initrd>/tmp/install-initrd.fNK5FG</initrd>
    <cmdline>TERM=xterm install=http://xxx.xxx.xxx.xxx/sles10sp1 </cmdline>
  </os>
  <devices>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/var/lib/xen/images/xxxxxx/disk0'/>
      <target dev='xvda'/>
    </disk>
<interface type='bridge'><mac address='00:16:3e:6f:e6:6a'/><script 
path='/etc/xen/scripts/vif-bridge'/></interface>
<graphics type='vnc'/>
  </devices>
</domain>

Thanks
-Hans




_______________________________________________
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®.