Re: [CentOS] XEN or KVM - performance/stability/security?

2012-04-20 Thread Dmitry Cherkasov
Hi,

KVM if used as it is will show very poor performance on CentOS5. To
achieve better results you need to update kernel to at least 2.6.32
and compile newer versions of libvirt and qemu. On CentOS6 all is fine
with KVM right out of the box.

Never used XEN so cannot compare.


Dmitry Cherkasov



2012/4/20 Rafał Radecki radecki.ra...@gmail.com:
 Hi all.

 I am currently building a small test cloud based on Eucalyptus 2.0.3 and
 CentOS 5.8 x64. I have a choice which hypervisor to use: KVM or XEN.
 KVM is the default in CentOS 6 but I have read also many good things (for
 example PV guest machines, isolation between Dom0 and DomU) about XEN.

 Key factors from my opint of view are:
 - stability (which one runs more smoothly on CentOS?)
 - performance (XEN PV/HVM(with or without pv drivers) vs KVM HVM(with or
 without pv drivers))
 - security

 Could you share your experience in these areas?

 Best regards,
 Rafal Radecki.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-virt] Problem with Centos 6.2 KVM

2012-01-30 Thread Dmitry Cherkasov
yum install qemu-kvm ?

Dmitry Cherkasov



2012/1/30 Rajagopal Swaminathan raju.rajs...@gmail.com:
 Greetings,

 Launching the virt-manager yeilds  following error

 Error polling connection 'qemu:///system': internal error Cannot find
 suitable emulator for x86_64

 Traceback (most recent call last):
  File /usr/share/virt-manager/virtManager/engine.py, line 440, in _tick
    conn.tick()
  File /usr/share/virt-manager/virtManager/connection.py, line 1414, in tick
    newNets, self.nets) = self._update_nets()
  File /usr/share/virt-manager/virtManager/connection.py, line 1277,
 in _update_nets
    lookup_func, build_class)
  File /usr/share/virt-manager/virtManager/connection.py, line 1209,
 in _poll_helper
    if not check_support():
  File /usr/share/virt-manager/virtManager/connection.py, line 501,
 in is_network_capable
    virtinst.support.SUPPORT_CONN_NETWORK)
  File /usr/lib/python2.6/site-packages/virtinst/support.py, line
 574, in check_conn_support
    return _check_support(conn, feature, conn)
  File /usr/lib/python2.6/site-packages/virtinst/support.py, line
 443, in _check_support
    actual_drv_ver = _hv_ver(conn, uri)
  File /usr/lib/python2.6/site-packages/virtinst/support.py, line
 376, in _hv_ver
    ret = cmd(*args)
  File /usr/lib64/python2.6/site-packages/libvirt.py, line 2823, in 
 getVersion
    if ret == -1: raise libvirtError ('virConnectGetVersion() failed',
 conn=self)
 libvirtError: internal error Cannot find suitable emulator for x86_64

 yum list gives

 Installed Packages
 libvirt.x86_64                        0.9.4-23.el6_2.4                  
 @updates
 libvirt-client.x86_64                 0.9.4-23.el6_2.4                  
 @updates
 libvirt-python.x86_64                 0.9.4-23.el6_2.4                  
 @updates
 Available Packages
 libvirt-client.i686                   0.9.4-23.el6_2.4                  
 updates


 any clues?

 TIA

 --
 Regards,

 Rajagopal
 ___
 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


Re: [CentOS] Users and ftp

2008-09-16 Thread Dmitry Cherkasov
2008/9/16 Bob Hoffman [EMAIL PROTECTED]:
 I have vsftp chrooted so that users can only come into their home directory.

 I have a few virtual hosts.

 I have the websites in the home directory of the intial user for each site.

 So the sites look like this.

 /home/user1/html
 /home/user2/html

 Using vsftp, I have set the default to chroot a user to their home
 directory. So user1 ftping in whill go right to his directory and not be
 able to go higher.

 My problem is adding a second user to be able to access the directory via
 ftp.

 In other words, user1 has a partner named user1a.

 I tried adding user1a  in user1 group and not in user1 group...netiher
 worked.
 I tried adding user1a with no home directory and tried making their home
 directoy /home/user1

 In all cases, ftp says 'cannot move to /home/user1' when trying to access
 with user1a.

 I am to the point it is time to forgo the security of chroot in vsftp to
 just add a second user.

 Any help appreciated.


Just in case you don't find solution with vsftp you may try using
pureftpd. It enables mapping ftp users to system users so you can
create several ftp users mapped to single system user who is the owner
of /home/user1 -- as I can guess this hits your target.

P.S. I'm not experienced with vsftp, so there may probably exist a
solution with this package as well.


-- 
Dmitry Cherkasov
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos