This shows you the differences between two versions of the page.
vmware [2020/06/22 20:19] k2patel [VDP] |
vmware [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== VmWare ====== | ||
- | |||
- | Nice free full virtualization system. I am keeping entry of few command line tools for easy referance. | ||
- | |||
- | == Start / Stop Guest OS from command line == | ||
- | <code bash | stop> | ||
- | vmrun -h https://localhost:8333/sdk -u root -p <password> stop "[standard] Windows 7/Windows 7.vmx" | ||
- | </code> | ||
- | |||
- | <code bash | start> | ||
- | vmrun -h https://localhost:8333/sdk -u root -p <password> start "[standard] Windows 7/Windows 7.vmx" | ||
- | </code> | ||
- | |||
- | === Keyboard mapping in vsphere web client == | ||
- | On mac i always had trouble accessing various tab on TTY while using web client. | ||
- | Found the shortcut and recording here. | ||
- | <code bash> | ||
- | FN+Cntrl+Optn+<f(x)> | ||
- | </code> | ||
- | <note tip>f(x) could be any function key or combination with alt+ctrl in regular system.</note> | ||
- | ==== vmware-converter-client ==== | ||
- | vmware-converter-client fail loading on 64 bit linux.\\ | ||
- | I have fixed it installing following package.\\ | ||
- | |||
- | Listed package naming is for fedora 15. | ||
- | |||
- | <code bash> | ||
- | yum install \ | ||
- | glibc.i686 \ | ||
- | libSM.i686 \ | ||
- | libXi.i686 \ | ||
- | libXrender.i686 \ | ||
- | libXrandr.i686 \ | ||
- | libXfixes.i686 \ | ||
- | libXcursor.i686 \ | ||
- | libXinerama.i686 \ | ||
- | libpng.i686 \ | ||
- | freetype.i686 \ | ||
- | fontconfig.i686 \ | ||
- | glib2.i686 \ | ||
- | </code> | ||
- | |||
- | That should do it. | ||
- | |||
- | ==== VDP ==== | ||
- | |||
- | === Command line Job Control === | ||
- | |||
- | **To Cancel Running job** | ||
- | <code bash> | ||
- | mccli activity cancel --id=<id> | ||
- | </code> | ||
- | |||
- | **To list all running jobs** | ||
- | <code bash> | ||
- | mccli activity show --active | ||
- | </code> | ||
- | |||
- | **List all Events** | ||
- | <code bash> | ||
- | mccli event show | ||
- | </code> | ||
- | |||
- | **Read log of running job** | ||
- | <code bash> | ||
- | mccli activity get-log --id=<id> | ||
- | </code> | ||
- | |||
- | ==== iSCSI volumes showing normal, degraded ==== | ||
- | After reboot does not join cluster.[[https://kb.vmware.com/s/article/2129058|VmWare]] | ||
- | <code bash> | ||
- | # On ESXi Host | ||
- | esxcfg-advcfg -s 0 /LVM/DisallowSnapshotLun | ||
- | esxcli storage core adapter rescan --all | ||
- | vmkfstools -V | ||
- | # Reboot ESXi host | ||
- | # Once joined vcenter, wait for few minutes try revert changes. | ||
- | esxcfg-advcfg -s 1 /LVM/DisallowSnapshotLun | ||
- | </code> | ||