Today, a user asked me that the data center he manages has four esxi 5.1 servers. The three esxi servers cannot display the CPU and memory occupied by each virtual machine, as shown in Figure 1-1.
650) This. width = 650; "Title =" clip_image002 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image002 "src =" http://img1.51cto.com/attachment/201407/2/225186_1404301413nbrA.jpg "Height =" 159 "/>
Figure 1-1 the "virtual machines" tab cannot display the resource usage of each started Virtual Machine
In addition, in the "summary" of VMware esxi, the CPU and memory usage also counts errors, as shown in 1-2.
650) This. width = 650; "Title =" clip_image004 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image004 "src =" http://img1.51cto.com/attachment/201407/2/225186_1404301414A8FZ.jpg "Height =" 230 "/>
Figure 1-2 Summary Statistics Error
When this problem occurs, the virtual machines on each esxi server can be started and shut down normally, and the operating systems and applications of each virtual machine are not affected.
From the two figures above, I can see that under normal circumstances, each VMware esxi server should also have a "hardware status" tab to view the server's processor, memory, fan, power supply, etc, 1-3.
650) This. width = 650; "Title =" clip_image006 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image006 "src =" http://img1.51cto.com/attachment/201407/2/225186_1404301416eqSN.jpg "Height =" 302 "/>
Figure 1-3 "hardware status"
By using QQ Remote Assistance, I checked "plug-in Manager" and saw that the "vcenter hardware status" plug-in has been disabled, as shown in figure 1-4.
650) This. width = 650; "Title =" clip_image008 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image008 "src =" http://img1.51cto.com/attachment/201407/2/225186_1404301417BkVh.jpg "Height =" 251 "/>
Figure 1-4 The hardware status plug-in vcenter server has been disabled
If the hardware status is not disabled, when an error occurs in Figure 1-1 and figure 1-2, the current server is powered off is displayed in "hardware status, but the server is actually running.
What will happen when this happens? You may mistakenly understand that the vcenter server statistics error does not affect the actual use. However, in a virtualized data center, when multiple hosts form a cluster, if such an error occurs, when a host in the cluster accidentally becomes a machine, normally, the virtual opportunity on the faulty host restarts on other hosts in the cluster, but because vcenter server statistics or "think" other hosts are already in the "shutdown" status, vcenter server considers that there are no available hosts in the cluster and does not restart these VMS on other hosts, resulting in long service interruption.
How can this problem be solved? I personally think it is best to reinstall vcenter server, reconfigure the cluster, and add VMware esxi to the data center permanently. If you do not have time to reinstall the vcenter server, you can also remove the faulty esxi server from the vcenter server and then add it to solve the problem. Main steps:
(1) first migrate the virtual machines in the faulty esxi host to other hosts.
(2) After all virtual machines are migrated, place the current host in maintenance mode and remove the esxi host from the vcenter server list, as shown in 1-5.
650) This. width = 650; "Title =" clip_image010 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image010 "src =" http://img1.51cto.com/attachment/201407/2/225186_14043014205QfI.jpg "Height =" 346 "/>
Figure 1-5 enter the maintenance mode and remove the host from the list
(4) After the host is removed, add the host to vcenter server again. The problem can be solved, as shown in figure 1-6.
650) This. width = 650; "Title =" clip_image012 "style =" border-top: 0px; border-Right: 0px; Background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-Right: 0px; "Border =" 0 "alt =" clip_image012 "src =" http://img1.51cto.com/attachment/201407/2/225186_1404301421Dkef.jpg "Height =" 162 "/>
Figure 1-6 after the problem is resolved
This article from the "Wang chunhai blog" blog, please be sure to keep this source http://wangchunhai.blog.51cto.com/225186/1433687