All About ESX Command Line
All About ESX Command Line
works.
b -s|--set <value>
c -d|--default
d -q|--quiet
e -k|--set-kernel
f -j|--get-kernel
g -h|--help
h -r|--restore
2 esxcfg-info o
3 esxcfg-firewall
a q
b l
c s
d u
e e
f d
g o
h c
4 esxcfg-module
a l
b s
5 esxcfg-rescan
6 esxcfg-upgrade
a -h --help
b -g --convert-grub
c -f --convert-fstab
d -r --upgrade-pre-vmkernel
e -o --upgrade-post-vmkernel
7 esxcfg-vswitch
a l
b a|add
c A|add-pg=
d L
e U
f v
g b
h B
8 esxcfg-auth
9 esxcfg-info
10 esxcfg-mpath l
11 esxcfg-resgrp
12 esxcfg-hbadevs
13 esxcfg-boot
14 esxcfg-init
15 esxcfg-nas
-a|--add
-o|--host <host>
-s|--share <share>
-d|--delete
-l|--list
-r|--restore
-h|--help
16 esxcfg-route
no parameters
IP address
17 esxcfg-vmknic
-a|--add
-d|--del
-e|--enable
-D|--disable
-l|--list
-i|--ip <X.X.X.X>
-n|--netmask <X.X.X.X>
-r|--restore
-h|--help
18 esxcfg-dumppart
-l|--list
-t|--get-active
-c|--get-config
-s|--set
-f|--find
-S|--smart-activate
-a|--activate
-d|--deactivate
-h|--help
19 esxcfg-linuxnet
20 esxcfg-nics
-s|--speed <speed>
-d|--duplex <duplex>
-a|--auto
-l|--list
-r|--restore
-h|--help
21 esxcfg-swiscsi
-e, --enable
-d, --disable
-q, --query
-s, --scan
-k, --kill
-r, --restore
-h, --help
22 esxcfg-vswif
m
g- though esxcfg- still works.
definition
this command is meant for advanced configurations.
Get the value of the config option
Suppress output
help
this lists the advanced options that can be used for the
previous command.
closes a port
help
this switch is to list all virtual switches and port groups defined on the host
find out which CDP mode the switch is working on - disable, listen, advertise, both
produces a lot of info about what is going on the ESX hosts. Gives more info than is available in the
config files or the proc filesystem
manages storage multipathing just as vmkmultipath did for earlier versions of ESX
used to manage resource groups. Can be used to add, remove or modify existing resource groups
used to query boot options. But must be followed by keywords boot or vmkmod.
This is also used if you making modifications to VMkernel device drivers defaults.
For example, if you were modifying the queue depth for a fibre HBA, you would likely be using
esxcfg-module. Then to rebuild the boot image you would enter
used to list, mount and dismount NFS exports for the VMkernel
Add a new NAS filesystem to /vmfs volumes. Requires --host and --share options
used to view, set or delete the default gateway for the host. In 3.5 it is also possible to view the routing
table and add more routes.
Used to view and set configure the VMkernel ports on virtual Ethernet switches. If you need to create a VMkernel
port at the command line, then you need to create a port group first and then enable it as a VMkernel port. This
tool does not allow you to enable the VMkernel port for VMotion, you must either use vimsh or the VI client for
that.
Add a VMkernel NIC to the system, requires IP parameters and portgroup name
The IP address for this VMkernel NIC. Setting an IP address requires that the
--netmask option be given in same command
The IP netmask for this VMkernel NIC. Setting the IP netmask requires that the --ip
option be given in the same command
List the partitions available for Dump Partitions. WARNING: This will scan all
LUNs on the system.
Get the active Dump Partition for this system, returns the internal name of the
partition vmhbaX:X:X:X) or 'none'
Get the configured Dump Partition for this system, returns the internal name of
the partition vmhbaX:X:X:X) or 'none'
Set the Dump Partition for this system and activate it,either vmhbaX:X:X:X
or 'none' to deactivate the active dump partition
Activate the configured dump partition or find the first appropriate partition
and use it
There is not normally a command that a virtual infrastructure administrator should need. The tool
is automatically used when you start an ESX server in troubleshooting mode; i.e. when you start
only the service console Linux kernel and don't start the VMkernel
This tool can be used to view and configure the speed and duplex settings of the physical
network cards in the ESX Server. This tool can replace the mii-tool and modules.conf for
network card management.
Set the speed of this NIC to one of 10/100/1000/10000. Requires a NIC parameter.
Set the duplex of this NIC to one of 'full' or 'half'. Requires a NIC parameter
ESX server 3 supports both hardware and software initiated iSCSI. For hardware iSCSI, we can
use host bus adapters which perform the TCP offload and so the VMkernel can just pass SCSI
commands to them as normal. The iSCSI hba can then wrap the SCSI command in IP transport and
forward them to the iSCSI target.
Enable sw iscsi
Disable sw iscsi
This tool can manage the Ethernet interfaces of the service console. In a big change from
previous versions of ESX, the Ethernet interface of the service console is named with the "vswif"
prefix and not "eth" prefix as you may be used to in Linux
esxcfg-advcfg -g /Misc/BlueScreenTimeout
esxcfg-advcfg -g /Misc/HostName
esxcfg-firewall -e sshClient
esxcfg-firewall -d smbClient
esxcfg-firewall -o 3306,tcp,out,MySQLclient
esxcfg-module -s ql2xmaxdepth64 qla2300_707_vmw
esxcfg-module -s "lpfc0_lun_queue_depth=64" lpfcdd_7xx
esxcfg-rescan vmhba32
esxcfg-vswitch -l
esxcfg-vswitch -b vSwitch0
esxcfg-info -s >/tmp/esxinfo-28-07-2008.txt
less /tmp/esxinfo-28-07-2008.txt|grep Pending
esxcfg-mpath -l
esxcfg-vmhbadevs
esxcfg-boot -q boot
esxcfg-boot -q vmkmod
esxcfg-boot -m
esxcfg-route
esxcfg-route 100.100.100.1
esxcfg-route -l
esxcfg-vmknic -d VMotion
esxcfg-vmknic -l
esxcfg-linuxnet --setup
--remove
-h --help
esxcfg-vswif -a -i 10.10.1.31 -n 255.255.0.0 -p "Service Console Backup" vswif1
Value of BlueScreenTimeout is 0
Value of HostName is esx1.vmlab.net
both
Disk vmhba0:0:0 /dev/cciss/c0d0 (69459MB) has 1 paths and policy of Fixed
Local 2:1.0 vmhba0:0:0 On active preferred
vmhba0:0:0 /dev/sda
vmkapimod vmkapimod
vmklinux linux
cciss.o scsi
tg3.o nic
qla2300_7xx.o fc
NFS01 is /NFS from 100.100.100.253 mounted
the service name that the firewall uses are defined in the /etc/vmware/firewall/services.xml file.
further explanation on this command required
there are six switches that can be used with this command to get specific information.
w --> hardware
r --> resources
s --> storage
n --> network
y --> system
o --> advanced options
100.100.100.165 becomes the gateway for the network
The --setup option cannot be combined with the --remove option
In software iSCSI initiator, the wrapping of SCSI commands in IP is performed by the
VMkernel and a regular physical network card is used to communicate with the iSCSI target.
The software iSCSI configuration is exposed in the VI Client as a host bus adapter called
vmhba40 in ESX 3.0.x and is called vmhba32 in ESX 3.5. We can use this command line tool
esxcfg-swiscsi to configure the software iSCSI initiator. The software iSCSI initiator in the
VMkernel has a dependency upon the service console, therefore both the service console and
VMkernel must have an IP route to the iSCSI target. The esxcfg-swiscsi command is not used
in isolation, we use it in a sequence of commands to fully configure iSCSI from the service
console command line.
1. Add a VMkernel port to a vSwitch that has an uplink and route to iSCSI target
2. Ensure service console IP interface has a route to the same iSCSI target
3. Using either the VI Client security profile or the esxcfg-firewall, open a port in the service console firewall for iSCS
4. In the command line, enable iSCSI with the command esxcfg-swiscsi -e
5. Enable a discovery address with the command vmkiscsi-tool -D -a 10.0.0.99 vmhba32
6. List the targets that were discovered with vmkiscsi-tool -T -l vmhba32
7. Perform a rescan with esxcfg-rescan vmhba32
8. List the iSCSI LUNs with vmkiscsi-tool -L -l vmhba32
sl filename
1 /etc/vmware/esx.conf
2 /etc/nsswitch.conf
3 /usr/bin/vmware-watchdog
4 hostd
5 /var/log/vmware/hostd.log
6 /etc/vmware/firewall/services.xml
7 vpxa
8 /etc/vmware/vpxa.cfg
9 /var/log/vmware/vpx/vpxa.log
description
An all new configuration file for ESX Server 3.x. This file replaces the functionality of the following
configuration files found in earlier versions of ESX.
This file should not be copied from one ESX host to another in order to duplicate configuration, it is unique to th
This is the name service switch configuration file. Used to modify the order of how names in the service console
resolved
This process watches over the hostd process and restarts it if it crashes.
This is the daemon that replaces vmware-serverd that was found in the ESX 2.x products. This is the host man
agent and is responsible for a number of key management functions on an ESX host
This file contains the definitions for the TCP ports and service names used by the service console firewall
This is the name of the VirtualCenter server agent that runs in the service console of ESX 3.x servers
(which was called vmware-ccagent in ESX 2.x).
This is the XML configuration file for the VirtualCenter Server Agent in the service console
The log file for VirtualCenter agent in the service console.
notes
However, an application could use its own resolver library. An example of this is the dig utility for testing DNS
lookups - this tool ignores the /etc/nsswitch.conf file
for "host not responding" type problems, restart the management agent -
service mgmt-vmware restart
You could modify this XML file to include your own definitions but this is not recommended by VMware. The
VMware management agent (hostd) will load everything in this file, whether it is valid or not. Also, we have not tested if
such a change would persist through a patching/upgrade, but we suspect not. Duncan Epping over at Yellow Bricks has
done some great testing and documentation in this space and at the following link demonstrates how to add your own
custom.xml file to the /etc/vmware/firewall directory (using same format as services.xml) to provide custom port
definitions. You can read all about it at http://www.yellow-bricks.com/2007/12/31/howto-adding-a-firewall-service-on-esx/.
Just make sure you use ids in the file that are different than the ones in services.xml.
trying to troubleshoot an issue, it is a good idea to increase the log level by the <log level> tag.
example of entry
<service id='0000'>
<id>sshServer</id>
<rule>
<direction>inbound</direction>
<protocol>tcp</protocol>
<port type='dst'>22</port>
<flags>-m state --state NEW</flags>
</rule>
</service>
<config>
<log>
<outputToConsole>false</outputToConsole>
</log>
<nfc>
<loglevel>error</loglevel>
</nfc>
<vmacore>
<ssl>
<doVersionCheck>false</doVersionCheck>
</ssl>
<threadpool>
<TaskMax>10</TaskMax>
</threadpool>
</vmacore>
<vpxa>
<datastorePrincipal>root</datastorePrincipal>
<hostIp>100.100.100.11</hostIp>
<memoryCheckerTimeInSecs>30</memoryCheckerTimeInSecs>
<serverIp>100.100.100.172</serverIp>
<serverPort>902</serverPort>
</vpxa>
<workingDir>/var/log/vmware/vpx</workingDir>
SL Tool
1 vmkfstools
2 vmware-cmd
3 vm-support
4 esxupdate
5 /var/log/vmware/esxupdate.log
6 contents.xml
7 contents.xml.sig
8 vimsh
9 vmware-vim-cmd
Description
Used to manipulate VMFS and virtual disks at the service console command line.
In ESX2.x mostly used it most often for import and export operations, where a
virtual disk is converted from monolithic format to sparse format (previously called COW
format). Now it is used in ESX scripted install scripts to automate VMFS configuration
This command has been in ESX for a number of versions and it's functionality has
been extended with each major release. most frequent use of this command is to
register or power on VMs from the console command line
A great built-in tool which collects all configuration files on an ESX host and builds
a tar archive that can be sent to VMware support so they can have a complete picture of
your system to assist in the troubleshooting effort.
This utility is what we use to patch our ESX hosts with updates from VMware. You
can use this tool interactively to install individual patches, or use it to scan your ESX host
to see which patches are required as well as to do a "what-if" install of a host patch to
identify if there will be any problems.
Every ESX patch contains a file called contents.xml. This file describes the
directory structure of the patch bundle contents.
This is a superb utility that we use on occasion, particularly when we are creating
scripted builds for ESX. this tool of unique use is in the enabling of a VMkernel port for
VMotion.
This command is a variation on the vimsh command that allows faster execution
as we can invoke this command using the same options we use with vimsh, however this
time we don't end up inside the vimsh shell after execution
Operations
patch repository
for versions prior to 3.5
vmkfstools -t /vmfs/volumes/storage1/vm/vm.vmdk
vm-support -x
vm-support -S -i 30 -d 600
tar -zxvf archive.tgz
vimsh
hostsvc/vmotion/netconfig_get
vimsh -n -e "hostsvc/vmotion/vnic_set vmk0
vmware-vim-cmd /hostsvc/hostsummary
Notes
We can use vmkfstools to create VMFS file system, if we have a partition of type fb already created on it
The -X (case-sensitive) switch is used to extend the size of a virtual disk; e.g. if you had a 10GB virtual disk
and wanted to extend it to 20GB, you could use this command. The VM would need to be powered off for this to work.
Note that the -X switch specifies the NEW SIZE of the virtual disk and NOT how much you are extending it by.
If you do want to import virtual hard disks that are in 2GB sparse format into monolithic format by hand,
then we can use vmkfstools command with the -i switch.
The undocumented -t switch will show us how many contiguous sections a virtual disk has. If it only has 1
section, then it's not fragmented
If there is limited space in your VMFS volumes, then you will likely want to know if any of your VMs are running in
snapshot (where the disk writes are going into a disk delta and not the regular parent virtual disk). It is a nice idea to have a
short script to enumerate the VMs on your host and loop through them to check each of them to see if they have a snapshot.
The vmware-cmd command again helps us out with this.
Watch out for the creation of empty subdirectories of the name "vm-support.<pid-of-process>" in the directory
where you run this tool with the -x switch. It is safe to delete these directories. You can't run this command if your current
directory is /proc.
A less well-known option of vm-support is the ability to capture host performance data which can be replayed later
using esxtop. To invoke the performance capture, we need to specify how frequently a performance "snapshot" is taken and
over what period of time. For example, if we wished to capture host performance every 30 seconds for 10 minutes, then we
would invoke vm-support with the following options
The performance snapshots are archived automatically into a tgz file (a tgz file just like a WinZIP (R) archive).
The tgz archive file name produced is unique to each time it's run, as the name includes date, time and process id of vm-suppo
To replay the data in esxtop, use the "-R" switch to specify replay mode and supply the path to the performance
capture file produced by vm-support.
You can use the --explain switch when scanning to provide a greater level of detail to your host patch scan
operation. If for example, the AppFlags for a patch indicated "c" for conflict, you would probably want to know what exactly th
patch was in conflict with.
this line will give a huge o/p. find out vmkx files.
http://knowledge.xtravirt.com/white-papers/scripting.html
www.rtfm-ed.co.uk
Likely output
vm1 is powered on
sl utility
1 rpm
2 rpm2cpio
description
As ESX service console is based on modified Red Hat Enterprise Linux 3, we can use the RPM
package installation method to add applications to it. However, we should also point out that it's maybe
not the best idea to add software to the service console. It is best to treat the service console as a
dedicated console and not add applications to it
If you are wanting to extract a single file from a RPM package but you don't want to install the
RPM, then this is the tool for you. Probably best if you copy the RPM to a temp directory so when you
extract the RPM you can then navigate the directory structure created in that temp directory to find the
file or files you need.
usage
rpm -qa
VMware-webCenter-esx-2.0.1-32041
VMware-esx-apps-3.0.1-32039
VMware-esx-iscsi-3.0.1-32039
VMware-esx-uwlibs-3.0.1-32039
VMware-esx-vmkernel-3.0.1-32039
VMware-esx-drivers-block-DAC960-2.4.11-32039
VMware-esx-drivers-net-bcm5700-7.3.5-32039
/etc/vmware/hostd/config.xml
/etc/vmware/hostd/env/0.xml
/etc/vmware/hostd/env/1.xml
/etc/vmware/hostd/env/vmconfigoption-esx-2.5.0.xml
/etc/vmware/hostd/env/vmconfigoption-esx-3.0.0.xml
/etc/vmware/hostd/environments.xml
/etc/vmware/hostd/esxinfo.vha
notes
Once you have copied out the file you were after, you can
safely delete the contents of that temp directory. In other words,
we have used rpm2cpio to extract the RPM archive.
i = Restore archive
d = Create landing directories
m = Create previous file modification times
v = verbose
sl utility
1 /etc/ssh/sshd_config
2 su
3 sudo
4 visudo
5 /etc/sudoers
6w
7 who
8 vmkload_mod
9 minicom
10 vi
11 nano
12 /etc/ntp.conf
13 /etc/ntp/step-tickers
14 ntpdate
15 ntpq
16 date
17 hwclock
18 cal
19 passwd
description
The configuration of SSH client is stored in the text file /etc/ssh/ssh_config
The configuration of the SSH server daemon is stored in the text file
/etc/ssh/sshd_config. An important setting in this file is PermitRootLogin=No. This is
the default setting in ESX 3.x and it is recommended that you keep the setting at "No".
This way you have an audit trail and see exactly who is logging in, rather than just "root".
This command is the switch user utility. When it used without parameters, we are
specifying to switch to the user root. However, we can use the su command to switch
shell to any user account that we know the password of
The downside of the su command is that the operators who elevate their privilege
to root are now root. They have full privilege, they know the root password, there is no
granularity of delegation of privilege.
This is the vi text editor with extras. When launched, it automatically opens and
locks for exclusive edit, the /etc/sudoers file. The point of visudo is to ensure we
always edit the right file as the location of the sudoers file differs between nix
distributions, but this command is constant and will utilise the right sudoers file for the
distribution being used
The text file that contains the sudo users and the rules that apply to them. The
first "ALL" relates to all machines (useful if this is a network wide file). Otherwise, this
could be the hostname of the one machine we are trying to run the command on. In the
following example we are allowing the user "alistair" to run the kill command, all of the
commands in the directory /usr/bin and any commands in the directory /usr/sbin/alistair
This command will load and unload VMkernel modules on the fly. The results of this
load/unload will happen as you type it and will only be valid for the current booted session.
So this command is superb for troubleshooting as we can load and unload modules,
e.g. network drivers.
Another text editor, more friendly than vi but you should use –w to avoid word wrap.
If you have a single time source configured for your service console, then this file
will have just 1 line, similar to the following:
If you want to synchronise your service console clock with the defined time server,
you can use this command with the -u switch.
This queries the state of the ntp service. Watch for the back ticks used in the
parameters, they are not single quotes!
We can use this command to synchronise the server hardware clock with the date
we set in the service console. If you enter the command with no parameters then the value
of the hardware clock is displayed.
usage/entries
grep Permit /etc/ssh/sshd_config
su -
sudo vmkfstools
vmkload_mod -u e1000
./minicom com1
#
# Drift file. Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
#
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
#
# Authentication delay. If you use, or plan to use someday, the
# authentication facility you should make the programs in the auth_stuff
# directory and figure out what this number should be on your machine.
#
authenticate yes
#
# Keys file. If you want to diddle your server at run time, make a
# keys file (mode 600 for sure) and define the key number to be
# used for making requests.
#
# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote
# systems might be able to reset your clock at will. Note also that
# ntpd is started with a -A flag, disabling authentication, that
# will have to be removed as well.
#
keys /etc/ntp/keys
server 192.168.1.100
ntpdate -u timeserver.local
hwclock
hwclock --systohc
notes
shows the settings of the file
It is also possible to explicitly allow or deny specific users to the SSH daemon.
The headings in the ssh_config file are DenyUsers and AllowUsers
changaes to root
If you would like to restrict the use of the su command, then we can limit it to
the members of a specific group called wheel. This group is defined in the
/etc/group file by default and it's membership can be modified by root. In order to
limit su to the wheel group members we need to modify a configuration file called
/etc/pam.d/su
#auth required /lib/security/$ISA/pam_wheel.so user_uid
uncomment the above line in the file
The attempts to switch to the root account are logged in /var/log/messages.
In the this line added to the /etc/sudoers file, we have allowed the user sara to
run the esxcfg-firewall and esxcfg-vswitch command.
creating aliases
creating rules
2 /opt/LGTOaam512/bin/ftcli
3 /etc/FT_HOSTS
description
AAM is the Automated Availability Manager that runs in the service
console when you create a VMware High Availability (VMware HA) cluster.
The VMware HA feature was previously known as DAS (Distributed
Availability Services) but we don't mention that anymore
This software maintains an in-memory database on active nodes in
the cluster and uses heartbeats to co-ordinate the active and passive
nodes. It is suggested that you configure service console with 2 Ethernet
interfaces to remove any single point of failure.
This utility allows you to view the active nodes in an HA cluster and
the managed IP addresses. This utility will help you determine whether
the HA agent is in a running state and which IP addresses are visible
between those managed hosts
2 ifconfig
3 ping
4 vmkping
5 /sbin/arping
6 arp
7 ethtool
8 tcpdump
9 ip
10 route
11 tracepath
12 netstat
13 nslookup
14 dig
15 rpcinfo
description
This utility displays the service console hostname. There
are some useful switches to this command
hostname -s
vmkping 192.168.93.200
arp -a
ethtool vmnic1
ethtool -s vmnic1 wol g
tcpdump -i vswif0
ip addr add
ip route show
ip neigh show
ip -help
route -n
tracepath 192.168.170.201
nslookup mail.example.com
nslookup 10.10.0.4
dig mail.example.com
probable o/p
Be aware this tool makes use of the service console DNS, so if there are problems
there, try vmkping using the IP address of the destination rather than hostname to ensure
that any errors you see are unrelated to name resolution problems in the service console
If you use -D it will ping all important stations (own interface, iSCSI and default
gateway).
It's unlikely you will need static arp entries, but it can be done using the -s switch
The output of this tool provides a load of information about the network cards, but of
particular interest now is the support for Wake-on-LAN (WoL). DPM makes use of this NIC
feature and so we need to check that our NICs both support the function AND have the
function enabled. The ethtool allows us to view and set this functionality.
enabling WOL
if you use -n to not resolve hostnames and protocol ports to service names
The -p switch is extremely useful for determining which processes are using those
sockets
Proper reverse lookup is recommended for any SSL encrypted connections
The dig tool can be used for reverse lookup with -x switch. This tool does not use
standard libc name service lookup and therefore does not refer to /etc/nsswitch.conf. It goes
directly to the DNS servers listed in /etc/resolv.conf. Note, if you have multiple nameserver
entries in /etc/resolv.conf we only query the 2nd or 3rd entry if the 1st or 2nd cannot be
contacted. If the 1st nameserver responds with an unknown host reply to the query, we stop
and don't query the remaining nameservers.
sl utility
1 showmount
2 portmap
3 mount
description
This command is used by a NFS client to see what directories are
being exported by a NFS server
Also remember that by default nfsClient is blocked by the service console firewall.
sl utility
1 vcbVmName
2 vcbSnapshot
3 vcbMounter
4 vcbMounter.exe
5 vcbExport
6 mountvm.exe
7 vcbCleanup
8 backuptools.conf
9 vcbRestore
10 vcbUtil
description
If we only know some of the details of a VM, but not all, we can
use this query tool to ask VirtualCenter to report back all that it can find
about it.
vcbRestore /remotenfs/backups/vm
notes
citation reqd
citation reqd
2 /proc/vmware
3 /proc/vmware/migration/history
4 /proc/scsi
5 /proc/vmware/sched/ncpus
6 /proc/scsi/qla2x00
description
The volatile /proc directory hierarchy that can be treated as a file system but is actually held in RAM. We can
interrogate the files and directories in /proc to find out some great information about the running of the service console.
The volatile /proc/vmware directory hierarchy that can be treated as a file system but is held in RAM. We can
interrogate the files and directories in /proc/vmware to find out some great information about the running of the VMkernel.
If you want to check which SCSI devices are visible, cat this file
This is an in-memory file displaying the number of processors (ncpus) in the ESX server. This is a very useful file to
inspect when you are unsure how many physical processors you have and if hyper-threading is enabled.
If you are using QLogic fibre host bus adapters this is where to check
notes
cat /proc/vmware/sched/ncpus
4 logical
2 cores
2 packages
sl
1
8
9
utility
vpxd.exe
vpxd.cfg
vpxd-#.log
vpxd-index
vum-proxyAuthCfg.exe
vci-integrity.xml
vmware-umds.exe
vmware-updateDownloadCli.exe
description
This is the process name of the Windows service that is the core service running on the VirtualCenter
management server. If there are problems with the VirtualCenter service starting and then stopping almost
immediately or a few seconds later, then check your ODBC database string and then the health of the the
database server. We have seen this when the database runs out of disk space; check if the log space is full on the
DB server, many clients forget about regular backup of this database. When troubleshooting the VirtualCenter
service you can try VirtualCenter in stand-alone mode.
This is the VirtualCenter management server configuration file which the VC service reads at start-up
There are a number of configuration changes to VirtualCenter we can make in this file, but as of VC 2
one such change you may wish to make is the disabling of "Guided Consolidation". This feature, shown just as a
consolidation button in the VI client, is intended to help small customers select which physical Windows hosts are
suitable for consolidation and then guide them to perform the physical to virtual migration.
There will be up to log files for VirtualCenter server. The log data is rotated across 10 log files numbe
0-9. Once a log file reaches 5MB, the next one is used
This file is the index file which indicates which of the numbered vpxd-#.log files is the current active
This file is found on the VirtualCenter management server. VirtualCenter logs are rotated across 10 log files
numbered 0-9.
There should be no reason for you to look at this file on the VirtualCenter server, however if you wan
double check the Apache Tomcat configuration and status using the Tomcat Manager webpage, then you'll need to
The Update Manager component of Virtual Infrastructure is new to version 2.5. This component allow
the patch management of Windows & Linux guests as well as ESX hosts. When installing the Update Manager
component, the Windows installer package prompts the operator if they wish to use a proxy server to connect to
the Internet, the only options are proxy IP address and port. If your proxy server requires authentication, then
this tool must be run to supply the proxy server credentials.
This is the primary configuration file for the VMware Update Manager (VUM). This file is read at start-
of the UM service and if the XML file is manually edited, then the service should be restarted for the change to
take effect.
This is the VMware Update Manager Download Service. If you don't want the server where Update
Manager is installed on to actually connect to the Internet and do the patch downloading, then UMDS is for you
This tool is run on the Update Manager server to import the patches made available from the UMDS
export. So if you had a DVD burned which had all the updates that was inserted to the UM server and available as
drive Z:
usage
vpxd -s
<vcp2v>
config.vcp2v.dontStartConsolidation = true
</vcp2v>
les numbered
nent allows
d at start-up
vmware-umds --download
vmware-umds -E e:\exportedupdates
he UMDS
notes
You will get interactive logging of the start-up activity helping you to pinpoint where the problem is
If all else fails, you can always re-initialize the VirtualCenter database. However, this is not recomme
initializing the VirtualCenter database you are wiping out all VC data!! If you do want this, then use t
switch to vpxd.
If you have already been through the consolidation process, then you don't need this feature. It mak
the feature if you are not using it as this should improve VC performance. To disable Guided Consolidation, simply edit the vpx
file on the VC management server and add the lines:
gets rid of guided consolidation feature. Run this command on the windows command line on the VC server
One of the main reasons you may want to edit this file is if you wish to change the directory that patc
into, i.e. the patch store.
UMDS installs on a Windows server (that is not the same server as UM) and doesn't create a start me
e downloaded
gram group.
ns issue and
To download the RCLI appliance, Windows installer or Linux installer, visit
sl utility
1 svmotion
2 /etc/.visdkrc
Windows installer or Linux installer, visit
description
This command is run from an RCLI interface to perform a live migrate of a VMs storage from one datastore to
another, known as storage VMotion. In a storage VMotion, only the virtual disks of the VM move, unlike a regular
VMotion, the VM remains running on the same
This is a hidden file that you can create in the RCLI appliance which stores the parameters you wish to use when
running commands against a host.
usage
svmotion --interactive
VI_SERVER = vcserver.taupoconsulting.com
VI_USERNAME = Administrator
VI_PASSWORD = vmware
VI_PROTOCOL = https
VI_PORTNUMBER = 443
notes
To perform an interactive storage VMotion
to script this command, then the inputs can be supplied as parameters to the svmotion
command
If you don't want to include user data in the command, then you can combine this method with
an environment variables file called ./visdkrc
sl utility
1 DCUI
2 unsupported
3 dropbear
4 busybox
5 vsish
description
This is the Direct Console User Interface, in other words, when you go to the physical console of an ESXi host, what do you inte
DCUI looks and feels like a BIOS management system with menus navigated using the keyboard.
To reach a command line interface on an ESXi host, you could enter the command unsupported while viewing virtual terminal
that there will be no local echo while you type this command
This is a small SSH2 server and client available in the unsupported command line of ESXi. You need to manually enable it by ed
/etc/inetd.conf and removing the comment character (#) from the start of the line relating to ssh.
The VSI shell is the ESX 3i equivalent of interrogating the service console /proc nodes. You can view the state of running VMke
drivers
notes
This is covered really well in a video over at Richard Garsthagen's site http://www.run-virtual.com/?p=223 as well as on
Dave Mishchenko's site http://www.vm-help.com/
ESXi
ESXi 4.0
ESXi 3.5 Installable Update 3 Build 123629 - 6th November 2008
ESXi 3.5 Installable Update 2 Build 110271 - 13th August 2008
ESXi 3.5 Installable Update 1 Build 82664 - 10th April 2008
ESXi 3.5 Installable Build 70348 - 10th January 2008
ESX4
ESX3
Converter
Converter 3.0.3
Converter 3.0.2 Update 1 (Standalone Enterprise Edition) Build 62456 - 3rd December 2007
Converter 3.0.2 (Standalone Enterprise Edition) Build 59994 - 18th October 2007
Converter 3.0.1 (Standalone Enterprise Edition) Build 44840 - 26th April 2007
Converter 3.0.0 (Standalone Enterprise Edition) Build 36853 - 29th January 2007
VMmark