The vcenter that discovered VMware virtualized environments today hangs, because the default is lock mode, so ESXi management is managed by logging in to Vcenter's vsphere client, because the vcenter itself is dead, Therefore, the management of the virtual machine with the Web management are not, as long as a way through the background or SSH solution. The following is a simple process for forgetting.
The first is to find ways to manage directly through SSH to the ESXi host, there are several ways to achieve:
1, through the ESXi host client Web management interface to open SSH login, we this application scenario is not suitable, slightly;
2, through the vsphere VCenter Web management interface, select the need to open the SSH service ESXi host, we this application scenario is not suitable, slightly;
3. Through the server console directly modified, simple process: Prepare the terminal display keyboard to the computer room physical server plug in the login terminal, press F2 into the ESXi configuration, select troubleshooting options, click "Enable SSH" to activate the SSH service;
It is important to turn off the "lockdown mode" when SSH login is activated, in fact, if you close the Lockdown lock mode directly, you can log into the Web management interface of the ESXI host client directly.
After that, you can log in to the ESXi host via SSH and use the relevant commands to start or shut down the virtual machine. It can also be managed by logging into the Web management interface of the ESXi host client.
The following is a simple list of several commonly used ESXi SSH commands:
ESXCLI Command collection:
ESXCLI VM Process List//list of virtual machines started
ESXCLI VM Process Kill-t soft-w 58261//Shut down the virtual machine, where 58261 is the virtual machine number, obtained by the above command
If you are unfamiliar with usage, you can get help by esxcli VM assistance.
Vim-cmd Command set:
Vim-cmd Vmsvc/getallvms//List all virtual machines
Vim-cmd Vmsvc/power.on 11//11 is the virtual machine number, obtained through the command above
If you are unfamiliar with usage, you can get help through Vim-cmd.
VMWare opens host client Web login permissions via SSH