# vi /etc/vmawe/config

vhv.enable = "TRUE"

后面的都可以采用修改增加如下配置实现,无需要安装vCenter server, Web client等操作。

virtualHW.version = "9"

guestOS = "vmkernel5"

monitor.virtual_mmu = "automatic"

monitor.virtual_exec = "automatic"

vhv.enable = "TRUE"




改完重新启动esxi。


验证:


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

[root@kvm1 ~]# egrep '(vmx|svm)' --color=always /proc/cpuinfo
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss ht syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni vmx ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm ida arat epb dts tpr_shadow vnmi ept vpid
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss ht syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni vmx ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm ida arat epb dts tpr_shadow vnmi ept vpid