Monday, November 3, 2008

VMware CLI

vdf -h
df- h
esxtop
vmkfstools
vmware-cmd
service --status-all
[Restart httpd]  /etc/init.d/httpd.vmware restart
vdf
Restart the Apache server.
/etc/rc.d/init.d/httpd.vmware restart

VMware CLI

esxcfg-firewall --openPort  <port,Protocol,Direction,name>

 

port: Application Port
Protocol:tcp or udp
Direction: in or out
name: Descriptive name of rule

esxcfg-firewall -q  to query settings

Example:

esxcfg-firewall --openPort 14247,tcp,out,IBMDirector

You cannot configure unsupported services through the VI Client.