Re: [CentOS-virt] which virtualization platform to choose

2010-07-28 Thread Luke S Crawford
Grant McWilliams  writes:

> What kind of situation would you be trying to run 160 DomUs per Dom0? I'd be
> curious about your particular
> needs for having that many DomUs per Dom0. Did you run into a hard coded
> limit on the number of DomUs you could have?


Well, the smallest server that it is economical to buy and run has 32GiB
ram.   (this /may/  change when the amd 4100 chips come out;  I haven't
started poking them yet.  The numbers certainly /look/ good.) I give 1GiB 
to the dom0 (a little liberal, yes, but it's cheap insurance, I say)  

My smallest plan is 64MiB ram.   Now, I don't sell many of those, because
for a dollar more a month, I'll give you 128MiB ram, which is /much/ more
useful.   (I mostly keep the 64MiB plan out of pricing consistency;  I 
charge a dollar a month for every 64MiB ram, and then $4/month for each 
account for support/abuse overhead.) 

so I fill up those 31GiB with 128MiB ram guests, that gives me
248 guests on one server.  Even if I didn't sell anything smaller than 
256, which is my most popular plan, that'd still be 124 guests, which 
is more than I've gotten with the stock kernel (with two block and one 
network device per guest;  one disk is a read-only 'rescue' image, 
accessable via pvgrub, and the other is the customer's disk.) 

Now, I put all guests 512MiB ram and smaller on one server, so it's 
very rare that I go over 150 guests per server outside of testing, but
as you can see, I want the option to do so.

If you are interested in the details of what I had to change:

http://book.xen.prgmr.com/mediawiki/index.php/Many_guests

-- 
Luke S. Crawford
http://prgmr.com/xen/ -   Hosting for the technically adept
http://nostarch.com/xen.htm   -   We don't assume you are stupid. 
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] which virtualization platform to choose

2010-07-28 Thread Grant McWilliams
On Tue, Jul 27, 2010 at 10:52 PM, Luke S Crawford  wrote:

> Grant McWilliams  writes:
>
> > I'm not sure any of the rest of us have ever had to recompile the kernel
> to
> > get xen to work either. I have 160 or so DomUs on CentOS Dom0s and still
> > haven't recompiled a kernel.
>
>
> how many guests per dom0?  for my smallest plans I approach 160 DomUs per
> dom0, and I /have/ had to recomplile to make that work.  (though, it's been
> rather a long time since I tried it with a CentOS/xen kernel rather than
> a xen.org kernel.)
>
>
What kind of situation would you be trying to run 160 DomUs per Dom0? I'd be
curious about your particular
needs for having that many DomUs per Dom0. Did you run into a hard coded
limit on the number of DomUs you could have?

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


Re: [CentOS-virt] Virt-install Error on Centos 5.4 64bit and kvm

2010-07-28 Thread Momonth
Hi,

Here are the packages I have at the moment, which are proven to work for me:

kernel-2.6.18-194.8.1.el5
kvm-83-164.el5
kmod-kvm-83-164.el5
etherboot-roms-kvm-5.4.4-13.el5.centos
etherboot-zroms-kvm-5.4.4-13.el5.centos

Cheers,
Vladimir

2010/7/27 cris rock :
> Hi guys, I hope you can help me on this issue with kvm/libvirt:
>
> using this command to install a kvm virtual machine:
>
> virt-install --connect qemu:///system \
> --name p3k0401 \
> --ram 2048 \
> --file //dev/VolGroup01/p3k0401logvol \
> --accelerate \
> -s 10 \
> --nographics \
> --hvm \
> --location='http://10.1.4.80'
>
> I get:
>
> Starting install...
> Retrieving file vmlinuz... | 1.8 MB 00:00
> Retrieving file initrd.img... | 7.1 MB 00:00
> ERROR internal error Domain p3k0401 didn't show up
>
> Domain installation may not have been
> successful. If it was, you can restart your domain
> by running 'virsh start p3k0401'; otherwise, please
> restart your installation.
> ERROR internal error Domain p3k0401 didn't show up
> Traceback (most recent call last):
> File "/usr/sbin/virt-install", line 889, in ?
> main()
> File "/usr/sbin/virt-install", line 751, in main
> start_time, guest.start_install)
> File "/usr/sbin/virt-install", line 813, in do_install
> dom = install_func(conscb, progresscb, wait=(not wait))
> File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in
> start_install
> return self._do_install(consolecb, meter, removeOld, wait)
> File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in
> _do_install
> self.domain = self.conn.createLinux(install_xml, 0)
> File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in
> createLinux
> if ret is None:raise libvirtError('virDomainCreateLinux() failed',
> conn=self)
> libvirtError: internal error Domain p3k0401 didn't show up
>
>
> On the /var/log/libvirt/qemu/p3k0401.log:
>
> LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/
> /usr/bin/qemu-system-x86_64 -S -M rhel5.4.0 -m 1024 -smp 1 -name p3k0401
> -uuid 7658c102-0738-724c-40eb-e1c58b2c2369 -domid 3 -nographic -monitor
> pty -pidfile /var/run/libvirt/qemu//p3k0401.pid -no-reboot -boot c
> -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.O_SOVo -initrd
> /var/lib/libvirt/boot/virtinst-initrd.img.0ba0Fp -append
> method=http://10.1.4.80  -drive
> file=//dev/VolGroup01/p3k0401logvol,if=ide,index=0,cache=none -net
> nic,macaddr=54:52:00:15:c4:50,vlan=0 -net
> tap,fd=16,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb
> Supported machines are:
> pc Standard PC (alias of pc-0.12)
> pc-0.12 Standard PC (default)
> pc-0.11 Standard PC, qemu 0.11
> pc-0.10 Standard PC, qemu 0.10
> isapc ISA-only PC
> xenpv Xen Para-virtualized PC
>
>
> And my packages installed:
>
> # rpm -qa | grep qemu
> qemu-0.12.4-1.el5.rf
>
> # rpm -qa | grep kvm
> etherboot-zroms-kvm-5.4.4-13.el5.centos
> kmod-kvm-83-164.el5_5.12
> kvm-83-164.el5_5.12
>
> # rpm -qa | grep libvirt
> libvirt-0.6.3-33.el5_5.1
> libvirt-0.6.3-33.el5_5.1
> libvirt-python-0.6.3-33.el5_5.1
>
> # uname -a
> Linux gs1p304 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64
> x86_64 x86_64 GNU/Linux
>
> Please any pointer is appreciated...
>
> thanks!
>
> cris
>
> 
> Hotmail: Free, trusted and rich email service. Get it now.
> ___
> 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