Our Sponsors

Conf – VMware

/dev/fd0 Address floppy disk drive
/etc/bashrc The system default $PS1 is defined here. It is a good idea to change “\W” to “\w” here to always see the full path while logged on the Service Console.
/etc/ Scheduled Tasks are stored in this file.
/etc/exports Lists the directories that the server can export.
/etc/fstab  This file defines the local and remote filesystems which are mounted at ESX Server boot.
 /etc/ftpusers lists all users not allowed to connect with FTP
/etc/group List of security groupsExample:
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
/etc/hosts The mapping of some hostnames to IP addresses.
/etc/init.d/ This directory contains the actual start-up scripts.
/etc/inittab Specifies the run level to be used by the service console
/etc/issue File which shows ESX and vmnix versionExample:
VMware ESX Server 2.5.1
Kernel 2.4.9-vmnix2 on an i686
/etc/lilo.conf Lilo.conf is the text file to describe the OS to boot. This text file is compiled into a binary file that is actually used by LILO.
/etc/logrotate.conf This is the main configuration file for log file rotation program. It defines the defaults for log file rotation, log file compression, and time to keep the old log files. Processing the contents of /etc/logrotate.d/ directory is also defined here.
/etc/logrotate.d/ This directory contains instructions service by service for log file rotation, log file compression, and time to keep the old log files. For the three vmk* files, raise “250k” to “4096k”, and enable compression.
/etc/modules.conf This file contains a list of devices in the system available to the Service Console.
/etc/ntp.conf This file configures the NTP daemon.
/etc/passwd List of security users. When we add a user with either the MUI or a command line tool such as useradd, we are adding to this text file.Example:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
/etc/profile.d/colorls.sh Command “ls” is aliased to “ls –colortty” here. You can comment-out (“#”) this line.
/etc/rc2.d/ This directory contains the K(ill) and S(tart) scripts for the default runlevel 2.
/etc/rc3.d/ This directory contains the K(ill) and S(tart) scripts for the default runlevel 3.
/etc/rc.d/rc.local This file is for server local customizations required at the server bootup. Potential additions to this file are public/shared vmfs mounts.
/etc/resolv.conf The DNS name server settings, This file does not need to be present if you are not using DNS.Example:
nameserver 10.20.10.21
nameserver 10.20.10.22
/etc/shadow Password file
/etc/skel Skeleton directory ? new home directories take copies of the files stored here.
/etc/ssh/
/etc/ssh/sshd_config
This directory contains all the SSH daemon configuration files, public and public keys.
/etc/sysconfig/network Text file containing hostname and default gateway.Example:
NETWORKING=yes
HOSTNAME=esx002
GATEWAY=10.20.0.1
/etc/sysconfig/network-scripts/ifcfg-eth0 IP, mask and device name. The text file contains IP configuration for interface eth0, which is reserved for the service console.
Change the console IP Address hereExample:DEVICE=eth0
BOOTPROTO=static
IPADDR=10.20.10.52
NETMASK=255.255.0.0
ONBOOT=yes
/etc/syslog.conf This file configures what things are logged and where.
/etc/vmware/ This directory contains the most important vmkernel configuration files.
/etc/vmware/devnames.conf This text file maps device names (example above) to modules and their PCI addresses. Note that the devnames.conf file contains SCSI devices and NIC devices.002:14.0 megaraid vmhba0
005:04.1 nic vmnic0
011:07.0 nic vmnic1
012:08.0 nic vmnic2
/etc/vmware/hwconfig grep ?i vmnic /etc/vmware/hwconfig              Finding which nic is which team
/etc/vmware/netmap.conf Maps ESX virtual switch names to device names.network0.name = “VM2Gigabit”
network0.device = “vmnic2″
network1.name = “VirtualSwitch1″
network1.device = “vmnet_1″
network2.name = “InternetSwitch”
network2.device = “vmnic1″
/etc/vmware/vm-list A file containing a list of registered VMs on this ESX Server.
/etc/vmware/vmware-devices.map Like hardware compatibility list. The file contains a list of ESX supported devices. Modify the vmware-devices.map.local file to select different devicedrivers (the file is not modified on upgrades). The vmware-devices.map.local file supercedes the vmware-devices.map file.
/etc/vmware/vmkconfig This is a text file which stores vmkernel configuration, like an INI file or registry key. The important fact to note is that this file does not exist until you make an edit away from the default setting.
/etc/xinetd.conf This is the main and defaults setting configuration file for xinet daemon. Processing the contents of /etc/xinetd.d/ directory is also defined here. The daemon itself is stored in /usr/sbin/xinetd
/etc/xinetd.d/ This directory contains instructions service by service for if and how to start the service. Of the services here, vmware-authd, wu-ftpd, and telnet are most interesting to us. Two of the most interesting parameter lines are “bind =” and “only_from =”, which allows limiting service usage.
/proc/net/NICfamily/eth0.info A text file that can be checked to see what the service console NIC is doing. The speed of the console NIC specified in the file modules.conf can be confirmed by this file.
/proc/swaps A text file that can be checked to see what swap the service console is using.
/proc/vmware  
/proc/vmware/pci Text file with discovered PCI devices
/var/log/ This directory contains all the log files. VMware’s log files start with letters “vm”. The general main log file is “messages”.