ZStack CLI – 虚拟化技术验证

1. 验证kvm是否支持kvm

egrep "vmx|svm" /proc/cpuinfo

2. 检查kvm_intel模块是否加载成功

lsmod | grep kvm

3. 查看kvm_intel 模块信息

modinfo kvm_intel

4. 检查qemu相关rpm

rpm -qa| grep qemu-kvm

5. 检查qemu-kvm包安装目录

rpm -ql qemu-kvm-ev
rpm -ql qemu-kvm-common-ev

6. 检查ZStack计算节点安装包 (添加计算节点前后 分别进行检查)

rpm -q openssh-clients bridge-utils wget libvirt-python libvirt nfs-utils sed vconfig libvirt-client net-tools iscsi-initiator-utils lighttpd dnsmasq iproute sshpass iputils libguestfs-winsupport libguestfs-tools pv rsync nmap collectd-virt

7. 检查libvirtd服务状态

systemctl status libvirtd

8. 检查ksm 内存同页合并状态

service ksm status
service ksmtuned status

9. 检查 libvirt日志

/var/log/libvirt/qemu/vm.log

10. 检查 vm xml配置

/etc/libvirt/qemu/vm.xml