[[openstack]] ==== install and configure KVM first ==== === install kvm === yum install kvm === let nova use KVM === #To enable KVM explicitly, add the following configuration options /etc/nova/nova.conf: compute_driver=libvirt.LibvirtDriver libvirt_type=kvm image types supported by KVM is * Raw * QEMU Copy-on-write (qcow2) * VMWare virtual machine disk format (vmdk) === check hardware virttualization support === egrep '(vmx|svm)' --color=always /proc/cpuinfo === load modules for KVM === check if modules are already loaded lsmod | grep kvm == if not, load them manually == ### for Intel CPU ### # modprobe kvm # modprobe kvm-intel Add the following lines to /etc/modules so that these modules will load on reboot: kvm kvm-intel ### for AMD CPU ### AMD-based processors If your compute host is AMD-based, run the following as root to load the kernel modules: # modprobe kvm # modprobe kvm-amd Add the following lines to /etc/modules so that these modules will load on reboot: kvm kvm-amd ==== init nova database and install necessary packages ==== === init nova database === This step creates the user and database for nova openstack-db --init --service nova --password dingqiqing === install extra packages for nova === ### install extra package yum install openstack-utils memcached qpid-cpp-server ==== Configure nova - the openstack compute (finally!) ====