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

Re: [Xen-users] Guest - slow response to keystroke (SOLVED)


  • To: Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Stephen Liu <satimis@xxxxxxxxx>
  • Date: Sun, 30 Nov 2008 19:00:33 +0800 (CST)
  • Cc:
  • Delivery-date: Sun, 30 Nov 2008 03:01:15 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=jNKJoa0UsangOC5Nz09NWTwbo0YPQRutzpJlFY7w9oZYhn8HUEWMSzgZQmDZ1maxqdQEeM3RAckteYj0PHGq0p1j7MpoBPByAJBp7Q/gnmwo4Lztz+baz5162CxWwqqnrksK15A04Z87u1EUBBo91zOZSplowToFvW/lDei7qiE=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

--- Thomas Halinka <lists@xxxxxxxxx> wrote:

> Am Samstag, den 29.11.2008, 23:06 +0800 schrieb Stephen Liu:
> > --- Thomas Halinka <lists@xxxxxxxxx> wrote:
> > 
> > > Am Freitag, den 28.11.2008, 23:46 +0800 schrieb Stephen Liu:
> > > > Hi Thomas,
> > > > 
> > > > 
> > > > > Removing the mac-adress is not a good idea, since xen
> generates
> > > one
> > > > > on
> > > > > every domu-startup, if this is not defined.
> > > > > 
> > > > > So you will increase your ethX on every domu-startup, because
> for
> > > > > udev
> > > > > its a new nic, since it has a new MAC-Adress.
> > > > 
> > > > 
> > > > I have 19 guests created on the Xen box.  Most *.cfg file don't
> > > have
> > > > MAC-Address, only 2 of them having it.
> > > 
> > > ok, take one of this 17 guests, which has no mac assigned.
> > > 
> > > xm console guestxyz
> > >   e.g. shows eth0 with MAC-ADRESS_A
> > > xm shutdown guestxyz
> > > xm create guestxyz
> > >         no more eth0 is present, since a new mac is assigned.
> > >   ifconfig -a shows only eth1
> > > xm shutdown 
> > > xm create
> > >   eth1 is gone, now you have eth2 because mac has changed.
> > > and so on....
> > 
> > 
> > Performed following steps;
> > 
> > 
> > # xm create /etc/xen/xen1.satimis.com.cfg
> > Using config file "/etc/xen/xen1.satimis.com.cfg".
> > Started domain xen1.satimis.com
> 
> lets have a look at "ifconfig -a | grep Hardware"


"ifconfig -a | grep Hardware" has no output.


xen1:~# ifconfig -a | grep HWaddr
eth0      Link encap:Ethernet  HWaddr 00:16:3E:21:63:05


Started another guest without shutdown the first guest.

# xm create /etc/xen/xen2.satimis.com.cfg
# ssh xen2.satimis.com


xen2:~# ifconfig -a | grep HWaddr
eth0      Link encap:Ethernet  HWaddr 00:16:3E:38:93:F1


I think "HWaddr 00:16:3E:38:93:F1" is the MAC address which is NOT
fixed.  Each time a new MAC address will be alloted after booting the
guest.  So we can't set a fixed MAC address on *.cfg file.


> > # xm console xen1.satimis.com
> > Linux version 2.6.18-xen (shand@endor) (gcc version 3.4.4 20050314
> .....
> > Debian GNU/Linux 4.0 xen1.satimis.com tty1
> > 
> > 
> > No MAC address found.
> 
> each Network-Device has a MAC-Adress!


Yes.  Even this is an onboard ethernet.  It must have MAC address.


On host;

xen0:/home/satimis# ifconfig -a | grep HWaddr
eth0      Link encap:Ethernet  HWaddr 00:0E:A6:F9:A3:5B
peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
veth1     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
veth2     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
veth3     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
vif0.1    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
vif0.2    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
vif0.3    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF


"HWaddr 00:0E:A6:F9:A3:5B" is the MAC address of the ethernet.


> > # xm shutdow xen1.satimis.com
> > No complaint
> > 
> > 
> > # nano /etc/xen/xen1.satimis.com.cfg
> > 
> > Can't find MAC address on file
> > 
> > 
> > # xm create /etc/xen/xen1.satimis.com.cfg
> > Using config file "/etc/xen/xen1.satimis.com.cfg".
> > StAddarted domain xen1.satimis.com
> > 
> > 
> > # xm console xen1.satimis.com
> > Linux version 2.6.18-xen (shand@endor) (gcc version 3.4.4 20050314
> > (prerelease) (Debian 3.4.3-13)) #1 SMP Fri May 18 16:11:33 BST 2007
> > ....
> > Debian GNU/Linux 4.0 xen1.satimis.com tty1
> > 
> > 
> > Also no MAC address found.
> 
> ifconfig -a | grep Hardware
> 
> again and you will understand... your mac-adress will change on every
> start-up so you never get persistant network-settings, since your
> network-devices change. on first boot you have eth0, on the next eth1
> and so on....


The ethX number won't change still retaining eth0 on the 2nd guest only
with a new MAC address assigned.


B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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