Contents
ESXi
Manger host
To power on a virtual machine from the command line
List the inventory ID of the virtual machine with the command:
vim-cmd vmsvc/getallvms |grep <vm name>
- Note: The first column of the output shows the vmid.
Check the power state of the virtual machine with the command:
vim-cmd vmsvc/power.getstate <vmid>
Power-on the virtual machine with the command:
vim-cmd vmsvc/power.on <vmid>
Show FC WWN
[root@localhost:~] esxcli storage san fc list Adapter: vmhba2 Port ID: 010B00 Node Name: 20:00:00:90:fa:86:71:cc Port Name: 10:00:00:90:fa:86:71:cc Speed: 8 Gbps Port Type: NPort Port State: ONLINE Adapter: vmhba3 Port ID: 010B00 Node Name: 20:00:00:90:fa:82:8d:f4 Port Name: 10:00:00:90:fa:82:8d:f4 Speed: 8 Gbps Port Type: NPort Port State: ONLINE
VSAN
http://www.settlersoman.com/how-to-configure-vmware-virtual-san-vsan/
