VMware services and logs and many more

Just going through my friends doc and found some very important command, though of sharing

service mgmt-vmware restart
service vmware-vpxa restart

How to find ESXI IP address

vim-cmd hostsvc/net/info | grep -i  ipaddress

Lists all vm’s running on hypervisor and provides vmid

vim-cmd vmsvc/getallvms

Powers off vmid referenced from getallvms command

vim-cmd vmsvc/power.on vmid

Puts hypervisor into maintenance mode

vim-cmd hostsvc/maintenance_mode_enter

ESXi 5.0 Host Log Files

/var/log/esxupdate.log: ESXi patch and update installation logs.

/var/log/hostd.log: Host management service logs, including virtual machine and host Task and Events, communication with the vSphere Client and vCenter Server vpxa agent, and SDK connections.

/var/log/sysboot.log: Early VMkernel startup and module loading.

var/log/syslog.log: Management service initialization, watchdogs, scheduled tasks and DCUI use

/var/log/vmkernel.log: Core VMkernel logs, including device discovery, storage and networking device and driver events, and virtual machine startup.

/var/log/vmkwarning.log: A summary of Warning and Alert log messages excerpted from the VMkernel logs

/var/log/vmksummary.log: A summary of ESXi host startup and shutdown, and an hourly heartbeat with uptime, number of virtual machines running, and service resource consumption

  • /var/log/vpxa.log: vCenter Server vpxa agent logs, including communication with vCenter Server and the Host Management hostd agent.
  • /var/log/fdm.log: vSphere High Availability logs, produced by the fdm service

VMFS 3  Blog size

Block Size Largest virtual disk on VMFS-2 Largest virtual disk on VMFS-3
1 MB 456 GB 256 GB*
2 MB 912 GB 512 GB*
4 MB 1.78 TB 1 TB*
8 MB 2 TB 2 TB minus 512 B*

thanks to Ajit


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s