VMWare Interview Questions
VMWare Interview Questions
1. VMWare Kernel is a Proprietary Kenral and is not based on any of the UNIX operating systems, it's a kernel
developed by VMWare Company.
2. The VMKernel can't boot it by itself, so that it takes the help of the 3rd party operating system. In VMWare case
the kernel is booted by RedHat Linux operating system which is known as service console.
3. The service console is developed based up on Redhat Linux Operating system, it is used to manage the
VMKernel
4. To restart webaccess service on vmware
service vmware-webaccess restart this will restart apache tomcat app
5. To restart ssh service on vmware
service sshd restart
6. To restart host agent(vmware-hostd) on vmware esx server
service mgmt-vmware restart
7. Path for the struts-config.xml
/usr/lib/vmware/webAccess/tomcat/apache-tomcat-5.5.17/webapps/ui/WEB-INF/
8. To start the scripted install the command is
esx ks=nfs:111.222.333.444:/data/KS.config ksdevice=eth0
location
device name
9. Virtual Network in Simple.
Virtual Nic(s) on Virtual Machine(s) ----->
Physical Nic on the ESX Server (Virtual Switch - 56 Ports) ----->
Physical Switch Port
Should be trunked with all the VLANS to which the VM's need access
All the ESX servers should be configured with Same number of Physical Nics (vSwitches) and Connectivity also
should be same, So that vMotion succeeds
All the Virtual Machines are connected to one vSwitch with Different VLANS, this means the Physical Nic(vSwitch)
needs to be trunked with the same VLANS on the Physical Switch Port
10 What are the three port groups present in ESX server networking
1. Virtual Machine Port Group - Used for Virtual Machine Network
2. Service Console Port Group - Used for Service Console Communications
3. VMKernel Port Group - Used for VMotion, iSCSI, NFS Communications
11. What is the use of a Port Group?
The port group segregates the type of communication.
12. What are the type of communications which requires an IP address for sure ?
Service Console and VMKernel (VMotion and iSCSI), these communications does not happen without an ip address
(Whether it is a single or dedicated)
13. In the ESX Server licensing features VMotion License is showing as Not used, why?
Even though the license box is selected, it shows as "License Not Used" until, you enable the VMotion option for
specific vSwitch
http://www2.isupportyou.net/2010/09/vmware-interview-questions-part-ii.html
Thanks for your support, will keep posting on some more interview questions and fixes, so keep visiting.
VMware_Interview_Questions..doc
NOTE : I don't know answers to some of the questions in the doc, so if anyone of you aware of the answer for any
particular question, please send me an email with the question and answer. I will update it in the doc. Email:
charan@isupportyou.net
http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1280576_mem1,00.html
6. Explain the difference between access through Virtual Infrastructure Client (vi client), Web access, Service Console
access(ssh) ?
Using VI Client we can access the ESX server as well as Virtual Center Server also, here we can use unix type of
authentication or windows type authentication. But to access the service console, we should use unix type of
authentication preferably even though we can access the service console through ad authentication using esxcfg-auth, but
it does not support all functions to work on, all the functions are available only with root account which is based on red
hat Linux kernel. Using the web access also we can manage virtual center as well as a single host. But all the enterprise
features are not supported.
Allows access by multiple ESX Servers at the same time by implementing per-file locking. SCSI Reservations are only
implemented when LUN meta data is updated (e.g. file name change, file size change, etc.)
Add or delete an ESX Server from a VMware VMFS volume without disrupting other ESX Server hosts.
LVM allows for adaptive block sizing and addressing for growing files allows you to increase a VMFS volume on the fly
(by spanning multiple VMFS volumes)
With ESX/ESXi4 VMFS volumes also can be expanded using LUN expansion
Optimize your virtual machine I/O with adjustable volume, disk, file and block sizes.
Recover virtual machines faster and more reliably in the event of server failure with Distributed journaling.
Limitations
Can be shared with up to 32 ESX Servers.
Can support LUNs with max size of 2TB and a max VMFS size of 64 TB as of version 4 (vSphere).
"There is a VMFS-3 limitation where each tree of linked clones can only be run on 8 ESX servers. For instance, if there
is a tree of disks off the same base disk with 40 leaf nodes in the tree, all 40 leaf nodes can be simultaneously run but
they can only run on up to 8 ESX hosts."
VMFS-3 limits files to 262,144 (218) blocks, which translates to 256 GB for 1 MB block sizes (the default) up to 2 TB
for 8 MB block sizes.
8. What are the types of data stores supported in ESX3.5 ?
iSCSI datastores, FC SAN datastores, Local VMFS, NAS and NFS
9. How can you configure these different types of datastores on ESX3.5 ?
If we have FC cards installed on the esx servers, by going to the storage option, we can scan for the luns.
10.What is Vmware Consolidate Backup (VCB) ? Explain your work exposure in this area ?
VMware Consolidated Backup is a backup framework, which enables 3rd party tools to take backups. VCB is used to
help you backup your VMware ESX virtual servers. Essentially, VCB is a "backup proxy server". It is not backup
software. If you use VCB, you still need backup software. It is commonly installed on its own dedicated Windows
physical server.
Here are the benefits of VMware's VCB:
1. Centralize backups of VMware ESX Virtual Servers
2. Provide file-level backups of VMware ESX Virtual Servers - both full and incremental (file level
backup available to only Windows guests)
11. How do you configure VMware Virtual Centre Management Server for HA & DRS ? What are the conditions to be
satisfied for this setup?
HA & DRS are the properties of a Cluster. A Cluster can be created only when more than one host added, in that case we
need to configure HA & DRS as well to provide High Availability and Load balancing between hosts and for the virtual
machines.
12.Explain your work related to below terms :
VM Provisioning: Virtual Machine Creation.
Alarms & Event Management: Alarms are used to know the status of the resource usage for a VM. Events are used
monitor the tasks that are taken place on the esx servers or in the virtual center
Task Scheduler: Task scheduler, if you want to schedule a task it will be used, for example if you want move one vm
from one host to another host or if you want shutdown/reboot a vm etc.
Hardware Compatibility List: what are the hardware that compatible with ESX OS.
13.What SAN or NAS boxes have you configured VMware with ? How did you do that ?
Storage team will provide the LUN information, with that we will add those LUNs to ESX hosts from VM storage.
14.What kind of applications or setups you have on you Virtual Machines ?
Exchange server and Share Point, but these are for DEMO purposes, Cirtrix presentation servers etc.
15. Have you ever faced ESX server crashing and Virtual Centre Server crash? How do you know the cause of these
crashes in these cases ?
Please send me the answer if anyone knows about this, I will update the doc. charan@isupportyou.net
16. Will HA work if Virtual Center Server is down ?
A1) HA continues to work if VC is down - the agents are initially configured by virtual center, but HA operations are
controlled by local agents on ESX. VC does NOT monitor the ESX servers for HA. ESX servers monitor each other.
DRS do not work while VC is down.
A2) For DRS, the config and logic is completely in VC.
For HA, only the config is in VC. The logic is in the service consoles, and that's where the reaction is coming from. VC
will notice the HA reaction afterwards when it connects to the service consoles the next time.
No, Why because all these futures are comes with Virtual Center only.
17. What are the situations which triggers vMotion automatically?
Resource Contention between virtual machines (DRS)
Distributed power management
Please send me the answer if anyone knows about this; I will update the doc. charan@isupportyou.net
18. What is DRS/HA/DPM/dvSwitch/FT/vApps/vSafe/vShields ? :-)
DRS : Distributed Resource Scheduling
HA : High Availability
DPM : Distributed Power Management
dvSwitch : Distribute vSwitch Its a new feature introduced in vSphere4.0
FT : Fault Tolerance for Virtual Machines its a new feature introduced in vSphere4.0
vApps : vApp is a container same as resource pool, but it is having some features of virtual machines, a vApp can be
powered on or powered off, and it can be cloned too.
http://communities.vmware.com/message/1308457#1308457
vmSafe : VMsafe's application programming interfaces are designed to help third-party vendors create virtualization
security products that better secure VMware ESX, vShield Zones is a security tool targets the VMware administrator.
vShield : VShield Zones is essentially a virtual firewall designed to protect VMs and analyze virtual network traffic. This
three-part series describes vShield Zones, explains how to install it and provides useful management tips. To begin, let's
get started with the basics: what vShield Zones is and how it works.
http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1363051_mem1,00.html
19. What are the requirement for FT ?
http://communities.vmware.com/thread/209955
7. IPv6 support - Another enhancement in vSphere 4.0 is support for IPv6. Many organizations are planning to move to
IPv6. vSphere's IPv6 support lets customers manage vCenter Server and ESX Server hosts in mixed IPv4/IPv6 network
environments.
8. vAppsvApps essentially lets you manage as a single entity multiple servers that comprise an n-tiered application.
Using vApps, you can combine multiple VMs, their interdependencies, and their resource allocations together as a unit.
You can manage all the components of the vApps as a single unit, letting you power off, clone, and deploy all the vApps
components in the same operations.
9. vSphere Host Update UtilityThe new vSphere Host Update Utility lets you centrally update your ESXi and ESX
Server 3.0 and later hosts to ESX Server 4.0. The UI displays the status of the remote updates in real time.
10. VMware vShield ZonesVMware's new vShield Zones let customers enforce network access protection between
VMs running in the virtual data center. The vShield Zones feature lets you isolate, bridge, and firewall traffic across
vCenter deployments.
26. VM's Task Manager shows performance normal, But vCenter reports high resource utilization, what is the reason ?
Search KEY WORDS : VM's performance normal, vCenter reports high resource utilization
http://communities.vmware.com/message/897975
27. What are the different types of memory management tricks available under ESX ?
http://en.wordpress.com/tag/esx-memory-management/
http://www.cs.northwestern.edu/~fabianb/classes/cs-443-s05/ESX.pps
28. What is vmmemctl ?
http://pubs.vmware.com/vi3/resmgmt/wwhelp/wwhimpl/common/html/wwhelp.htm?
context=resmgmt&file=vc_advanced_mgmt.11.24.html
29. How we can list pNICs & status using command line ?
ifconfig a
47. What is your opinion on the virtualization vendors (MS vs VM vs Citrix vs etc) and why? (Just trying to figure out if
the candidate is keeping up with this ever changing virtualization market)
Please send me the answer if anyone knows about this; I will update the doc. charan@isupportyou.net
48. I beleive another good question would be to ask the candidate to briefly describe VST, VGT & EST mode and
802.1Q trunking. I say this because networking is such an important part of VMware implementations and on going
support.., do you really want a VMware engineer working in your environment if they lack the knowledge of these
concepts (+unless of course they are only delegated with low level permissions for generic VM operations+)
Please send me the answer if anyone knows about this; I will update the doc. charan@isupportyou.net
More information on these mode's can be found here: www.vmware.com/pdf/esx3_vlan_wp.pdf
Also ask the candidate to explain why one mode would be used as opposed to another?, remember that there can be
numerous reasons for the use of different modes depending on your company/client's network, security policies etc..
49. If you are interviewing for a consultant role it would also be a good scenario to provide a brief overview of a fictional
network and ask the candidate to do a whiteboard draft of how the network would be layed out if say the ESX servers
have 6 NIC's or 8 NIC's etc.. etc...
Please send me the answer if anyone knows about this; I will update the doc. charan@isupportyou.net
50. What are notable files that represent a VM?
.vmx configuration settings for VM
.vmxf configuration settings used to support an XML-based VM configuration API
.vmtx configuration settings for a Template VM (replaces the .vmx file)
.vmdk virtual disk file. (Note: if a thick disk is used, a flat.vmdk file that represents the actual monolithic disk file
will exist but will be hidden from the vSphere Client.)
.nvram non-volatile memory (BIOS)
.vswp swap file used by ESX/ESXi per VM to overcommit memory, i.e. use more memory than physically available.
This is created by the host automatically when powering on a VM and deleted (default behavior) when powering off a
VM. Swap files can remain and take up space if a host failed prior to shutting down a VM properly. Normally the swap
file is stored in the location where the VM configuration files are kept; however the location can be optionally located
elsewherefor example, locally for performance reasons and if using NAS/NFS, local swap should be used.
.vmss suspend file (if placed into suspend power mode)
.vmsd for snapshot management
.vmsn snapshot file
53 Can Host Profiles be used with a cluster running both ESX and ESXi hosts?
1. Yes, but remember to use an ESX host and not an ESXi host to create a profile for use.
2. In theory, Host Profiles should work with mixed host clusters, as it translates ESX to ESXi, but be
careful as there are enough differences between ESX and ESXi that can lead you to make selfinflicted errors when applying Host Profiles. The easiest method is to create clusters that are
homogeneous and maintain two different profiles for these two types of clusters.
54 Can Host Profiles work when using the Cisco Nexus 1000v?
1. No, because Host Profiles was designed with the generic vNetwork Distributed Switch. The Cisco
Nexus 1000v switch gives administrators finer-grained control of the networking beyond what Host
Profiles can apply.
57. What are the available Storage options for virtual machines ? Raw
device mappings, VMFS
http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1318776_mem1,00.html
58 .What are the differences between Virtual and Physical compatibility modes when mapping the Raw Devices to
virtual machines?
You can configure RDM in two ways:
Virtual compatibility modethis mode fully virtualizes the mapped device, which appears to the guest operating system
as a virtual disk file on a VMFS volume. Virtual mode provides such benefits of VMFS as advanced file locking for data
protection and use of snapshots.
Physical compatibility modethis mode provides access to most hardware characteristics of the mapped device.
VMkernel passes all SCSI commands to the device, with one exception, thereby exposing all the physical characteristics
of the underlying hardware. In this mode, the mapping is done as follows, when we create a mapping, the configuration
stored in a file and that file is stored with the vm files in datastore. This file points to the raw device and makes it
accessible to the vm.
59 .What are RDM Limitations?
RDM limitations
There are two types of RDMs: virtual compatibility mode RDMs and physical compatibility mode RDMs. Physical
mode RDMs, in particular, have some fairly significant limitations:
1. No VMware snapshots
2. No VCB support, because VCB requires VMware snapshots
3. No cloning VMs that use physical mode RDMs
4. No converting VMs that use physical mode RDMs into templates
5. No migrating VMs with physical mode RDMs if the migration involves copying the disk
6. No VMotion with physical mode RDMs
Virtual mode RDMs address some of these issues, allowing raw LUNs to be treated very much like virtual disks and
enabling functionality like VMotion, snapshotting, and cloning. Virtual mode RDMs are acceptable in most cases where
RDMs are required. For example, virtual mode RDMs can be used in virtual-to-virtual cluster across physical hosts. Note
that physical-to-virtual clusters across boxes, though, require physical mode RDMs.
While virtual disks will work for the large majority of applications and workloads in a VI environment, the use of
RDMs--either virtual mode RDMs or physical mode RDMs--can help eliminate potential compatibility issues or allow
applications to run virtualized without any loss of functionality.
I previously posted some questions related to VMware already. And the post has very good response. You can read it here
- http://www2.isupportyou.net/2010/06/vmware-interview-questions-tips.html
Other links on my blog.
1. How to access ESX Server in Different ways? What are the major differences in these?
2. Virtual Center : Centralized Administration of Virtual Infrastructure
3. VMWare Interview Questions & Tips Part -I
4. How to fix HA errors in VMware ESX Server?