Yet another post

[[Main_Page]] > [[Gizur server admin]]

#= Installation =

#== Install KVM ==


The xen kernel cannot be used together with kvm. Make sure you boot a non-xen kernel (/boot/grub.conf etc).

KVM is included in CentOS 5.5 64 bit.

It’s not possbile to run the xen kernel and kvm at the same time. Xen can rum HVM (hardware assisted) guest though.

yum install kvm kmod-kvm
yum install qemu

yum groupinfo KVM

egrep '(vmx|svm)' --color=always /proc/cpuinfo

modprobe kvm_intel
modprobe kvm_amd

lsmod | grep kvm

cat /proc/cpuinfo | grep vm     # will be supressed if xen is running
yum install qemu                # make sure that the qemu tools are installed and latest version

#== Install ==

Single server

  1. Install agenet
  2. Install server


cd /etc/yum.repos.d/

setenforce permissive                      # disable SELinux

yum clean all
yum install cloud-agent


iptables -I INPUT -i cloud0 -j ACCEPT
iptables -I FORWARD -i cloud0 -o cloud0 -j ACCEPT
iptables -I FORWARD -i cloudbr0 -o cloudbr0 -j ACCEPT
iptables –I INPUT -m tcp -p tcp --dport 5900:6100 –j ACCEPT

Then save your new iptables rules:
service iptables save

Management Server:

yum install mysql-server

# service mysqld start
# chkconfig mysqld on

cd /etc/yum.repos.d/

cloud-setup-databases cloud kvm --deploy-as=root                 # if there is no password set for mysql
cloud-setup-databases cloud: kvm --deploy-as=root:     # if there is a password for mysql



Setup zone, dhcp, storage etc. See install guide...

#== Troubleshooting ==

#= Configuration =