ESX CLI Commands: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
New page: ==== ESX CLI Commands ==== Virtual Infrastructure ESX has a service console which can be used to management purposes. This is a light weight linux based (RHEL3) Virtual Machine which has ...
 
Changes to the ESX Service Console for ESX 4.0 (Thanks Jason Boche for finding the VMTN post with the PDF)
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
The chapter here only contains the documentation for the full blown version not the RCLI.
The chapter here only contains the documentation for the full blown version not the RCLI.


Any changes made to the configuration of the host will not be seen by vCenter Server or the host itself until you restart the vmware-hostd daemon. By restarting this daemon, the configuration file /etc/vmware/esx.conf will be re-read.
service mgmt-vmware restart
will restart this daemon.
==== The available commands ====
[[dmidecode]]
  [[esxcfg-advcfg]]       
  [[esxcfg-advcfg]]       
  [[esxcfg-auth]]         
  [[esxcfg-auth]]         
Line 42: Line 52:
  [[vcbVmName]]
  [[vcbVmName]]
  [[vdf]]
  [[vdf]]
[[vimsh]]
  [[vmfsqhtool]]
  [[vmfsqhtool]]
  [[vmfsqueuetool]]
  [[vmfsqueuetool]]
Line 78: Line 89:
  [[vmware-watchdog]]
  [[vmware-watchdog]]
  [[vmware-webAccess]]
  [[vmware-webAccess]]
==== External Links ====
* [http://download3.vmware.com/vmworld/2006/tac9685.pdf VMworld 2006: Command Line Interface Tips and Tricks for VMware ESX Server 2 and 3]
* [http://www.rtfm-ed.co.uk/docs/vmwdocs/ESX3.x-VC2.x-ServiceConsole-Guide.pdf RTFM Education: ESX3.x Service Console Guide]
* [http://www.b2v.co.uk/b2vguide2vmware.htm B2V Guide to VMware ESX Server 2.x]
* [http://www.jume.nl/index.php?option=com_content&task=view&id=115&Itemid=1 Jume: ESX vSphere Man pages]
* [http://communities.vmware.com/message/1320276 Changes to the ESX Service Console for ESX 4.0]
[[Category: ESX]] [[Category: CLI]]

Latest revision as of 09:46, 26 July 2009

ESX CLI Commands

Virtual Infrastructure ESX has a service console which can be used to management purposes. This is a light weight linux based (RHEL3) Virtual Machine which has special privileges that can be used in order to manage your host and Virtual Machines. Down here we will be trying to document the available commands that you can use on this service console from the so called Command Line Interface (CLI).

In ESXi (3.x) the service console has been removed from the host and there's only a remote alternative available, which is called the RCLI. The chapter here only contains the documentation for the full blown version not the RCLI.

Any changes made to the configuration of the host will not be seen by vCenter Server or the host itself until you restart the vmware-hostd daemon. By restarting this daemon, the configuration file /etc/vmware/esx.conf will be re-read.

service mgmt-vmware restart

will restart this daemon.


The available commands

dmidecode
esxcfg-advcfg      
esxcfg-auth        
esxcfg-boot        
esxcfg-configcheck
esxcfg-dumppart   
esxcfg-firewall   
esxcfg-hwiscsi    
esxcfg-info     
esxcfg-init
esxcfg-linuxnet
esxcfg-module
esxcfg-mpath
esxcfg-nas
esxcfg-nics
esxcfg-pciid
esxcfg-rescan
esxcfg-resgrp
esxcfg-route
esxcfg-swiscsi
esxcfg-upgrade
esxcfg-vmhbadevs
esxcfg-vmknic
esxcfg-vswif
esxcfg-vswitch
esxupdate
vcbExport
vcbMounter
vcbResAll
vcbRestore
vcbSnapAll
vcbSnapshot
vcbUtil
vcbVmName
vdf
vimsh
vmfsqhtool
vmfsqueuetool
vmkchdev
vmkdump
vmkerrcode
vmkfstools
vmkiscsid
vmkiscsi-device
vmkiscsi-ls
vmkiscsi-tool
vmkiscsi-util
vmkloader
vmkload_mod
vmklogger
vmkpcidivy
vmkping
vmkuptime.pl
vmres.pl
vmsnap_all
vmsnap.pl
vmstat
vm-support
vmware
vmware-authd
vmware-autopoweron.sh
vmware-cmd
vmware-configcheck
vmware-config.pl
vmware-hostd
vmware-hostd-support
vmware-mkinitrd
vmware-vim-cmd         
vmware-vimdump         
vmware-vimsh
vmware-watchdog
vmware-webAccess

External Links