Hello All, I have been building a new server to deploy using Xen. However, seeing that Redhat is moving towards KVM, it would seem beneficial to deply this server using KVM as well. This is a Centos 5.4 x86_64 fresh install. So here is the scoop: * running the xen kernel with 2 vms works great. I have 2 vms- a cobbler host and an ldap host. * running with non-xen kernel, I can't seem to get anything to work right. Using virt-install from the command line, I get the response of "Host does not support any virtualization options" yet I know it does. What am I missing here? I spent some hours last night searching and came up empty. Thanks in advance, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.centos.org/pipermail/centos-virt/attachments/20100224/32311f80/attachment.html
Did you install kvm? If you need to move the xen virtual machines to kvm you will need to boot them in rescue mode, change your modprobe.conf to load the regular scsci and nic drivers, install a regular kernel, remove the xen console from inittab and remove console=xvc0 from your /etc/grub.conf and reboot. -Adam On Wed, Feb 24, 2010 at 9:16 AM, Dave Augustus <davea at ingraftedsoftware.com>wrote:> Hello All, > > I have been building a new server to deploy using Xen. However, seeing that > Redhat is moving towards KVM, it would seem beneficial to deply this server > using KVM as well. This is a Centos 5.4 x86_64 fresh install. > > So here is the scoop: > > - running the xen kernel with 2 vms works great. I have 2 vms- a > cobbler host and an ldap host. > - running with non-xen kernel, I can't seem to get anything to work > right. Using virt-install from the command line, I get the response of "Host > does not support any virtualization options" yet I know it does. > > > What am I missing here? > > I spent some hours last night searching and came up empty. > > Thanks in advance, > Dave > > _______________________________________________ > CentOS-virt mailing list > CentOS-virt at centos.org > http://lists.centos.org/mailman/listinfo/centos-virt > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.centos.org/pipermail/centos-virt/attachments/20100224/78c4a419/attachment.html
On Wed, Feb 24, 2010 at 08:16:53AM -0600, Dave Augustus wrote:> Hello All, > > I have been building a new server to deploy using Xen. However, seeing > that Redhat is moving towards KVM, it would seem beneficial to deply this > server using KVM as well. This is a Centos 5.4 x86_64 fresh install. > > So here is the scoop: > > * running the xen kernel with 2 vms works great. I have 2 vms- a cobbler > host and an ldap host. > * running with non-xen kernel, I can't seem to get anything to work > right. Using virt-install from the command line, I get the response of > "Host does not support any virtualization options" yet I know it does. > > What am I missing here? > > I spent some hours last night searching and came up empty. >What does "xm info" say about caps/capabilities? Do you see hvm supported? Xen HVM guests require CPU virtualization extensions (Intel VT, AMD-V) to be present and enabled in the BIOS. -- Pasi
----- "Dave Augustus" <davea at ingraftedsoftware.com> wrote:> I finally realized that when running Xen and in Dom0, Xen hides the > AMD-V in /proc/cpuinfoReally? dom0: flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy guest: flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy> (...more reasons to move to KVM)I have a hunch that you are going to do whatever you are told to do and that you really have no idea what is going on. Can we get more "Hey, I'm told KVM is cool so I'm migrating all of my production servers to it because the free OS of my choice may not support it in a year or two after I leave my current suckjob position and I hear, since I don't read mainline kernel mailing lists religiously and keep only a superficial idea in my head about kernel development, since I really have no idea what 'kernel development' means, that KVM is the only Jesus-approved way of doing things" threads? None of you seem to have have a head for any of this, it seems. Maybe you're just working for Billy's Interwebs-r-Us and keeping Sally's Nail Shop going strong, but the last time I checked, the "ent" in CentOS stood for "enterprise". Here are a few tips: 1. Fuck KVM. 2. Stick with Xen because there is quite a lot of time until 5 is EOL'd and if you haven't noticed, it's actually a mature technology. 3. Figure out what you are going to do with Sally's Nail Shop in the meantime. If you have time to fuck everything up in your environment with KVM, you can probably save 20% or more optimizing your environment and even more with proper capital investments and training. 4. Figure out how either a) non-critical/enterprise services would ever be served by KVM's features or lack thereof, or b) you are going to CYA when you can't guarantee an SLA. 5. Spend more time on KVM dev lists instead of posting here and annoying others with your butthurt KVM-won't-work posts, as it's not even supported upstream. -- Christopher G. Stach II http://ldsys.net/~cgs/