Jingyun He | 1 Feb 06:55
Picon

the bridge send all traffic to every vps when one vps starts

Hello,
I noticed that when one vps starts, it will cause the bridge send all
incoming traffic to every vps for a few seconds, is this normal
behavior?

Thank you
Tim Post | 1 Feb 07:23
Picon
Favicon
Gravatar

Re: AsteriskNOW on Xen Choppiness

On Sun, 2010-01-31 at 04:35 -0800, Ian Murray wrote:

> 
> Are people successfully running AsteriskNOW on Xen, and if so can anyone suggest anything that might help?

I am running it in production as HVM (using Trixbox CE) without issue.
There are some documented timing issues, however these are normally
experienced when you reach 20+ concurrent calls.

> 
> Am I right in thinking the timing issues of the past should now not be an issue?

They are still an issue, but shouldn't be an issue for you yet.

> 
> Is there any mileage in upgrading Xen to the latest 3.3.x or 3.4.x? 

Before doing that, if using network-bridge, could you try looking /
tweaking the forward delay, max age and hello settings of the bridge.
I'd at least eliminate it as a cause before re-installing.

Its not going to hurt you to go with the last official Xen release (in
either series), but I don't think its the cause of your issue.

Cheers,
--Tim
Pasi Kärkkäinen | 1 Feb 08:27
Picon
Picon
Favicon

Re: BUG: soft lockup

On Sun, Jan 31, 2010 at 11:23:36AM -0500, Dana Rawding wrote:
> Hi all,
> 
> I've been experiencing a rash of CPU lockups on a number of domU's recently.  It's been happening on two
different servers.  About a year ago I had this problem every once in a while but it was not frequent.  I was
running Ubuntu with Xen 3.1 and 2.6.24-18 back then.  I'm now running Xen 3.3 and 2.6.24-26.  
> 
> What I have noticed is that just prior to the lockups the domU's had high cpu loads.  The domU that I have the
most problems with is a Zimbra server.  My guess is that a rash of spam comes through and cpu loads get high,
then the cpu's lock up.  Originally I had it running with 1 cpu but have since upped it 2 then 3 cpu's.  
> 
> I have been collecting the lockup messages and have posed a few below.  Any ideas?  Recommendations?  
> 

Please check this wiki page:
http://wiki.xensource.com/xenwiki/XenBestPractices

Are all those OK on your setup?

After those I'd upgrade the dom0 kernel, since Ubuntu's 2.6.24 is known to be buggy.

-- Pasi

> Thanks,
> Dana
> 
> 
> [138077.172283]  =======================
> [138075.147398] BUG: soft lockup - CPU#0 stuck for 11s! [kswapd0:97]
> [138075.147411] 
(Continue reading)

Pasi Kärkkäinen | 1 Feb 08:30
Picon
Picon
Favicon

Re: Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

On Fri, Jan 29, 2010 at 03:31:10PM +0100, Olivier B. wrote:
> Hi,
>
> I tried to upgrade my dom0 kernel from 2.6.31.6-dae-dom0-00751-g60e0545  
> to 2.6.31.6-dae-dom0-00757-ge65323d ; and domU doesn't start anymore.
>
> I obtain this error message :
> > root! noburo:/var/log/xen# time xm create /etc/xen/hel.cfg
> > Using config file "/etc/xen/hel.cfg".
> > Error: Device 0 (vif) could not be connected. Hotplug scripts not  
> working.
> >
> > real    1m41.491s
> > user    0m0.116s
> > sys    0m0.056s
>
> And the error is triggered after 100 seconds...
>
> I use Xen 3.4.2 (Debian amd64) in bridge mode, and a 2.6.31.12 vanilla  
> pv_ops kernel.
>
> In xen-hotplug.log I have only this line : Nothing to flush.
>
> And in xend.log I found that :
> [2010-01-29 15:26:12 6213] DEBUG (DevController:139) Waiting for devices  
> vif.
> [2010-01-29 15:26:12 6213] DEBUG (DevController:144) Waiting for 0.
> [2010-01-29 15:26:12 6213] DEBUG (DevController:629)  
> hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status.
> [2010-01-29 15:27:52 6213] DEBUG (XendDomainInfo:2732)  
(Continue reading)

ma qiang | 1 Feb 08:40
Picon

set static ip in config file

Hi all,
    I have create a centos in domU using "xm create test.cfg". The
content of test.cfg print as below:

kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
name = "test"
memory = 512
disk = [ 'file:/root/xen/ubuntu-9.10-desktop-i386.iso,hdc:cdrom,r',
'file:/srv/xen/mailserver.img,hda,w' ]
boot = "d"
vif = ['ip=192.168.1.100,bridge=eth1']
dhcp = "off"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncpasswd='password'
stdvga=0
serial='pty'
usbdevice='tablet'

I set static ip==192.168.1.100 in vif, but the centos in domU still
use the dhcp.  To be noted here, I can set static ip in centos when I
connect to the console of domU.

Who can tell me why and how to set static ip in config file.
Thanks a lot.
(Continue reading)

Fajar A. Nugraha | 1 Feb 09:01

Re: set static ip in config file

On Mon, Feb 1, 2010 at 2:40 PM, ma qiang <maqiang1984 <at> gmail.com> wrote:
> I set static ip==192.168.1.100 in vif, but the centos in domU still
> use the dhcp.  To be noted here, I can set static ip in centos when I
> connect to the console of domU.
>
> Who can tell me why and how to set static ip in config file.
> Thanks a lot.

Short answer: that's the way it works.
There are cases when setting IP in domU config file can be used (for
example when deploying custom bridge+iptables script), but that's
kinda complicated. The short version is that using the default setup
the setting is not used and has no effect on actual domU IP address.

--

-- 
Fajar
Rémi BERNIER | 1 Feb 09:04

Manage tape on guest win2k3


Hi Everybody,

I have a problem with my magnetic tape drive, I control the tape with BackupExec on my guest win2k3.
BackupExec see it right my tape drive but for him the tape is in  use...
I think it's my dom0 use it, because i can pilot the tape drive with the command "mt" on dom0...

So for me i need to hide the tape to boot ... but this line in grub have no impact :
module         /boot/vmlinuz-2.6.18.8-xen-amd64 root=/dev/sda1 ro console=tty0 scsiback.permissive scsiback.hide=(6:0:6:0)

If you have an idea on this subject, I listen you !!

Thanks for your answer in advance.

Rémi

Conf:
Debian lenny, kernel 2.6.18-8x86_64-xen, xen 3.4.2 (xenbits)
_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
ma qiang | 1 Feb 09:10
Picon

Re: set static ip in config file

hi,
Thanks very much.
I have many VMs to deploy and have to set static ip for each VM. So I
want to try some methods.
Can you send me some cases such as deploying custom bridge+iptables script?

Best Wishes
Qiang Ma

On Mon, Feb 1, 2010 at 4:01 PM, Fajar A. Nugraha <fajar <at> fajar.net> wrote:
> On Mon, Feb 1, 2010 at 2:40 PM, ma qiang <maqiang1984 <at> gmail.com> wrote:
>> I set static ip==192.168.1.100 in vif, but the centos in domU still
>> use the dhcp.  To be noted here, I can set static ip in centos when I
>> connect to the console of domU.
>>
>> Who can tell me why and how to set static ip in config file.
>> Thanks a lot.
>
> Short answer: that's the way it works.
> There are cases when setting IP in domU config file can be used (for
> example when deploying custom bridge+iptables script), but that's
> kinda complicated. The short version is that using the default setup
> the setting is not used and has no effect on actual domU IP address.
>
> --
> Fajar
>
Fajar A. Nugraha | 1 Feb 09:37

Re: set static ip in config file

On Mon, Feb 1, 2010 at 3:10 PM, ma qiang <maqiang1984 <at> gmail.com> wrote:
> hi,
> Thanks very much.
> I have many VMs to deploy and have to set static ip for each VM. So I
> want to try some methods.
> Can you send me some cases such as deploying custom bridge+iptables script?

It's not really how to DEPLOY, but how to LIMIT which IP address a
domU can use with the help of ebtables. Try this thread, and see the
linked post: http://markmail.org/message/kq4vnmpgwldqyv3k

--

-- 
Fajar
Grant McWilliams | 1 Feb 09:37
Picon
Gravatar

Re: set static ip in config file



Best Wishes
Qiang Ma

> Short answer: that's the way it works.
> There are cases when setting IP in domU config file can be used (for
> example when deploying custom bridge+iptables script), but that's
> kinda complicated. The short version is that using the default setup
> the setting is not used and has no effect on actual domU IP address.
>
> --
> Fajar
>

In addition to that the CentOS kernel is not compiled with CONFIG_IP_PNP so having a DomU with
the ip set in the config file will never work. It will if you recompile the kernel or use a different OS like Debian in the DomU.
The CentOS kernel does pay attention to the MAC address assigned in the DomU config file though so you
can set up a DHCP server with that MAC in it and it will assign the IP you want.

Grant McWilliams
_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users

Gmane