Recently looking at VMware's Advanced Management program. There are many management tools involved in this course, including the vsphere client, vsphere Web client, ESXCLI, Esxtop, Vmkfstools, VMA, and Powershellcli, among others.
Let's go through the following simple:
- The vsphere client and vsphere Web client are not going to go into this, which is used by every administrator. The WEB client has a bit more functionality than the client, but it's slower at times.
2.VMA is a Linux-based VM appliance, similar to the role of a bastion machine, the online download of the OVF template directly, after installation requires some initialization settings. Settings can be done after the host has been bound.
- ESXCLI is a very powerful command, enter ESX directly and press two times tab to see all relevant ESX commands. The main concern here is the ESXCLI command. Enter ESXCLI carriage return to display Help, you can view the help information at the first level of carriage return.
Here are just a few examples:
Show Firewall Policy
Displays mounted storage information, which can be directly df-h with the Linux command
can also be displayed through the ESXCLI storage, it is worth mentioning that VMFS6 before the removal of the thin configuration of the hard disk needs to re-manually execute ESXCLI storage command to reclaim space, after VMFS6 is automatically implemented
- Another command is vmkfstools, which can be used to manage disks, VMFS upgrades, and so on
For example:
Display specific UUID information via Vmkfstools
Create a 5g hard drive
Extended to 6g
- In addition, there is a monitoring aspect of the command esxtop, this linux-like top command, he has a lot of options, can see the CPU, memory, hard disk, network and other indicators of performance, we can view the Help by H
In addition to the ability to view real-time information, he can save performance logs for a period of time, and then view them through third-party tools
For example: 2 seconds to value, save all results of 5 samples
This result can be turned on by Windows Performance Monitor
- POWERSHELLCLI, this is the favorite of Windows Admin. After downloading and installing the Import module, we can use it, the old version is called through Snapin, and after 6.0, it can be called by the module.
Overview of management tools for VMware