Quantcast
Channel: VMware Communities : Blog List - All Communities
Viewing all articles
Browse latest Browse all 3135

VIMA - VMware Infrastructure Management Assistance - Useful Commands

$
0
0

I have listed some of the useful coemmands that will be required in day-to day operations , and which will be used by VMware admins

 

These are the common syntax that we use for the commands .

esxcli --help

vifp --help

vifptarget --help

----------------------------------------------------------------

 

 

How to add vcenter and ESXi as target

 

 

"vifp addserver server --authpolicy fpauth --username root"

 

 

 

 

 

How to list the server added as target

 

 

vifp listservers

 

 

 

To set the ESXi as the current target

 

 

vifptarget -s server

 

 

------------------------------------------------------------

some of the important commands to query esxi for parameters

 

 

esxcli hardware cpu list : to get CPU characteristics on the ESXi host

 

 

esxcli hardware memory get : to get memory characteristics on the ESXi host

 

 

esxcli hardware platform getI will : to get the hardware platform

 

 

esxcli system version get : to get the Esxi version installed on Bios

 

 

esxcli hardware clock get : to get the hardware clock

 

 

esxcli system hostname get: to get  the hostname

 

 

esxcli system boot device get : to get boot device list

 

 

vicfg-ntp --list : to list the Ntp servers details

 

 

vmware-cmd <vmx_file_path> start : to power on the server

 

vmware-cmd <file_path> getstate : To get execution of VM

 

 

esxcli vm process list : this will list the process in running virtual machine

 

 

vmware-cmd <VM_file_path> hassnapshot : to check if the VM has sanpshot

 

vmware-cmd <VM_file_path> stop soft : to power off the virtual machine

 

In my next blog post i will list down some of the useful Network , Storage troubleshooting commands and some poweCLI commands which will be useful for all Admins

 

 

Thanks and Regards,

Nithyanathan R


Viewing all articles
Browse latest Browse all 3135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>