Comments on Virtualization With Xen On CentOS 6.3 (x86_64) (Paravirtualization & Hardware Virtualization)
Virtualization With Xen On CentOS 6.3 (x86_64) (Paravirtualization & Hardware Virtualization) This tutorial provides step-by-step instructions on how to install Xen (version 4.1.x) on a CentOS 6.3 (x86_64) system. Xen lets you create guest operating systems (*nix operating systems like Linux and FreeBSD), so called "virtual machines" or domUs, under a host operating system (dom0). Using Xen you can separate your applications into different virtual machines that are totally independent from each other.
9 Comment(s)
Comments
I found some error:
make[3]: *** [libvirt_driver_libxl_la-libxl_conf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.ezXtRF (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.ezXtRF (%build)
How can I fix that?
I need help!!!!!
ccc1: warning: unrecognized command line option "-Wno-suggest-attribute=const"
ccc1: warning: unrecognized command line option "-Wno-suggest-attribute=pure"
make[3]: *** [libvirt_driver_libxl_la-libxl_conf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10'
make: *** [all] Error 2
I do not want to use windows, please!!!!
I found the solution. see: https://www.howtoforge.com/forums/showthread.php?t=58994&page=3 [3 Installing Xen] # yum install kernel-xen xen replace to this: # yum install xen-4.1.3-2.el6.x86_64 xen-devel-4.1.3-2.el6.x86_64 xen-libs-4.1.3-2.el6.x86_64 # yum install python-devel xen-devel libxml2-devel xhtml1-dtds readline-devel ncurses-devel libtasn1-devel gnutls-devel augeas libudev-devel libpciaccess-devel yajl-devel sanlock-devel libpcap-devel libnl-devel avahi-devel libselinux-devel cyrus-sasl-devel parted-devel device-mapper-devel numactl-devel libcap-ng-devel netcf-devel libcurl-devel audit-libs-devel systemtap-sdt-devel libblkid-devel scrub replace to this: (exclude xen-devel) # yum install python-devel libxml2-devel xhtml1-dtds readline-devel ncurses-devel libtasn1-devel gnutls-devel augeas libudev-devel libpciaccess-devel yajl-devel sanlock-devel libpcap-devel libnl-devel avahi-devel libselinux-devel cyrus-sasl-devel parted-devel device-mapper-devel numactl-devel libcap-ng-devel netcf-devel libcurl-devel audit-libs-devel systemtap-sdt-devel libblkid-devel scrub
Hello,
getting same problem as you !
Did you manage to find a solution ?
Kind Regards,
Laurent
http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-3.noarch.rpm -- its 404 url nowadays, looks like http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-4.noarch.rpm is working
I found the same rpmbuild error.
According to the last part of the next forum, we should use xen4.1.
https://www.howtoforge.com/forums/archive/index.php/t-58994.html
When you install xen with yum, please use the next command line:
yum install xen-4.1.3-2.el6.x86_64 xen-devel-4.1.3-2.el6.x86_64 xen-hypervisor-4.1.3-2.el6.x86_64 xen-libs-4.1.3-2.el6.x86_64 xen-licenses-4.1.3-2.el6.x86_64 lxen-runtime-4.1.3-2.el6.x86_64
Hello,
I was following the outline in this how-to (plus some hints from the comments / peanut gallery, thanks!) and had at least a (successful) build that didn't give me errors except for at bootup when the scsi_wait_scan module was not found.
I've searched the web, and from what I understand it appears as if the scsi controllers with the LVM aren't being loaded in time during bootup and that the kernel doesn't recognize the drive and it's not mounted (or some such thing, not an expert here by any means).
I think I need to add a line somewhere in the kernel build to put in that module, but am unsure how to do it. Ideas / thoughts / comments?
When you install Xen4.2 on CentOS6.4, you could take another way.
Replace "[3 Installing Xen]" (of this page) to the following commands.
# egrep '(vmx|svm)' --color=always /proc/cpuinfo
# yum install http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-5.noarch.rpm
# yum install kernel-xen xen
# vi /boot/grub/menu.lst
# shutdown -r now
# xm info
# yum install virt-install virt-viewer libvirt python-virtinst virt-manager qemu-kvm
# /etc/init.d/libvirtd start
# echo "/usr/sbin/libvirtd -d" >>/etc/rc.d/rc.local
# xm list
# virsh list
==
I referred to the nice instructions (http://f.dataguru.cn/thread-127204-1-1.html) written by ???.
Caution!
After you install Xen4.2, you may encounter a lot of errors. No warranty. You should take a full backup of your server.