Re: [CentOS-virt] VM Slowness

2013-05-19 Thread Van
Did you try this vm on other host with diffrent  virtualization system(Virtual Box, etc)? 20.05.2013, 07:55, "compdoc" comp...@hotrodpc.com:I hope this in the right list, but I was wondering if someone could help mewith a VM I have that has lately started having problems. It had beenrunning for years without problems. It's possible an update is causing this,but I can't say.The VM is running CentOS 5.8 and after a time, the machine begins to slowdown. Things like pings or running commands lag. If I reboot the VM, it runsnormally for at least a few hours, but it eventually slows again. I've tried changing the VM's virtio devices to standard devices like IDE ande1000, but it makes no difference. Currently its running virtio.Top shows that nothing is taking up significant cpu time, but even runningtop takes several seconds for it to open. The system is slow now, but topshows:top - 21:39:48 up 1 day,  5:27,  1 user,  load average: 0.93, 1.37, 1.12Tasks: 177 total,   1 running, 176 sleeping,   0 stopped,   0 zombieCpu(s):  0.3%us,  0.3%sy,  0.0%ni, 98.6%id,  0.9%wa,  0.0%hi,  0.0%si,0.0%stMem:   2075016k total,  1484624k used,   590392k free,    64336k buffersSwap:  4128760k total,   12k used,  4128748k free,   981368k cached  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 4124 root  20   0  2444 1080  812 R  0.1  0.1   0:00.03 top1 root  15   0  2176  692  604 S  0.0  0.0   0:02.46 init2 root  RT  -5 0    0    0 S  0.0  0.0   0:00.39 migration/03 root  34  19 0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0Any ideas what to look for? Any information I can provide?Thanks___CentOS-virt mailing listCentOS-virt@centos.orghttp://lists.centos.org/mailman/listinfo/centos-virt  -- Трудно жить ничего не делая, но мы привыкли бороться с трудностями.___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] ovf conversion

2013-03-29 Thread Van
  29.03.2013, 16:08, "Markus Falb" markus.f...@fasel.at:I try do use one of the images available from [1]These images comes in two flavors, one vmx, one ovf.I do not know how to convert one of these to centos6-libvirt-kvmvirt-convert gives me an error$ virt-convert -i ovf -o virt-image path_to_image.ovfERROR    Couldn't convert disks: Disk conversion failed with exit status1: qemu-img: Could not open 'path_to_image.vmdk'The vmdk does exist. It seems that qemu-img can not handle this vmdkformat. I am also not sure if v2v could do it.I think the essence of my post is the questionIs it possible to use vmx or ovf images with kvm, possibly afterconverting them?[1] http://info.puppetlabs.com/download-learning-puppet-VM.html-- Kind Regards, Markus Falb___CentOS-virt mailing listCentOS-virt@centos.orghttp://lists.centos.org/mailman/listinfo/centos-virt1) convert VirtualBox img-file to raw2) KVM supports raw format-- Трудно жить ничего не делая, но мы привыкли бороться с трудностями.___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Windows 2012 as a kvm guest

2013-03-11 Thread Van


11.03.2013, 14:27, C. L. Martinez carlopm...@gmail.com:
 Hi all,

  Has anyone tried it? Virtio drivers works? Any problems or tips?? My
 idea is to use centos 6.3 as host, at first step until I can test
 centos 6.4

 Thanks.
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
http://www.linux-kvm.org/page/Guest_Support_Status
-- 
Трудно жить ничего не делая, но мы привыкли бороться с трудностями.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] CentOS 5.9 Xen DomU NFS Data Transfer to Dom0 kills network.

2013-03-01 Thread Van


01.03.2013, 15:22, Van va...@yandex.ru:
 26.02.2013, 20:01, Veli-Pekka Kestilä cen...@vpk.nu:
 Greetings,

 I have problem using Dom0 as NFS(v4)-server and DomU as client. When
 ever the client actually tries to copy data to nfs-server the virtual
 network (bridge) between the two hosts completely freezes and stops
 working. After this of course the client hangs waiting nfs-server to
 answer and server continues to try to contact nfslock daemon on the client.

 Dom0 is still accessible from outside trough virbr0 which the client
 doesn't have access. The problems only come on data transfer as making
 directories and removing them and doind ls works fine before one tries
 to transfer data.

 Anyone have suggestion what could fix this behavior.
 Veli-Pekka
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
 What size files are copied?
 http://ubuntuforums.org/archive/index.php/t-1478413.html

 --
 Трудно жить ничего не делая, но мы привыкли бороться с трудностями.
 ,
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
Show the command or line from /etc/fstab whitch you use for mounting 
NFS-volume. I think rsize/wsize larger then MTU.
--  
Трудно жить ничего не делая, но мы привыкли бороться с трудностями.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Time

2013-02-17 Thread Van


12.02.2013, 20:50, Mauricio Tavares raubvo...@gmail.com:
 On Thu, Jan 3, 2013 at 9:01 PM, Nico Kadel-Garcia nka...@gmail.com wrote:

  On Jan 2, 2013, at 19:27, James B. Byrne byrn...@harte-lyne.ca wrote:
  I do that as well.  However, I run one on each host just to serve its
  own guests and configure the host to run off our central ntp server.
  Unfortunately, before our upstream vendor's OS release 6, ntp.conf
  listed several loopback addresses by default. These allowed a confused
  ntpd to basically marry its siblings and eventually crossbreed itself
  to a fairly stange state. But it will report ntpd as active, which is
  why the Nagios check chek_ntp_)time  actually compares the time to a
  known good upstream NTP service.

   Dumb question: why not use the vm host's clock instead? I am
 coming from libvirt but I would assume (bad idea I know) that if
 libvirt can see the host's clock in the client, so can kvm. If that is
 the case, something like

 hwclock -s -u

 should keep them in sync. I wrote a little cron job (see
 http://unixwars.blogspot.com/2013/01/restoring-time-on-sleeping-linux-vms.html)
 to compare the client time with the host. If the drift is large
 enough, sync them back. The reason for the cron job is so it works
 after client wakes up from a slumber. Just throwing an idea out there.

 On a side note, yes I did also write another script using ntpq and
 ntpdate to adjust time using ntp. I guess each solution has its
 merits. =)

  4.  On each guest have a cron job that checks for ntpd at regular
  intervals which reports failures and restarts the time service as
  necessary. We use:
   JOBNAME=Check ntpd status and restart if required ; \
 ntpstat  /dev/null  \
 if [[ $? -gt 0 ]]; then /sbin/service ntpd start; fi
  Why not configure the ntpd daemon and stick with that?
  It does update on its own [1]. And ntpstat prints out the interval,
  which matches the one mentioned at [1].
  I don't believe the ntpstat script/job is necessary (I've never had to
  do more than set ntpd to run after configuring the servers it should
  poll).
  See above. The 'check_ntp_time' tool is much more flexible and complete.
  itten does work. It's part of the nagios-plugions-ntp package,
  available from EPEL and RPMforge.
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
Hi. To get the same at all WM. I installed and configured ntp-server.
-- 
Трудно жить ничего не делая, но мы привыкли бороться с трудностями.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Replacement for virt-manager

2013-02-11 Thread Van


11.02.2013, 18:25, Andrea Chierici andrea.chier...@cnaf.infn.it:
 Hi,
 I have more than 20 VM in production with a shared storage and 6 blades
 as HV.
 Things begin to look confusing within virt-manager since there is no way
 to display only the powered-up nodes (the migrated and switched off
 machines appear on every hv entry). I wonder if there is something
 different and more appealing than virt-manager to manage such an
 infrastructure.
 My requirement are:

 be able to switch back to virt-manager whenever I want
 do not require switching nodes off, reboots, or any kin of intervention
 on VMs
 be open source
 be stable

 Anyone can suggest something?

 Andrea

 --
 Andrea Chierici - INFN-CNAF
 Viale Berti Pichat 6/2, 40127 BOLOGNA
 Office Tel: +39 051 6092809
 ICQ#2328798, MSN#ataruzatgmail.com, Skype#ataruz
 --

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt
openNibula?
-- 
Трудно жить ничего не делая, но мы привыкли бороться с трудностями.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Logrotate/cron and major I/O contention with KVM.

2010-03-11 Thread Ray Van Dolson
On Thu, Mar 11, 2010 at 11:02:33AM -0800, Mathew S. McCarrell wrote:
 Is anyone else having major I/O peaks due to logrotate or other jobs
 running simultaneously across multiple guests. I have one KVM server
 running Centos 5.4 with local disk that is seriously suffering as
 most of the guests rotate their syslog at the same time.
 
 Looking at the KVM server I'm seeing
 
 11:00:01 PM   CPU %user %nice   %system   %iowait%steal 
 %idle
 03:40:01 AM   all  0.07  0.00  2.74  0.93  0.00 
 96.26
 03:50:01 AM   all  0.07  0.00  1.17  1.18  0.00 
 97.58
 04:00:01 AM   all  0.08  0.00  1.51  0.82  0.00 
 97.59
 04:10:02 AM   all  0.53  0.03 15.31 51.61  0.00 
 32.53
 04:20:01 AM   all  0.28  0.12  4.12 22.21  0.00 
 73.27
 04:30:01 AM   all  0.07  0.00  0.80  1.21  0.00 
 97.92
 04:40:01 AM   all  0.07  0.00  2.60  1.81  0.00 
 95.52
 04:50:01 AM   all  0.08  0.00  0.79  1.44  0.00 
 97.69
 
 On one of the guests running Centos 4.6 the impact is so bad I get
 DMA timeout errors in the syslog, and occasional kernel panics.
 
 Mar 11 04:05:04 localhost kernel: hda: dma_timer_expiry: dma status == 0x21
 Mar 11 04:05:14 localhost kernel: hda: DMA timeout error
 Mar 11 04:05:14 localhost kernel: hda: dma timeout error: status=0x50 { 
 DriveReady SeekComplete }
 Mar 11 04:05:14 localhost kernel:
 Mar 11 04:05:14 localhost kernel: ide: failed opcode was: unknown
 Mar 11 04:05:59 localhost kernel: hda: dma_timer_expiry: dma status == 0x21
 Mar 11 04:06:14 localhost kernel: hda: DMA timeout error
 Mar 11 04:06:14 localhost kernel: hda: dma timeout error: status=0x50 { 
 DriveReady SeekComplete }
 
 One reference I've found is at
  * http://lonesysadmin.net/linux-virtual-machine-tuning-guide/
 
 This suggests avoiding running scheduled jobs simultaneously across
 guests, and suggests using a random sleep.

I think this is a pretty good suggestion.

 
 Does anyone else have suggestions on reducing the impact of
 cron/logrotate.

You might also consider increasing the device timeouts on your block
devices at the guest level:

  echo 120  /sys/block/sda/device/timeout

etc, etc.  That or increase the performance of your storage :)

 
 I ran into this issue as well on a box running Xen with local
 storage.
 
 My solution was to modify /etc/crontab to run /etc/cron.weekly at
 different times for each guest and for the dom0.  I modified the
 entry on each VM to be 10 minutes after the previous one and have not
 seen any load spikes since then.
 
 Matt

Ray
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt