Vmware: Difference between revisions
From DWIKI
m (→FAQ) |
m (→FAQ) |
||
Line 39: | Line 39: | ||
vim-cmd vmsvc/getallvms | vim-cmd vmsvc/getallvms | ||
vim-cmd vmsvc/get.guest <vmid> | vim-cmd vmsvc/get.guest <vmid> | ||
==Start VM from commandline== | |||
Esx4/5/6.0 | |||
vim-cmd vmsvc/getallvms | |||
vim-cmd vmsvc/power.on <vmid> |
Revision as of 08:52, 19 June 2019
Links
- https://www.altaro.com/vmware/top-20-esxcli-commands/
- Understanding SCSI device/target NMP errors/conditions in ESX/ESXi 4.x and ESXi 5.x/6.0 (1030381)
- Best Practices running VMware with NFS
FAQ
Cloning on command line
Used vmkfstool and create new VM using "Use existing virtual disk"
Info
esxtop
Remount nfs
Get system UUID
esxcli system uuid get
Network configuration
https://www.altaro.com/vmware/vsphere-networking-basics-part-1/
Show network addresses
esxcli network ip interface ipv4 get
Set network address
esxcli network ip interface ipv4 set -i vmk0 -t static --ipv4=192.168.12.11 -N 255.255.255.0
Show hardware info
esxcli hardware pci list
Show routing table
esxcli network ip route ipv4 list
Show VM information
vim-cmd vmsvc/getallvms vim-cmd vmsvc/get.guest <vmid>
Start VM from commandline
Esx4/5/6.0
vim-cmd vmsvc/getallvms vim-cmd vmsvc/power.on <vmid>