Thursday, June 27, 2013

ESXi /KVM commands equivalent

dbus-uuidgen --get              esxcli system uuid get
dmidecode                           smbiosDump
virt-top                                esxtop

virsh list --all                      vim-cmd vmsvc/getallvms
virsh start <VM>                vim-cmd vmsvc/power.on
virsh destroy <VM>           vim-cmd vmsvc/power.off
virsh dumpxml <VM>        vim-cmd vmsvc/getinfo
ps |grep qemu                       ps |grep vmx
virsh net-list --all                esxcfg-vswitch -l
ovs-vsctl show

virsh pool-list --all           esxcfg-scsidevs -a
virsh vol-list <poolname>            esxcfg-scsidevs -m

virsh version/uname -a   vmware -v


virsh -c qemu+ssh://root@10.3.200.20/system list - run commands on remote node